summaryrefslogtreecommitdiff
path: root/blktrace.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@wiggum>2005-09-05 13:09:45 +0200
committerJens Axboe <axboe@wiggum>2005-09-05 13:09:45 +0200
commitd5396421d8e54ccdd14f9e35c4bfd50864c61397 (patch)
treec85974b6956050e9901960e3af25efca18f26ea3 /blktrace.h
parent5c86134eb191e261cc01a4dfdfb06290b6c50488 (diff)
downloadblktrace-d5396421d8e54ccdd14f9e35c4bfd50864c61397.tar.gz
blktrace-d5396421d8e54ccdd14f9e35c4bfd50864c61397.tar.bz2
[PATCH] Support for live tracing
This patch adds support for doing live traces again, by allowing pipe of data from blktrace to blkparse. A structural change was needed in blk_io_trace to pass the CPU number info directly instead of inferring it from the filename. To parse realtime: $ blktrace -d /dev/xxx -o - | blkparse -i -
Diffstat (limited to 'blktrace.h')
-rw-r--r--blktrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/blktrace.h b/blktrace.h
index 388f219..521015e 100644
--- a/blktrace.h
+++ b/blktrace.h
@@ -7,7 +7,7 @@
#include "blktrace_api.h"
#define CHECK_MAGIC(t) (((t)->magic & 0xffffff00) == BLK_IO_TRACE_MAGIC)
-#define SUPPORTED_VERSION (0x02)
+#define SUPPORTED_VERSION (0x03)
#if defined(__LITTLE_ENDIAN_BITFIELD)
#define be16_to_cpu(x) __bswap_16(x)