summaryrefslogtreecommitdiff
path: root/btt/devs.c
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 10:53:07 -0400
committerAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 10:56:12 -0400
commit4ae2c3c6215de3f9016b5211ac83893cb061b1e1 (patch)
tree885595ee9490c469bd299b9e8a700924aafb004f /btt/devs.c
parentc54b9dd9a993fc76f3649279e6a4295f6aba2054 (diff)
downloadblktrace-4ae2c3c6215de3f9016b5211ac83893cb061b1e1.tar.gz
blktrace-4ae2c3c6215de3f9016b5211ac83893cb061b1e1.tar.bz2
Added in -Q / --active-queue-depth option
This will output a data file containing the time stamp and number of I/Os issued to underlying drivers per device. It will give you an idea as to how many I/Os are being actively worked per device at any time during the run.
Diffstat (limited to 'btt/devs.c')
-rw-r--r--btt/devs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btt/devs.c b/btt/devs.c
index 3cf7a6c..2127cde 100644
--- a/btt/devs.c
+++ b/btt/devs.c
@@ -120,6 +120,7 @@ struct d_info *dip_add(__u32 device, struct io *iop)
dip->unplug_hist_handle = unplug_hist_init(device);
dip->seek_handle = seeki_init(mkhandle(str, device, "_d2d"));
dip->q2q_handle = seeki_init(mkhandle(str, device, "_q2q"));
+ dip->aqd_handle = aqd_init(mkhandle(str, device, "_aqd"));
latency_init(dip);
list_add_tail(&dip->hash_head, &dev_heads[DEV_HASH(device)]);
list_add_tail(&dip->all_head, &all_devs);