Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304885
b: refs/heads/master
c: 7bf3523
h: refs/heads/master
i:
  304883: 59b5abe
v: v3
  • Loading branch information
Robert Richter authored and Ingo Molnar committed May 9, 2012
1 parent 3820087 commit 7be0f58
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fd0d000b2c34aa43d4e92dcf0dfaeda7e123008a
refs/heads/master: 7bf352384fda3f678a283928c6c5b2cd9da877e4
2 changes: 2 additions & 0 deletions trunk/arch/x86/kernel/cpu/perf_event_amd_ibs.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ static __init int perf_event_ibs_init(void)
return -ENODEV; /* ibs not supported by the cpu */

perf_ibs_pmu_init(&perf_ibs_fetch, "ibs_fetch");
if (ibs_caps & IBS_CAPS_OPCNT)
perf_ibs_op.config_mask |= IBS_OP_CNT_CTL;
perf_ibs_pmu_init(&perf_ibs_op, "ibs_op");
register_nmi_handler(NMI_LOCAL, perf_ibs_nmi_handler, 0, "perf_ibs");
printk(KERN_INFO "perf: AMD IBS detected (0x%08x)\n", ibs_caps);
Expand Down

0 comments on commit 7be0f58

Please sign in to comment.