[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1266888185.24271.5055.camel@gandalf.stny.rr.com>
Date: Mon, 22 Feb 2010 20:23:05 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Tim Bird <tim.bird@...sony.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>,
linux kernel <linux-kernel@...r.kernel.org>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 1/1] ftrace - add support for tracing_thresh to
function_graph tracer
On Mon, 2010-02-22 at 17:18 -0800, Tim Bird wrote:
> > Yeah, this is going to optimize both types of tracing. And I would
> > also like to prevent from adding new checks in the common graph
> > tracing if possible. User's cpus and cachelines deserve better :)
>
> I'll take a look at doing it this way, and see what I come
> up with. If I can re-use most of trace_graph_entry and
> trace_graph_return (and I don't see why not), it should be
> a pretty small patch.
Yeah, I did something similar with the function pid tracing. When you
select that the function tracer should test pids, it registers the
function that does the pid test, and then if the pid matches, it calls
the original function tracer callback.
-- Steve
--
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