[PATCH V6 1/5] perf tools: making coresight PMU listable

Mathieu Poirier mathieu.poirier at linaro.org
Mon Aug 29 08:56:02 PDT 2016


On 28 August 2016 at 08:16, Jiri Olsa <jolsa at redhat.com> wrote:
> On Thu, Aug 25, 2016 at 02:20:41PM -0600, Mathieu Poirier wrote:
>
> SNIP
>
>>  ARM/CORGI MACHINE SUPPORT
>>  M:   Richard Purdie <rpurdie at rpsys.net>
>> diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
>> index 24803c58049a..72edf83d76b7 100644
>> --- a/tools/perf/Makefile.config
>> +++ b/tools/perf/Makefile.config
>> @@ -746,10 +746,13 @@ ifdef LIBBABELTRACE
>>  endif
>>
>>  ifndef NO_AUXTRACE
>> -  ifeq ($(feature-get_cpuid), 0)
>> -    msg := $(warning Your gcc lacks the __get_cpuid() builtin, disables support for auxtrace/Intel PT, please install a newer gcc);
>> -    NO_AUXTRACE := 1
>> -  else
>> +  ifeq ($(ARCH),x86)
>> +    ifeq ($(feature-get_cpuid), 0)
>> +      msg := $(warning Your gcc lacks the __get_cpuid() builtin, disables support for auxtrace/Intel PT, please install a newer gcc);
>> +      NO_AUXTRACE := 1
>> +    endif
>> +  endif
>> +  ifndef NO_AUXTRACE
>
> hum, how's this hunk connected to the issue described in changelog?

Patch 1/6 and 2/6 are needed by [3, 4, 5, 6]/6 of this set.
Originally they were part of a separate patchset I but decided to
include them here for completeness.  Let me know if you'd like to see
them split again.

>
> thanks,
> jirka
>
>>      $(call detected,CONFIG_AUXTRACE)
>>      CFLAGS += -DHAVE_AUXTRACE_SUPPORT
>>    endif
>
> SNIP



More information about the linux-arm-kernel mailing list