Re: [PATCH 04/13] ftrace: perf_counter intergration

From: Steven Rostedt
Date: Thu Jul 23 2009 - 17:41:57 EST



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@xxxxxxxxxxx>

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/