diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-03 19:12:51 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-09 12:33:55 +0000 |
| commit | fc50e0ba9bcac92ff177ff3ac64644108b6d8dd8 (patch) | |
| tree | 40382e8a4c76f836d6a844819c38266126b55608 /tools/lib/zalloc.c | |
| parent | perf session: Fix potential NULL pointer dereference found by the smatch tool (diff) | |
| download | kernel-fc50e0ba9bcac92ff177ff3ac64644108b6d8dd8.tar.gz kernel-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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/zalloc.c')
0 files changed, 0 insertions, 0 deletions
