Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276383
b: refs/heads/master
c: ed13ec5
h: refs/heads/master
i:
  276381: 3f27548
  276379: fe089a2
  276375: cc03dc2
  276367: d160019
  276351: 95f01ca
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Nov 14, 2011
1 parent 77e8a6e commit be6a22b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: aa2bc1ade59003a379ffc485d6da2d92ea3370a6
refs/heads/master: ed13ec58bfe0d5dc95f748e6118432cb0fa283cb
6 changes: 1 addition & 5 deletions trunk/arch/x86/kernel/cpu/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,8 @@ int x86_setup_perfctr(struct perf_event *event)
return -EOPNOTSUPP;
}

/*
* Do not allow config1 (extended registers) to propagate,
* there's no sane user-space generalization yet:
*/
if (attr->type == PERF_TYPE_RAW)
return 0;
return x86_pmu_extra_regs(event->attr.config, event);

if (attr->type == PERF_TYPE_HW_CACHE)
return set_ext_hw_attr(hwc, event);
Expand Down

0 comments on commit be6a22b

Please sign in to comment.