Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175440
b: refs/heads/master
c: 5e855db
h: refs/heads/master
v: v3
  • Loading branch information
Xiao Guangrong authored and Ingo Molnar committed Dec 10, 2009
1 parent 9ace373 commit 8f449e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7931241694b25589658b1ceb02218d2750540ae0
refs/heads/master: 5e855db5d8fec44e6604eb245aa9077bbd3f0d05
4 changes: 4 additions & 0 deletions trunk/arch/x86/kernel/cpu/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1632,6 +1632,7 @@ static void intel_pmu_drain_bts_buffer(struct cpu_hw_events *cpuc)

data.period = event->hw.last_period;
data.addr = 0;
data.raw = NULL;
regs.ip = 0;

/*
Expand Down Expand Up @@ -1749,6 +1750,7 @@ static int p6_pmu_handle_irq(struct pt_regs *regs)
u64 val;

data.addr = 0;
data.raw = NULL;

cpuc = &__get_cpu_var(cpu_hw_events);

Expand Down Expand Up @@ -1794,6 +1796,7 @@ static int intel_pmu_handle_irq(struct pt_regs *regs)
u64 ack, status;

data.addr = 0;
data.raw = NULL;

cpuc = &__get_cpu_var(cpu_hw_events);

Expand Down Expand Up @@ -1857,6 +1860,7 @@ static int amd_pmu_handle_irq(struct pt_regs *regs)
u64 val;

data.addr = 0;
data.raw = NULL;

cpuc = &__get_cpu_var(cpu_hw_events);

Expand Down
1 change: 1 addition & 0 deletions trunk/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -4300,6 +4300,7 @@ void perf_bp_event(struct perf_event *bp, void *data)
struct perf_sample_data sample;
struct pt_regs *regs = data;

sample.raw = NULL;
sample.addr = bp->attr.bp_addr;

if (!perf_exclude_event(bp, regs))
Expand Down

0 comments on commit 8f449e7

Please sign in to comment.