aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorMasanari Iida <[email protected]>2014-05-14 17:13:38 +0000
committerJiri Olsa <[email protected]>2014-05-16 07:18:51 +0000
commitc5765ece8a050836c6255e1276fc8e0e867078da (patch)
treec2cfc515ddacd64fa9be9d1a0ebe8b10596a9ccb /tools/perf/builtin-annotate.c
parentperf sched: Cleanup, remove unused variables in map_switch_event() (diff)
downloadkernel-c5765ece8a050836c6255e1276fc8e0e867078da.tar.gz
kernel-c5765ece8a050836c6255e1276fc8e0e867078da.zip
perf session: Fix possible null pointer dereference in session.c
cppcheck detected following warning: [tools/perf/util/session.c:1628] -> [tools/perf/util/session.c:1632]: (warning) Possible null pointer dereference: session - otherwise it is redundant to check it against null. In order to avoide null pointer, check the pointer before use. Signed-off-by: Masanari Iida <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions