summaryrefslogtreecommitdiff
path: root/blktrace_api.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-10-31 11:11:31 +0100
committerJens Axboe <axboe@suse.de>2005-10-31 11:11:31 +0100
commit6c8d81e4b5692821708c8205b11a678bfbfb1801 (patch)
tree9bcd80798dc6e05c27e15cfbed541b4842c366aa /blktrace_api.h
parent31382e5dcd8ae57a3ba852065c2f7d4ec4a3e2c1 (diff)
downloadblktrace-6c8d81e4b5692821708c8205b11a678bfbfb1801.tar.gz
blktrace-6c8d81e4b5692821708c8205b11a678bfbfb1801.tar.bz2
[PATCH] update kernel support for recent kernel
Also add ->start_lba ->end_lba support for tracing a range, and ->pid for only following a specific app.
Diffstat (limited to 'blktrace_api.h')
-rw-r--r--blktrace_api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/blktrace_api.h b/blktrace_api.h
index bc7d1ac..66cf35d 100644
--- a/blktrace_api.h
+++ b/blktrace_api.h
@@ -101,6 +101,9 @@ struct blk_user_trace_setup {
__u16 act_mask; /* input */
__u32 buf_size; /* input */
__u32 buf_nr; /* input */
+ __u64 start_lba;
+ __u64 end_lba;
+ __u32 pid;
};
#define BLKSTARTTRACE _IOWR(0x12,115,struct blk_user_trace_setup)