aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2009-12-10 04:08:54 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-10 11:23:02 -0500
commit5e855db5d8fec44e6604eb245aa9077bbd3f0d05 (patch)
tree480a7af69a0168ea3a6b05a21e10dd964fd44ac1 /kernel/perf_event.c
parent7931241694b25589658b1ceb02218d2750540ae0 (diff)
perf_event: Fix variable initialization in other codepaths
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <4B20BAA6.7010609@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 3a5d6c4786bb..d891ec4a8100 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -4300,6 +4300,7 @@ void perf_bp_event(struct perf_event *bp, void *data)
4300 struct perf_sample_data sample; 4300 struct perf_sample_data sample;
4301 struct pt_regs *regs = data; 4301 struct pt_regs *regs = data;
4302 4302
4303 sample.raw = NULL;
4303 sample.addr = bp->attr.bp_addr; 4304 sample.addr = bp->attr.bp_addr;
4304 4305
4305 if (!perf_exclude_event(bp, regs)) 4306 if (!perf_exclude_event(bp, regs))