projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
932fed4
)
perf probe: Fix the missed parameter initialization
author
Lin Ming
<
[email protected]
>
Fri, 29 Apr 2011 08:41:57 +0000
(08:41 +0000)
committer
Ingo Molnar
<
[email protected]
>
Tue, 10 May 2011 15:06:23 +0000
(17:06 +0200)
pubname_callback_param::found should be initialized to 0 in
fastpath lookup, the structure is on the stack and
uninitialized otherwise.
Signed-off-by: Lin Ming <
[email protected]
>
Cc: Arnaldo Carvalho de Melo <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
tools/perf/util/probe-finder.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/probe-finder.c
b/tools/perf/util/probe-finder.c
index a7c7145a8d4fce6f9b9cf6cf07435226a4bb0e5f..3b9d0b800d5c85c332357220f9c5bd1ed8de4ffc 100644
(file)
--- 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,