[PATCH] Support for live tracing
authorJens Axboe <axboe@wiggum>
Mon, 5 Sep 2005 11:09:45 +0000 (13:09 +0200)
committerJens Axboe <axboe@wiggum>
Mon, 5 Sep 2005 11:09:45 +0000 (13:09 +0200)
commitd5396421d8e54ccdd14f9e35c4bfd50864c61397
treec85974b6956050e9901960e3af25efca18f26ea3
parent5c86134eb191e261cc01a4dfdfb06290b6c50488
[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 -
Makefile
blkparse.c
blktrace.c
blktrace.h
blktrace_api.h
kernel/blk-trace-2.6.13-mm1-C0 [deleted file]
kernel/blk-trace-2.6.13-mm1-D0 [new file with mode: 0644]