* Re: question about btt and blkparse
@ 2009-04-21 10:44 Alan D. Brunelle
0 siblings, 0 replies; only message in thread
From: Alan D. Brunelle @ 2009-04-21 10:44 UTC (permalink / raw)
To: linux-btrace
Hello Kejian -
The proper work-flow is as follows:
(1) blktrace -d /dev/sda
(2) blkparse -i sda.blktrace.0 -o o.parse -d bp.bin
(3) btt -i bp.bin -p o.btt
'btt' runs on the binary output from blkparse (the '-d bp.bin' in step
2) - not directly from the x.blktrace.y files generated by blktrace.
When you do it in this order, you get the correct stamps from btt:
8,0 : 0.000281229 Q 3368431+8
0.000282543 M 3368431+8
0.000387733 D 3368407+112
0.011695204 C 3368407+112
which can be found in o.parse:
8,0 0 13 0.000281229 461 Q W 3368431 + 8 [kjournald]
8,0 0 14 0.000282543 461 M W 3368431 + 8 [kjournald]
...
8,0 0 46 0.000387733 461 D W 3368407 + 112 [kjournald]
8,0 0 47 0.011695204 0 C W 3368407 + 112 [0]
Regards,
Alan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-21 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 10:44 question about btt and blkparse Alan D. Brunelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).