Commit-ID:  70ff7c6caa2f2cee4a7621f5cb3b73b0a38327f1
Gitweb:     http://git.kernel.org/tip/70ff7c6caa2f2cee4a7621f5cb3b73b0a38327f1
Author:     David Carrillo-Cisneros <davi...@google.com>
AuthorDate: Sun, 27 Aug 2017 00:54:42 -0700
Committer:  Arnaldo Carvalho de Melo <a...@redhat.com>
CommitDate: Mon, 28 Aug 2017 16:44:46 -0300

perf tools: Pass full path of FEATURES_DUMP

When building with an external FEATURES_DUMP, bpf complains
that features dump file is not found. Fix it by passing full file path.

Signed-off-by: David Carrillo-Cisneros <davi...@google.com>
Acked-by: Jiri Olsa <jo...@kernel.org>
Cc: Alexander Shishkin <alexander.shish...@linux.intel.com>
Cc: Paul Turner <p...@google.com>
Cc: Stephane Eranian <eran...@google.com>
Link: http://lkml.kernel.org/r/20170827075442.108534-7-davi...@google.com
Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com>
---
 tools/perf/Makefile.perf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 58924eb..a5bf310 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -240,7 +240,7 @@ endif
 ifeq ($(FEATURES_DUMP),)
 FEATURE_DUMP_EXPORT := $(realpath $(OUTPUT)FEATURE-DUMP)
 else
-FEATURE_DUMP_EXPORT := $(FEATURES_DUMP)
+FEATURE_DUMP_EXPORT := $(realpath $(FEATURES_DUMP))
 endif
 
 export prefix bindir sharedir sysconfdir DESTDIR

Reply via email to