diff options
| author | Zheng Yan <[email protected]> | 2012-06-15 06:31:41 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2012-06-18 10:13:26 +0000 |
| commit | a6146d5040cce560f700221158d77dd335eed332 (patch) | |
| tree | a5361219b1f8ae962ea54b997f4a83eb9cf15e7a /tools/perf/util/trace-event-scripting.c | |
| parent | perf/tool: Add support to reuse event grammar to parse out terms (diff) | |
| download | kernel-a6146d5040cce560f700221158d77dd335eed332.tar.gz kernel-a6146d5040cce560f700221158d77dd335eed332.zip | |
perf/tool: Add PMU event alias support
Add support to specify alias term within the event description.
The definition of pmu event alias is located at:
${sysfs_mount}/bus/event_source/devices/${pmu}/events/
Each file in the 'events' directory defines a event alias. Its contents
are like:
config=1,config1=2
Using pmu event alias, an event can be now specified like:
uncore/CLOCKTICKS/ or uncore/event=CLOCKTICKS/
Signed-off-by: Zheng Yan <[email protected]>
[ Cleaned it up. ]
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
