summaryrefslogtreecommitdiff
path: root/blkrawverify.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-07-06 10:04:23 +0200
committerJens Axboe <axboe@suse.de>2006-07-06 10:04:23 +0200
commitf86990edd23e465f8a865c34d308f888b8e6ee2d (patch)
tree416b22faad843a1d9aab2fdfa483a9f8fd51c099 /blkrawverify.c
parent871ef6d09b45f1e60d52abc2c0ede07ae47796a1 (diff)
downloadblktrace-f86990edd23e465f8a865c34d308f888b8e6ee2d.tar.gz
blktrace-f86990edd23e465f8a865c34d308f888b8e6ee2d.tar.bz2
[PATCH] Support for readahead tracing
These are the userspace changes to allow blktrace to distinguish readahead from non-readahead reads.
Diffstat (limited to 'blkrawverify.c')
-rw-r--r--blkrawverify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/blkrawverify.c b/blkrawverify.c
index 93e8efa..09100c7 100644
--- a/blkrawverify.c
+++ b/blkrawverify.c
@@ -46,7 +46,8 @@ static struct trace_info traces[] = {
TRACE_TO_STRING( BLK_TC_ISSUE ),
TRACE_TO_STRING( BLK_TC_COMPLETE ),
TRACE_TO_STRING( BLK_TC_FS ),
- TRACE_TO_STRING( BLK_TC_PC )
+ TRACE_TO_STRING( BLK_TC_PC ),
+ TRACE_TO_STRING( BLK_TC_AHEAD ),
};
#define N_TRACES (sizeof(traces) / sizeof(struct trace_info))