projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2fb56
)
perf build: Warn if libtracefs is not found
author
Guilherme Amadio
<amadio@gentoo.org>
Wed, 17 Jul 2024 17:47:35 +0000
(19:47 +0200)
committer
Namhyung Kim
<namhyung@kernel.org>
Wed, 17 Jul 2024 20:13:59 +0000
(13:13 -0700)
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Tested-by: Leo Yan <leo.yan@arm.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Link:
https://lore.kernel.org/r/20240717174739.186988-2-amadio@gentoo.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/Makefile.config
patch
|
blob
|
history
diff --git
a/tools/perf/Makefile.config
b/tools/perf/Makefile.config
index a4829b6532d80b575580981742674882bf6ff8b2..44f010b9f5622c880092a2403a89459d3e064194 100644
(file)
--- a/
tools/perf/Makefile.config
+++ b/
tools/perf/Makefile.config
@@
-1206,6
+1206,8
@@
ifneq ($(NO_LIBTRACEEVENT),1)
LIBTRACEFS_VERSION_3 := $(word 3, $(subst ., ,$(LIBTRACEFS_VERSION)))
LIBTRACEFS_VERSION_CPP := $(shell expr $(LIBTRACEFS_VERSION_1) \* 255 \* 255 + $(LIBTRACEFS_VERSION_2) \* 255 + $(LIBTRACEFS_VERSION_3))
CFLAGS += -DLIBTRACEFS_VERSION=$(LIBTRACEFS_VERSION_CPP)
+ else
+ $(warning libtracefs is missing. Please install libtracefs-dev/libtracefs-devel)
endif
endif