Messages in this thread | | | Date | Fri, 19 Oct 2012 17:28:45 -0400 (EDT) | From | Vince Weaver <> | Subject | [PATCH 0/3] perf_event: improvements to p6 PMU driver |
| |
Hello
The following patches include some fixes for the p6 PMU driver. I noticed these when working on the KNC driver which is roughly based on the p6 driver.
patch1: Fixes a wrong event constraint patch2: Expands the number of generic events supported by p6 patch3: Cleans up p6_pmu_enable_event() and p6_pmu_disable_event() Changes around the 2.6.33 to 2.6.34 transition left some confusing dead code around that was no longer necessary.
I've tested all of these on a Pentium II machine I brought out of retirement.
Vince Weaver vincent.weaver@maine.edu -- char x,_,*O="yyyyl1f41mm65mm5OU5m5_55m5555mmGUml1ED1ooG_ol\\lDClN:eml9niiobTQO" "m8dlYoo=HUmmaNEnCDY[l1G@7oo975l1>UImmSG3m5`@Om5<OGm5__5mm4S_l1DTiyyyy";void X( int x){while(x>-1)printf("\033[4%dm ",x%2*7),x-=2;}int main(){while(*O){for(x= 30;x--;)_=*O-48,X(_>>6?59:(_>>x%6)&1),x*=_<64,O+=!(x%6);X(5),X(0),puts("");}}
| |