summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread-stack.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-07-03 21:12:51 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-09 14:33:55 +0200
commitfc50e0ba9bcac92ff177ff3ac64644108b6d8dd8 (patch)
tree40382e8a4c76f836d6a844819c38266126b55608 /tools/perf/util/thread-stack.c
parentperf session: Fix potential NULL pointer dereference found by the smatch tool (diff)
downloadlinux-fc50e0ba9bcac92ff177ff3ac64644108b6d8dd8.tar.xz
linux-fc50e0ba9bcac92ff177ff3ac64644108b6d8dd8.zip
perf evsel: perf_evsel__name(NULL) is valid, no need to check evsel
It'll return "unknown", no need to open code it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-4okvjmm18arjrcyfhuahgfxm@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/thread-stack.c')
0 files changed, 0 insertions, 0 deletions