summaryrefslogtreecommitdiff
path: root/blkparse.c
diff options
context:
space:
mode:
authorStefan Raspl <raspl@linux.vnet.ibm.com>2008-10-16 08:14:17 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-10-16 08:14:17 +0200
commitc54b9dd9a993fc76f3649279e6a4295f6aba2054 (patch)
tree947b48afe26a051130c1f863ff8ee973a170b740 /blkparse.c
parent5d4f19d9812264bfb45427716330d0bd2529dfd9 (diff)
downloadblktrace-c54b9dd9a993fc76f3649279e6a4295f6aba2054.tar.gz
blktrace-c54b9dd9a993fc76f3649279e6a4295f6aba2054.tar.bz2
Add driver data support
Adds a new type of action 'drv_data' for blktrace to handle binary driver-specific data. Since the data is binary, blkparse will only put it in a binary file, not in the regular human-readable output. Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'blkparse.c')
-rw-r--r--blkparse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/blkparse.c b/blkparse.c
index 3c31db6..24e2d92 100644
--- a/blkparse.c
+++ b/blkparse.c
@@ -1583,6 +1583,9 @@ static void dump_trace_fs(struct blk_io_trace *t, struct per_dev_info *pdi,
case __BLK_TA_REMAP:
log_generic(pci, t, "A");
break;
+ case __BLK_TA_DRV_DATA:
+ /* dump to binary file only */
+ break;
default:
fprintf(stderr, "Bad fs action %x\n", t->action);
break;