diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-07-19 20:03:43 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-07-23 16:30:35 -0400 |
commit | 255c93c97013cab3a951f49ecbda88ad50f8237f (patch) | |
tree | 4b0b52bf7cc86508043b291d34c07c8efabd1f5c | |
parent | a72ee2d6e1c92e8e522d4c3db962cd2988adb7a1 (diff) | |
download | trace-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |