summaryrefslogtreecommitdiff
path: root/tools/perf/util/sort.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-06-04 10:34:20 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-06-05 10:09:54 -0300
commitb879833cbaac85b1437f574791b8855d26b0dc80 (patch)
tree42993f0fa3027c6c0bfbbda0d45d0b34f9560370 /tools/perf/util/sort.h
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 <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-inxl7k49q9f9w1se039fbxuw@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/sort.h')
0 files changed, 0 insertions, 0 deletions