LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* blktrace debugging:   how to use it
@ 2008-03-31  1:42 Peter Teoh
  2008-03-31  4:41 ` Mulyadi Santosa
  2008-04-06 15:37 ` Jens Axboe
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Teoh @ 2008-03-31  1:42 UTC (permalink / raw)
  To: linux-kernel, kernelnewbies

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: blktrace debugging: how to use it
  2008-03-31  1:42 blktrace debugging: how to use it Peter Teoh
@ 2008-03-31  4:41 ` Mulyadi Santosa
  2008-03-31 15:30   ` Peter Teoh
  2008-04-06 15:37 ` Jens Axboe
  1 sibling, 1 reply; 5+ messages in thread
From: Mulyadi Santosa @ 2008-03-31  4:41 UTC (permalink / raw)
  To: Peter Teoh; +Cc: linux-kernel, kernelnewbies

Hi..

On Mon, Mar 31, 2008 at 8:42 AM, Peter Teoh <htmldeveloper@gmail.com> wrote:
> 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?

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

regards,

Mulyadi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: blktrace debugging: how to use it
  2008-03-31  4:41 ` Mulyadi Santosa
@ 2008-03-31 15:30   ` Peter Teoh
  2008-04-01  1:33     ` Mulyadi Santosa
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Teoh @ 2008-03-31 15:30 UTC (permalink / raw)
  To: Mulyadi Santosa; +Cc: linux-kernel, kernelnewbies

On Mon, Mar 31, 2008 at 12:41 PM, Mulyadi Santosa
<mulyadi.santosa@gmail.com> wrote:
> Hi..
>  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 :-)).

-- 
Regards,
Peter Teoh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: blktrace debugging: how to use it
  2008-03-31 15:30   ` Peter Teoh
@ 2008-04-01  1:33     ` Mulyadi Santosa
  0 siblings, 0 replies; 5+ messages in thread
From: Mulyadi Santosa @ 2008-04-01  1:33 UTC (permalink / raw)
  To: Peter Teoh; +Cc: linux-kernel, kernelnewbies

Hi :)

On Mon, Mar 31, 2008 at 10:30 PM, Peter Teoh <htmldeveloper@gmail.com> wrote:
> On Mon, Mar 31, 2008 at 12:41 PM, Mulyadi Santosa
>  <mulyadi.santosa@gmail.com> wrote:
>  > Hi..
>
> >  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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: blktrace debugging:   how to use it
  2008-03-31  1:42 blktrace debugging: how to use it Peter Teoh
  2008-03-31  4:41 ` Mulyadi Santosa
@ 2008-04-06 15:37 ` Jens Axboe
  1 sibling, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2008-04-06 15:37 UTC (permalink / raw)
  To: Peter Teoh; +Cc: linux-kernel, kernelnewbies

On Mon, Mar 31 2008, Peter Teoh wrote:
> 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.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-06 15:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-31  1:42 blktrace debugging: how to use it Peter Teoh
2008-03-31  4:41 ` Mulyadi Santosa
2008-03-31 15:30   ` Peter Teoh
2008-04-01  1:33     ` Mulyadi Santosa
2008-04-06 15:37 ` Jens Axboe

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).