diff options
author | Robert Richter <[email protected]> | 2012-08-16 21:10:21 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-08-22 13:40:49 -0300 |
commit | ac2ba9f36bb400755e411309f3e76dbf308a10e7 (patch) | |
tree | 126e4ce25d51de626056c2d6bc1b2afd7098558f /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 9bfbbc6d1e6b4d055860231e232b807911bf8325 (diff) |
perf tools: Catch event names from command line
Use command line string provided by the -e option to name events. This
way we get unique events names that also support pmu event syntax
(<pmu_name>/<config>/<modifier>). No need to reconstruct the name
anymore from its attributes. We use the event_desc of the header to
store the name in the perf.data header. Thus it is also available for
perf report.
Implemented by putting the parser in different states to parse events or
configs.
And since event names are now generated from the command line
specification. Update event names in test cases accordingly.
Signed-off-by: Robert Richter <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ committer note: Folded patch fixing 'perf test' failure reported by Jiri Olsa ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions