Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191296
b: refs/heads/master
c: 1e9a6d8
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed May 7, 2010
1 parent 0d5e83c commit 1730864
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a1f2b70a942b8d858a0ab02567da3999b60a99b2
refs/heads/master: 1e9a6d8d44cb6dcd2799b36ceb23007e6a423bfe
14 changes: 0 additions & 14 deletions trunk/arch/x86/kernel/cpu/perf_event_intel_ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ static void intel_pmu_drain_pebs_core(struct pt_regs *iregs)
struct perf_event *event = cpuc->events[0]; /* PMC0 only */
struct pebs_record_core *at, *top;
struct perf_sample_data data;
struct perf_raw_record raw;
struct pt_regs regs;
int n;

Expand Down Expand Up @@ -499,12 +498,6 @@ static void intel_pmu_drain_pebs_core(struct pt_regs *iregs)
perf_sample_data_init(&data, 0);
data.period = event->hw.last_period;

if (event->attr.sample_type & PERF_SAMPLE_RAW) {
raw.size = x86_pmu.pebs_record_size;
raw.data = at;
data.raw = &raw;
}

/*
* We use the interrupt regs as a base because the PEBS record
* does not contain a full regs set, specifically it seems to
Expand Down Expand Up @@ -536,7 +529,6 @@ static void intel_pmu_drain_pebs_nhm(struct pt_regs *iregs)
struct pebs_record_nhm *at, *top;
struct perf_sample_data data;
struct perf_event *event = NULL;
struct perf_raw_record raw;
struct pt_regs regs;
u64 status = 0;
int bit, n;
Expand Down Expand Up @@ -585,12 +577,6 @@ static void intel_pmu_drain_pebs_nhm(struct pt_regs *iregs)
perf_sample_data_init(&data, 0);
data.period = event->hw.last_period;

if (event->attr.sample_type & PERF_SAMPLE_RAW) {
raw.size = x86_pmu.pebs_record_size;
raw.data = at;
data.raw = &raw;
}

/*
* See the comment in intel_pmu_drain_pebs_core()
*/
Expand Down

0 comments on commit 1730864

Please sign in to comment.