Thanks, the correct program is reporting all events as available.
Manu On 07/03/2013 03:28 PM, Andi Kleen wrote:
#include <cpuid.h> #include <stdio.h> int main() { unsigned a, b, c, d; /* check __get_cpuid_max here */ __cpuid(10, a, b, c, d); printf("eax: %x ebx %x ecx %x edx %x\n", a, b, c, d); int i; for (i = 0; i < 10; i++) if (b & (1 << i)) printf("event %d not supported\n", i); return 0; }
-- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html