diff options
| author | Peter Zijlstra <[email protected]> | 2009-07-21 15:34:57 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-09 10:47:25 +0000 |
| commit | 3a6593050fbd8bbcaed3a44d01c31d907315c86c (patch) | |
| tree | 5bbaa0015ed0b0986146cc6fa9390f559bcb66b1 /lib/flex_array.c | |
| parent | Merge branch 'linus' into tracing/urgent (diff) | |
| download | kernel-3a6593050fbd8bbcaed3a44d01c31d907315c86c.tar.gz kernel-3a6593050fbd8bbcaed3a44d01c31d907315c86c.zip | |
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 <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
