[PATCH 27/31] perf, x86: Report the arch perfmon events in sysfs

2012-10-02 Thread Andi Kleen
From: Andi Kleen Report all the supported arch perfmon events as event aliases in /sys/devices/cpu/... This is needed to use the TSX intx,intx_cp attributes with symbolic events, at least for these basic events. Currently cpu/instructions/ doesn't work because instructions is also a generic

[PATCH 27/31] perf, x86: Report the arch perfmon events in sysfs

2012-10-02 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Report all the supported arch perfmon events as event aliases in /sys/devices/cpu/... This is needed to use the TSX intx,intx_cp attributes with symbolic events, at least for these basic events. Currently cpu/instructions/ doesn't work because instructions