* [PATCH] perf probe: Fix the missed parameter initialization in fastpath lookup
@ 2011-04-24 9:14 Lin Ming
0 siblings, 0 replies; only message in thread
From: Lin Ming @ 2011-04-24 9:14 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo; +Cc: linux-kernel
pubname_callback_param::found should be initialized to 0.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
tools/perf/util/probe-finder.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c
index a7c7145..3b9d0b8 100644
--- a/tools/perf/util/probe-finder.c
+++ b/tools/perf/util/probe-finder.c
@@ -1538,6 +1538,7 @@ static int find_probes(int fd, struct probe_finder *pf)
.file = pp->file,
.cu_die = &pf->cu_die,
.sp_die = &pf->sp_die,
+ .found = 0,
};
struct dwarf_callback_param probe_param = {
.data = pf,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-24 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-24 9:14 [PATCH] perf probe: Fix the missed parameter initialization in fastpath lookup Lin Ming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox