summaryrefslogtreecommitdiff
path: root/blkrawverify.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-02-09 13:58:34 +0100
committerJens Axboe <axboe@suse.de>2006-02-09 13:58:34 +0100
commitbfc70ad577ae97011eed84b86b3c6ba01e23e80a (patch)
tree280f82f98be69ba559ef6743bbcc4fec729ad5f6 /blkrawverify.c
parent5975d309ac40b9724f70b46bbfa3747e8dc24ea5 (diff)
downloadblktrace-bfc70ad577ae97011eed84b86b3c6ba01e23e80a.tar.gz
blktrace-bfc70ad577ae97011eed84b86b3c6ba01e23e80a.tar.bz2
[PATCH] Shrink the trace by 1/3 by removing ->comm[16]
We now send notify messages out when we see a new process, so we don't need to repeatedly send the same 16 bytes of name info everytime.
Diffstat (limited to 'blkrawverify.c')
-rw-r--r--blkrawverify.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/blkrawverify.c b/blkrawverify.c
index 7c64aa8..dbcdecf 100644
--- a/blkrawverify.c
+++ b/blkrawverify.c
@@ -181,6 +181,12 @@ static int process(FILE *ofp, char *file, unsigned int cpu)
continue;
}
+ /*
+ * skip notify traces, they don't have valid sequences
+ */
+ if (bit->action & BLK_TC_ACT(BLK_TC_NOTIFY))
+ continue;
+
if (ngood) {
if (bit->sequence <= save_sequence) {
INC_BAD("bad seq");