diff options
author | Jens Axboe <axboe@suse.de> | 2005-09-26 14:26:24 +0200 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2005-09-26 14:26:24 +0200 |
commit | bf0720afa8e5f5e2a2bb87abc0b015f35beadef3 (patch) | |
tree | e7fb0e719707339024d6655512efabe7f3861fae /blktrace.h | |
parent | 0583b6a25eaa259bf9ade5746452473464814f6e (diff) | |
download | blktrace-bf0720afa8e5f5e2a2bb87abc0b015f35beadef3.tar.gz blktrace-bf0720afa8e5f5e2a2bb87abc0b015f35beadef3.tar.bz2 |
[PATCH] blkparse: Add option to hash process by name
For some traces, you really don't want to see thousands of cc1
processes in the stats, you want to collect the stats by name
instead. This adds the -n option to blkparse, enabling that.
Switched to Jenkins hash at the same time, as it allows for
easy hash-by-u32 or hash-by-name as we see fit.
Diffstat (limited to 'blktrace.h')
-rw-r--r-- | blktrace.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -17,6 +17,9 @@ #define min(a, b) ((a) < (b) ? (a) : (b)) +typedef __u32 u32; +typedef __u8 u8; + struct io_stats { unsigned long qreads, qwrites, creads, cwrites, mreads, mwrites; unsigned long ireads, iwrites; |