aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2011-04-27 03:55:40 +0200
committerIngo Molnar <[email protected]>2011-04-26 20:04:55 +0200
commitb908debd4eef91471016138569f7a9e292be682e (patch)
treedad9b16b552416cfaf12a2654a35a6639ae82e46 /tools/perf/scripts/python/sctop.py
parentd58f4c82fed69fdd4a79fa54fe17fd14d98c27aa (diff)
perf tools: Accept case-insensitive symbolic event variants
We currently fail on something like '-e CPU-migrations', with: invalid or unsupported event: 'CPU-migrations' While 'CPU-migrations' is how we actually print out the event in the default perf stat output: Performance counter stats for 'true': 0.202204 task-clock-msecs # 0.282 CPUs 0 context-switches # 0.000 M/sec 0 CPU-migrations # 0.000 M/sec So change the matching to be case-insensitive. Acked-by: Peter Zijlstra <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions