From: Peter Zijlstra Date: Tue, 21 Jul 2009 15:34:57 +0000 (+0200) Subject: perf_counter, ftrace: Fix perf_counter integration X-Git-Tag: v2.6.31-rc6~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6593050fbd8bbcaed3a44d01c31d907315c86c;p=pandora-kernel.git perf_counter, ftrace: Fix perf_counter integration 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. Signed-off-by: Peter Zijlstra Acked-by: Steven Rostedt Cc: Frederic Weisbecker Cc: Jason Baron Cc: Paul Mackerras Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed