diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2007-12-10 13:41:37 -0500 |
---|---|---|
committer | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2007-12-10 13:41:37 -0500 |
commit | ae6d30f4475181d685d1f33faf056755803f189b (patch) | |
tree | 461cfc69aacbe6536798af8291f55c3872442b1c /btt/proc.c | |
parent | a84a97fdf8ce07ccda8dcc4f32f0df2291f2f54f (diff) | |
download | blktrace-ae6d30f4475181d685d1f33faf056755803f189b.tar.gz blktrace-ae6d30f4475181d685d1f33faf056755803f189b.tar.bz2 |
Separated out g/i/m trace handling.
Also separated out DM-device calculations.
Diffstat (limited to 'btt/proc.c')
-rw-r--r-- | btt/proc.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -214,7 +214,12 @@ void add_process(__u32 pid, char *name) void pip_update_q(struct io *iop) { if (iop->pip) { - update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q, iop->t.time); + if (remapper_dev(iop->dip->device)) + update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q_dm, + iop->t.time); + else + update_lq(&iop->pip->last_q, &iop->pip->avgs.q2q, + iop->t.time); update_qregion(&iop->pip->regions, iop->t.time); } } |