aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-06-04 13:34:20 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-06-05 13:09:54 +0000
commitb879833cbaac85b1437f574791b8855d26b0dc80 (patch)
tree42993f0fa3027c6c0bfbbda0d45d0b34f9560370 /tools/perf/scripts/python/check-perf-trace.py
parentperf evsel: Add has_callchain() helper to make code more compact/clear (diff)
downloadkernel-b879833cbaac85b1437f574791b8855d26b0dc80.tar.gz
kernel-b879833cbaac85b1437f574791b8855d26b0dc80.zip
perf script: Check if evsel has callchains before trying to use it
We were checking just if callchain processing was asked for by the user, not if the evsel itself has callchains, and since we can have some evsels with callchains and others without, check that. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions