aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-06-04 10:34:20 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-06-05 10:09:54 -0300
commitb879833cbaac85b1437f574791b8855d26b0dc80 (patch)
tree42993f0fa3027c6c0bfbbda0d45d0b34f9560370 /tools/perf/scripts/python
parent27de9b2bd996de0ca4079c42c81c85158e10145c (diff)
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')
0 files changed, 0 insertions, 0 deletions