Messages in this thread | | | Date | Thu, 15 Aug 2013 15:53:14 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH 1/2] perf x86: Make intel_pmu_enable_all to enable only active events |
| |
> > I think its a NOP; this is the global ctrl register but > intel_pmu_disable_event() writes PERFEVTSELx.EN = 0, so even if you > enable it in the global mask, the event should still be disabled.
Yes the hardware ANDs the various enable bits in the different registers.
-andi
| |