[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090116194151.GG6562@ghostprotocols.net>
Date: Fri, 16 Jan 2009 17:41:51 -0200
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Jens Axboe <jens.axboe@...cle.com>, Ingo Molnar <mingo@...e.hu>,
Frederic Weisbecker <fweisbec@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC][PATCH] ftrace interface for blktrace
Em Fri, Jan 16, 2009 at 02:15:55PM -0500, Steven Rostedt escreveu:
>
> Arnaldo,
>
> Cool stuff!
>
> On Fri, 16 Jan 2009, Arnaldo Carvalho de Melo wrote:
>
> > Hi Jens,
> >
> > The patch below adds a ftrace interface for blktrace, allowing
> > people to use it without any required userspace tools, using sysfs to setup the
> > act_mask, pid, start_lba, end_lba.
> >
> > Example usage:
> >
> > [root@...-1 ~]# mount -t debugfs none /sys/kernel/debug/
>
> I think you are the only person that mounts debugfs on the "official"
> location ;-)
>
> > [root@...-1 ~]# ls /sys/block/sda/sda1/trace/
> > act_mask enable end_lba pid start_lba
> > [root@...-1 ~]# cat /sys/kernel/debug/tracing/available_tracers
> > blk function_graph wakeup function sched_switch nop
> > [root@...-1 ~]# echo blk > /sys/kernel/debug/tracing/current_tracer
>
> You must like to type.
Nah, autocompletion and 'set -o vi' command line editing makes it easy,
but yes, one could mount it as:
# mkdir /d
# mount -t debugfs none /d
:-)
Other than that, I guess the implementation must be OK, huh? :-)
Well, off to play fat boys soccer.
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists