diff options
| author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2015-10-20 16:18:53 +0000 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-06-20 11:09:44 -0600 |
| commit | 2eb654b5c6ed9816af6cb8bc2eb2f29318387a95 (patch) | |
| tree | bf23bf2d5b2a0e02b3b7cdf7c8de8ce30cd3b6c6 /tools/perf/config | |
| parent | b90eb99a2c72a76c2334353638c212b7dd7d2bf1 (diff) | |
perf tools: making coresight PMU listable
Adding the required mechanic allowing 'perf list pmu' to
discover coresight ETM/PTM tracers.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/config')
| -rw-r--r-- | tools/perf/config/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index de89ec574361..86fc47751ca4 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -647,9 +647,14 @@ 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 + 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 + else + $(call detected,CONFIG_AUXTRACE) + CFLAGS += -DHAVE_AUXTRACE_SUPPORT + endif else $(call detected,CONFIG_AUXTRACE) CFLAGS += -DHAVE_AUXTRACE_SUPPORT |
