diff options
| author | tor-jeremiassen <tor@ti.com> | 2016-02-09 10:34:51 -0600 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-06-20 11:16:05 -0600 |
| commit | 1265cc36fba27539b82603a6950488ee1c8da70e (patch) | |
| tree | 57e891ba022ecb464e72b345e053234505a90440 /tools/perf/config/Makefile | |
| parent | 56139d02e29f968d349571850e832da942ff516b (diff) | |
perf tools: decoding capailitity for CoreSight traces
Added user space perf functionality for CoreSight trace decoding.
Diffstat (limited to 'tools/perf/config/Makefile')
| -rw-r--r-- | tools/perf/config/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index 86fc47751ca4..033d94114bab 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -433,6 +433,24 @@ endif grep-libs = $(filter -l%,$(1)) strip-libs = $(filter-out -l%,$(1)) +ifdef CSTRACE_PATH + ifeq (${IS_64_BIT}, 1) + CSTRACE_LNX = linux64 + else + CSTRACE_LNX = linux + endif + ifdef DEBUG + LIBCSTRACE = -lcstraced_c_api -lcstraced + CSTRACE_LIB_PATH = $(CSTRACE_PATH)/lib/$(CSTRACE_LNX)/dbg + else + LIBCSTRACE = -lcstrace_c_api -lcstrace + CSTRACE_LIB_PATH = $(CSTRACE_PATH)/lib/$(CSTRACE_LNX)/rel + endif + $(call detected,CSTRACE) + $(call detected_var,CSTRACE_PATH) + EXTLIBS += -L$(CSTRACE_LIB_PATH) $(LIBCSTRACE) -lstdc++ +endif + ifdef NO_LIBPERL CFLAGS += -DNO_LIBPERL else |
