On Tue, 2007-04-10 at 13:04 -0400, Alan D. Brunelle wrote: > @@ -149,9 +150,12 @@ void seeki_add(void *handle, struct io *iop) > struct seeki *sip = handle; > long long dist = seek_dist(sip, iop); > FILE *fp = IOP_READ(iop) ? sip->rfp : sip->wfp; > + double tstamp = BIT_TIME(iop->t.time); > > if (fp) > - fprintf(fp, "%15.9lf %13lld\n", BIT_TIME(iop->t.time), > dist); > + fprintf(fp, "%15.9lf %13lld\n", tstamp, dist); > + if (sip->cfp) > + fprintf(sip->cfp, "%15.9lf %13lld\n", tstamp, dist); >
thx for adding this. it might be better if in combined file, print out current io is read or write. Ming - To unsubscribe from this list: send the line "unsubscribe linux-btrace" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
