summaryrefslogtreecommitdiff
path: root/btt/devs.c
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 12:03:45 -0400
committerAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 12:05:46 -0400
commit2baef5087c57d39ee2fc488cd52348f61f32b1fc (patch)
treed68dbf29fbf2ba895dd7cde1033c2f244e1198be /btt/devs.c
parent4ae2c3c6215de3f9016b5211ac83893cb061b1e1 (diff)
downloadblktrace-2baef5087c57d39ee2fc488cd52348f61f32b1fc.tar.gz
blktrace-2baef5087c57d39ee2fc488cd52348f61f32b1fc.tar.bz2
Added in -L option - output periodic latency information
Diffstat (limited to 'btt/devs.c')
-rw-r--r--btt/devs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/btt/devs.c b/btt/devs.c
index 2127cde..b7943d3 100644
--- a/btt/devs.c
+++ b/btt/devs.c
@@ -85,6 +85,9 @@ void dip_exit(void)
region_exit(&dip->regions);
seeki_exit(dip->seek_handle);
seeki_exit(dip->q2q_handle);
+ aqd_exit(dip->aqd_handle);
+ plat_exit(dip->q2c_plat_handle);
+ plat_exit(dip->d2c_plat_handle);
bno_dump_exit(dip->bno_dump_handle);
unplug_hist_exit(dip->unplug_hist_handle);
if (output_all_data)
@@ -121,6 +124,10 @@ struct d_info *dip_add(__u32 device, struct io *iop)
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"));
+ dip->q2c_plat_handle =
+ plat_init(mkhandle(str, device, "_q2c_plat"));
+ dip->d2c_plat_handle =
+ plat_init(mkhandle(str, device, "_d2c_plat"));
latency_init(dip);
list_add_tail(&dip->hash_head, &dev_heads[DEV_HASH(device)]);
list_add_tail(&dip->all_head, &all_devs);