Skip to contentSkip to conversation

perf trace: Only build tools/perf/trace/beauty/ when building 'perf trace'

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 20, 2017 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  5ca55ab6def81f8cd19a8b88f2ba4abe1aed34cc
Gitweb:     http://git.kernel.org/tip/5ca55ab6def81f8cd19a8b88f2ba4abe1aed34cc
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Fri, 14 Jul 2017 16:25:35 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 18 Jul 2017 23:13:52 -0300

perf trace: Only build tools/perf/trace/beauty/ when building 'perf trace'

As it calls functions in builtin-trace.c.

---
 tools/perf/Build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/Build +1 -1
index bd8eeb6..b48ca40 100644
@@ -50,6 +50,6 @@ libperf-y += util/
 libperf-y += arch/
 libperf-y += ui/
 libperf-y += scripts/
-libperf-y += trace/beauty/
+libperf-$(CONFIG_AUDIT) += trace/beauty/
 
 gtk-y += ui/gtk/