summaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-parse.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2013-10-11 12:23:17 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-10-15 17:37:38 (GMT)
commit1b286bdd5b7684c681b63d5e75cada037064c315 (patch)
treefb241e12b1f3f8c0518097e3966b66a5723aa92b /tools/perf/util/trace-event-parse.c
parent1651d120baddf68846188bcdf0ef5350068436cf (diff)
downloadlinux-fsl-qoriq-1b286bdd5b7684c681b63d5e75cada037064c315.tar.xz
perf probe: Fix to initialize fname always before use it
Fix perf probe --list to initialize fname local var always before use it. This may cause a SEGV if there is a probe which is in the function body but not in any inline function. Problem introduced in: commit e08cfd4bda76 Author: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Date: Mon Sep 30 18:21:44 2013 +0900 perf probe: Fix to find line information for probe list Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20131011122317.9662.29736.stgit@kbuild-fedora.novalocal Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
0 files changed, 0 insertions, 0 deletions