aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events-test.c
diff options
context:
space:
mode:
authorSamuel Liao <samuelliao@tencent.com>2012-06-05 13:14:59 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-06-19 14:30:26 -0300
commitc0a58fb2bdf033df433cad9009c7dac4c6b872b0 (patch)
treed4c65704aae722151a0d85cca74d1e30577c99e4 /tools/perf/util/parse-events-test.c
parentperf evsel: Make some methods private (diff)
downloadlinux-dev-c0a58fb2bdf033df433cad9009c7dac4c6b872b0.tar.xz
linux-dev-c0a58fb2bdf033df433cad9009c7dac4c6b872b0.zip
perf annotate: Check null of sym pointer before using it
Sym may be NULL, and that will cause perf to crash. Signed-off-by: Shan Wei <davidshan@tencent.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung.kim@lge.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/4FCD95D3.90209@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events-test.c')
0 files changed, 0 insertions, 0 deletions