Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245460
b: refs/heads/master
c: e04d1b2
h: refs/heads/master
v: v3
  • Loading branch information
Lin Ming authored and Ingo Molnar committed May 6, 2011
1 parent a16d60b commit cdfaf90
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e7e7ee2eab2080248084d71fe0a115ab745eb2aa
refs/heads/master: e04d1b23f9706186187dcb0be1a752e48dcc540b
6 changes: 6 additions & 0 deletions trunk/arch/x86/kernel/cpu/perf_event_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,12 @@ static __init int intel_pmu_init(void)

x86_pmu.event_constraints = intel_snb_event_constraints;
x86_pmu.pebs_constraints = intel_snb_pebs_events;

/* UOPS_ISSUED.ANY,c=1,i=1 to count stall cycles */
intel_perfmon_event_map[PERF_COUNT_HW_STALLED_CYCLES_FRONTEND] = 0x180010e;
/* UOPS_DISPATCHED.THREAD,c=1,i=1 to count stall cycles*/
intel_perfmon_event_map[PERF_COUNT_HW_STALLED_CYCLES_BACKEND] = 0x18001b1;

pr_cont("SandyBridge events, ");
break;

Expand Down

0 comments on commit cdfaf90

Please sign in to comment.