[PATCH 03/15] perf tools: Confine __get_cpuid() to x86 architecture

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier The __get_cpuid() test is only valid when compiling for x86. When compiling for other architectures like ARM/ARM64 the test fails event if the functionality is not required. This patch isolate the build-in feature check to x86 platform,

[PATCH 03/15] perf tools: Confine __get_cpuid() to x86 architecture

2016-09-22 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier The __get_cpuid() test is only valid when compiling for x86. When compiling for other architectures like ARM/ARM64 the test fails event if the functionality is not required. This patch isolate the build-in feature check to x86 platform, allowing the compilation and usage