aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2018-01-10 20:46:51 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-01-11 14:56:07 +0000
commit2178790baa8639a1f516f91685ae64cc8d09fee7 (patch)
tree7797aca96f9c97582d5c6eff2be63abe81ea4e2f /tools/perf/scripts/python/mem-phys-addr.py
parentMerge tag 'perf-core-for-mingo-4.16-20180110' of git://git.kernel.org/pub/scm... (diff)
downloadkernel-2178790baa8639a1f516f91685ae64cc8d09fee7.tar.gz
kernel-2178790baa8639a1f516f91685ae64cc8d09fee7.zip
perf evsel: Fix incorrect handling of type _TERM_DRV_CFG
Commit ("d0565132605f perf evsel: Enable type checking for perf_evsel_config_term types") assumes PERF_EVSEL__CONFIG_TERM_DRV_CFG isn't used and as such adds a BUG_ON(). Since the enumeration type is used in macro ADD_CONFIG_TERM() the change break CoreSight trace acquisition. This patch restores the original code. Signed-off-by: Mathieu Poirier <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: d0565132605f ("perf evsel: Enable type checking for perf_evsel_config_term types") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions