summaryrefslogtreecommitdiff
path: root/btt/trace_complete.c
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2008-11-11 13:42:55 -0500
committerAlan D. Brunelle <alan.brunelle@hp.com>2008-11-11 13:42:55 -0500
commit9638f3909854d936f4a55a48f787364abdbda71f (patch)
tree84f8b7e7aea7fc71027d429b817cc84c419f1c78 /btt/trace_complete.c
parentf3db34733e7c8a46e9e26305e424a3ecd49ac06d (diff)
parentd00dcee7f0d77f64c59ee47bfcf09809dad366ff (diff)
downloadblktrace-9638f3909854d936f4a55a48f787364abdbda71f.tar.gz
blktrace-9638f3909854d936f4a55a48f787364abdbda71f.tar.bz2
Merge branch 'fix-m' into add-P
Diffstat (limited to 'btt/trace_complete.c')
-rw-r--r--btt/trace_complete.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/btt/trace_complete.c b/btt/trace_complete.c
index e8773e3..35a6b17 100644
--- a/btt/trace_complete.c
+++ b/btt/trace_complete.c
@@ -42,7 +42,7 @@ static void display_io_track(FILE *ofp, struct io *iop)
if (iop->i_time != (__u64)-1)
__out(ofp, iop->i_time, IOP_I, iop->t.sector, t_sec(&iop->t),1);
if (iop->m_time != (__u64)-1)
- __out(ofp, iop->i_time, IOP_M, iop->t.sector, t_sec(&iop->t),1);
+ __out(ofp, iop->m_time, IOP_M, iop->t.sector, t_sec(&iop->t),1);
__out(ofp, iop->d_time, IOP_D, iop->d_sec, iop->d_nsec, 1);
__out(ofp, iop->c_time, IOP_C, iop->c_sec, iop->c_nsec, 1);
@@ -89,6 +89,10 @@ static void handle_complete(struct io *c_iop)
list_del(&q_iop->f_head);
io_release(q_iop);
}
+
+ if (per_io_ofp)
+ fprintf(per_io_ofp,
+ "-----------------------------------------\n");
}
void trace_complete(struct io *c_iop)