diff options
author | Sukadev Bhattiprolu <[email protected]> | 2016-09-15 15:24:40 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-10-03 19:58:00 -0300 |
commit | 933f82ff72d7d1641663462f61f3056ee1fe3f8b (patch) | |
tree | 73643abccf0465e85bae985e7b2bcdb63b8454aa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 80eeb67fe577aa76b2d1bb5b029bca097f0f25bc (diff) |
perf pmu: Use pmu_events table to create aliases
At run time (when 'perf' is starting up), locate the specific table of
PMU events that corresponds to the current CPU. Using that table, create
aliases for the each of the PMU events in the CPU. The use these aliases
to parse the user specified perf event.
In short this would allow the user to specify events using their aliases
rather than raw event codes.
Based on input and some earlier patches from Andi Kleen, Jiri Olsa.
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Madhavan Srinivasan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Make pmu_add_cpu_aliases() return void, since it was returning just '0' and
furthermore, even that was being discarded via an explicit (void) cast ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions