diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2010-02-18 13:16:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-22 11:42:27 +0100 |
commit | 388c3aab5d4f1b0bbfe2d5f47e7cd681866bc573 (patch) | |
tree | 99024d3b3807219c3713babcf2077f59b7847475 /arch/x86/kernel/hw_breakpoint.c | |
parent | 326264a02448b0ac51f78f178b78e830aa077a0b (diff) |
perf probe: Init struct probe_point and set counter correctly
Clear struct probe_point before using it in
show_perf_probe_events(), and set pp->found counter correctly in
synthesize_perf_probe_point(). Without this initialization,
clear_probe_point() will free random addresses.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
LKML-Reference: <20100218181652.26547.57790.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/hw_breakpoint.c')
0 files changed, 0 insertions, 0 deletions