aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-07-19 20:03:43 -0700
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-07-23 16:30:35 -0400
commit255c93c97013cab3a951f49ecbda88ad50f8237f (patch)
tree4b0b52bf7cc86508043b291d34c07c8efabd1f5c
parenta72ee2d6e1c92e8e522d4c3db962cd2988adb7a1 (diff)
downloadtrace-cmd-255c93c97013cab3a951f49ecbda88ad50f8237f.tar.gz
trace-cmd: Install all headers needed by kernelshark to proper paths
The trace-cmd build system installs headers for building kernelshark, but it is missing trace-seq.h and trace-filter-hash.h. It additionally installs event-parse.h to the toplevel "trace-cmd" include directory, but the generated header includes it as "traceevent/event-parse.h" so the kernelshark build fails. This patch installs all the headers needed to build kernelshark to the appropiate directories. Link: http://lore.kernel.org/linux-trace-devel/20190720030344.1991393-4-chutzpah@gentoo.org Signed-off-by: Patrick McLean <patrick.mclean@sony.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee3d8d9d..0aa98517 100644
--- a/Makefile
+++ b/Makefile
@@ -343,8 +343,10 @@ install_gui: install_cmd gui
install_libs: libs
$(Q)$(call do_install,$(LIBTRACECMD_SHARED),$(libdir_SQ))
$(Q)$(call do_install,$(LIBTRACEEVENT_SHARED),$(libdir_SQ))
- $(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ))
+ $(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ)/traceevent)
+ $(Q)$(call do_install,$(src)/include/traceevent/trace-seq.h,$(includedir_SQ)/traceevent)
$(Q)$(call do_install,$(src)/include/trace-cmd/trace-cmd.h,$(includedir_SQ))
+ $(Q)$(call do_install,$(src)/include/trace-cmd/trace-filter-hash.h,$(includedir_SQ))
doc:
$(MAKE) -C $(src)/Documentation all