[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904081008230.2183@gandalf.stny.rr.com>
Date: Wed, 8 Apr 2009 10:13:44 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Ingo Molnar <mingo@...e.hu>
cc: Steven Whitehouse <swhiteho@...hat.com>,
linux-kernel@...r.kernel.org, mingo@...hat.com, axboe@...nel.dk
Subject: Re: Multiple Tracers
On Wed, 8 Apr 2009, Ingo Molnar wrote:
>
> * Steven Whitehouse <swhiteho@...hat.com> wrote:
>
> > Hi,
> >
> > A little while back I posted a RFC patch which added gfs2 glock
> > tracing to blktrace. There was a suggestion that I should look
> > instead at the generic tracing code and add a new tracer, but I've
> > come up with a couple of issues along the way.
> >
> > I think from what I can see that its only possible to run a single
> > tracer at once, so running blktrace (for example) would preclude
> > me from also tracing gfs2's glocks at the same time. Also, I can
> > see no mechanism by which I could ensure the sequencing between
> > the blktrace and glock traces other than exporting the blktrace
> > sequence number, even if running multiple tracers at the same time
> > was possible.
>
> There's a recent addition: the EVENT_TRACE() facility. Would that
> suit your purposes?
>
A while ago I've been playing with the idea of alloing multple tracers.
I've even kept the plugins to keep track of their own buffers, even though
the real design only used one buffer.
After the creation of the EVENT_TRACE facility, I no longer see a true
need for that feature. Note, anything event enabled will be recorded by
all tracers.
-- Steve
P.S. I'm currently traveling, and my Hotel has horrible internet service.
The kind you have to wait 5 seconds to see what you typed :-(
So do not expect quick responses from me.
--
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