Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Don't install libtraceevent plugins as its not anymore in the kernel sources

While doing 'make -C tools/perf build-test' one can notice error
messages while trying to install libtraceevent plugins, stop doing that
as libtraceevent isn't anymore a homie.

These are the warnings dealt with:

make_install_prefix_slash_O: make install prefix=/tmp/krava/
failed to find: /tmp/krava/etc/bash_completion.d/perf
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_cfg80211.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_scsi.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_xen.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_function.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_sched_switch.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_mac80211.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_kvm.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_kmem.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_hrtimer.so
failed to find: /tmp/krava/lib64/traceevent/plugins/plugin_jbd2.so

Fixes: 4171925aa9f3f7bf ("tools lib traceevent: Remove libtraceevent")
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lore.kernel.org/lkml/Y7xXz+TSpiCbQGjw@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

-20
-8
tools/perf/Makefile.config
··· 1314 1314 1315 1315 export perfexec_instdir_SQ 1316 1316 1317 - # If we install to $(HOME) we keep the traceevent default: 1318 - # $(HOME)/.traceevent/plugins 1319 - # Otherwise we install plugins into the global $(libdir). 1320 - ifdef DESTDIR 1321 - plugindir=$(libdir)/traceevent/plugins 1322 - plugindir_SQ= $(subst ','\'',$(plugindir)) 1323 - endif 1324 - 1325 1317 print_var = $(eval $(print_var_code)) $(info $(MSG)) 1326 1318 define print_var_code 1327 1319 MSG = $(shell printf '...%40s: %s' $(1) $($(1)))
-12
tools/perf/tests/make
··· 222 222 installed_files_bin += etc/bash_completion.d/perf 223 223 installed_files_bin += libexec/perf-core/perf-archive 224 224 225 - installed_files_plugins := $(lib)/traceevent/plugins/plugin_cfg80211.so 226 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_scsi.so 227 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_xen.so 228 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_function.so 229 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_sched_switch.so 230 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_mac80211.so 231 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_kvm.so 232 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_kmem.so 233 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_hrtimer.so 234 - installed_files_plugins += $(lib)/traceevent/plugins/plugin_jbd2.so 235 - 236 225 installed_files_all := $(installed_files_bin) 237 - installed_files_all += $(installed_files_plugins) 238 226 239 227 test_make_install := $(call test_dest_files,$(installed_files_all)) 240 228 test_make_install_O := $(call test_dest_files,$(installed_files_all))