diff options
| author | Peter Zijlstra <[email protected]> | 2009-06-23 18:13:11 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-06-25 19:39:07 +0000 |
| commit | 38b200d67636a30cb8dc1508137908e7a649b5c9 (patch) | |
| tree | 74f88d57a7f55075d4cd0b46690ff4b319dca642 /tools/perf/builtin-annotate.c | |
| parent | perf_counter, x86: Add mmap counter read support (diff) | |
| download | kernel-38b200d67636a30cb8dc1508137908e7a649b5c9.tar.gz kernel-38b200d67636a30cb8dc1508137908e7a649b5c9.zip | |
perf_counter: Add PERF_EVENT_READ
Provide a read() like event which can be used to log the
counter value at specific sites such as child->parent
folding on exit.
In order to be useful, we log the counter parent ID, not the
actual counter ID, since userspace can only relate parent
IDs to perf_counter_attr constructs.
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
