aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHe Kuang <[email protected]>2015-09-28 03:52:13 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-09-28 17:25:53 -0300
commit0b8891a8e62cb537b65ebc55cfbbb4ec22333c44 (patch)
tree7183e177cbd4fc2a61949de2212cc2bd21f8ebc5 /tools/perf/scripts/python/stackcollapse.py
parentba11ba65e02836c475427ae199adfc2d8cc4a900 (diff)
perf tools: Adds the config_term callback for different type events
Currently, function config_term() is used for checking config terms of all types of events, while unknown terms is not reported as an error because pmu events have valid terms in sysfs. But this is wrong when unknown terms are specificed to hw/sw events. This patch Adds the config_term callback so we can use separate check routines for each type of events. Signed-off-by: He Kuang <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions