Skip to contentSkip to conversation

blktrace debugging: how to use it

DISCUSSION Peter Teoh 3 participants 5 messages Mar 31, 2008 – Apr 6, 2008

lore
Share & tools
lore

Peter Teoh

author
#0 lore raw

The is patch is to enable blktrace debugging in the kernel:

http://lkml.org/lkml/2006/8/1/405

Can anyone provide any guidelines or references on how to use this feature from userspace? Any tools written to TEST and use this feature?

Thanks.

#3 lore raw

Hi :)

Quoted 4 lines · Peter Teoh
Quoted 1 line · Mulyadi Santosa

Hi..

Quoted 8 lines
Quoted 3 lines

All I remember, the user space code is available from Jens Axboe's CVS or http://www.kernel.org/pub/linux/kernel/people/axboe/tools/blktrace.c

Thanks Mulyadi Santosa, the link I found was:

http://www.kernel.org/pub/linux/kernel/people/axboe/tools/old/blktrace.c

(Jens may have change it immediately u sent out the email :-)).

Somehow in the universe, we are linked to each other :D

regards,

Mulyadi.

#4 lore raw
In reply to Peter Teoh
Quoted 6 lines · Peter Teoh

The is patch is to enable blktrace debugging in the kernel:

http://lkml.org/lkml/2006/8/1/405

Can anyone provide any guidelines or references on how to use this
feature from userspace? Any tools written to TEST and use this feature?

Just git clone the repo:

git://git.kernel.dk/blktrace.git

(which is mentioned in the Kconfig help entry for that kernel config option)

or grab the latest snapshot here:

http://brick.kernel.dk/snaps/blktrace-git-latest.tar.gz

it comes with documentation and man pages (mostly thanks to others than myself :-) and also a nifty btt tool that can do lots of things that blkparse cannot.

Signature · 1 line
Jens Axboe