[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0907231741060.2498@gandalf.stny.rr.com>
Date: Thu, 23 Jul 2009 17:41:39 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
cc: linux-kernel@...r.kernel.org, mingo@...e.hu,
Frederic Weisbecker <fweisbec@...il.com>,
Jason Baron <jbaron@...hat.com>,
Paul Mackerras <paulus@...ba.org>
Subject: Re: [PATCH 04/13] ftrace: perf_counter intergration
On Thu, 23 Jul 2009, Peter Zijlstra wrote:
> Adds possible second part to the assign argument of TP_EVENT().
>
> TP_perf_assign(
> __perf_count(foo);
> __perf_addr(bar);
> )
>
> Which, when specified make the swcounter increment with @foo instead
> of the usual 1, and report @bar for PERF_SAMPLE_ADDR (data address
> associated with the event) when this triggers a counter overflow.
Looks good,
Acked-by: Steven Rostedt <rostedt@...dmis.org>
-- 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