trace-cmd: Start 3.0 development and remove libraries
cover trace-cmd: Start 3.0 development and remove libraries
Now that trace-cmd has started 3.0 development and will rely on the external repositories of libtraceevent and libtracefs, remove the local versions of the code.
KernelShark will soon be removed as well, but not before libtracecmd is officially released.
Steven Rostedt (VMware) (3):
trace-cmd: Start on development of v3.0
trace-cmd: Remove libtraceevent code
trace-cmd: Remove libtracefs code
----
Makefile | 85 +- lib/traceevent/Makefile | 72 - lib/traceevent/event-parse-api.c | 333 -- lib/traceevent/event-parse-local.h | 123 - lib/traceevent/event-parse.c | 7651 ------------------------- lib/traceevent/event-plugin.c | 712 --- lib/traceevent/include/event-utils.h | 67 - lib/traceevent/kbuffer-parse.c | 813 --- lib/traceevent/parse-filter.c | 2278 -------- lib/traceevent/parse-utils.c | 62 - lib/traceevent/plugins/Makefile | 83 - lib/traceevent/plugins/plugin_blk.c | 375 -- lib/traceevent/plugins/plugin_cfg80211.c | 43 - lib/traceevent/plugins/plugin_function.c | 282 - lib/traceevent/plugins/plugin_futex.c | 125 - lib/traceevent/plugins/plugin_hrtimer.c | 70 - lib/traceevent/plugins/plugin_jbd2.c | 63 - lib/traceevent/plugins/plugin_kmem.c | 82 - lib/traceevent/plugins/plugin_kvm.c | 526 -- lib/traceevent/plugins/plugin_mac80211.c | 188 - lib/traceevent/plugins/plugin_python_loader.c | 108 - lib/traceevent/plugins/plugin_sched_switch.c | 145 - lib/traceevent/plugins/plugin_scsi.c | 434 -- lib/traceevent/plugins/plugin_tlb.c | 66 - lib/traceevent/plugins/plugin_xen.c | 138 - lib/traceevent/tep_strerror.c | 53 - lib/traceevent/trace-seq.c | 249 - lib/tracefs/Makefile | 70 - lib/tracefs/include/tracefs-local.h | 30 - lib/tracefs/tracefs-events.c | 626 -- lib/tracefs/tracefs-instance.c | 455 -- lib/tracefs/tracefs-utils.c | 230 - 32 files changed, 33 insertions(+), 16604 deletions(-) delete mode 100644 lib/traceevent/Makefile delete mode 100644 lib/traceevent/event-parse-api.c delete mode 100644 lib/traceevent/event-parse-local.h delete mode 100644 lib/traceevent/event-parse.c delete mode 100644 lib/traceevent/event-plugin.c delete mode 100644 lib/traceevent/include/event-utils.h delete mode 100644 lib/traceevent/kbuffer-parse.c delete mode 100644 lib/traceevent/parse-filter.c delete mode 100644 lib/traceevent/parse-utils.c delete mode 100644 lib/traceevent/plugins/Makefile delete mode 100644 lib/traceevent/plugins/plugin_blk.c delete mode 100644 lib/traceevent/plugins/plugin_cfg80211.c delete mode 100644 lib/traceevent/plugins/plugin_function.c delete mode 100644 lib/traceevent/plugins/plugin_futex.c delete mode 100644 lib/traceevent/plugins/plugin_hrtimer.c delete mode 100644 lib/traceevent/plugins/plugin_jbd2.c delete mode 100644 lib/traceevent/plugins/plugin_kmem.c delete mode 100644 lib/traceevent/plugins/plugin_kvm.c delete mode 100644 lib/traceevent/plugins/plugin_mac80211.c delete mode 100644 lib/traceevent/plugins/plugin_python_loader.c delete mode 100644 lib/traceevent/plugins/plugin_sched_switch.c delete mode 100644 lib/traceevent/plugins/plugin_scsi.c delete mode 100644 lib/traceevent/plugins/plugin_tlb.c delete mode 100644 lib/traceevent/plugins/plugin_xen.c delete mode 100644 lib/traceevent/tep_strerror.c delete mode 100644 lib/traceevent/trace-seq.c delete mode 100644 lib/tracefs/Makefile delete mode 100644 lib/tracefs/include/tracefs-local.h delete mode 100644 lib/tracefs/tracefs-events.c delete mode 100644 lib/tracefs/tracefs-instance.c delete mode 100644 lib/tracefs/tracefs-utils.c
PATCH 1/3 trace-cmd: Start on development of v3.0
From: "Steven Rostedt (VMware)" <[email protected]>
This is the start of v3.0 development and will remove the code provided by libtracefs, libtraceevent as well as KernelShark when the external repo is ready.
--- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Makefile +3 -3
@@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 # trace-cmd version -TC_VERSION = 2 -TC_PATCHLEVEL = 9 -TC_EXTRAVERSION = 2 +TC_VERSION = 3 +TC_PATCHLEVEL = 0 +TC_EXTRAVERSION = -dev TRACECMD_VERSION = $(TC_VERSION).$(TC_PATCHLEVEL).$(TC_EXTRAVERSION) export TC_VERSION
Signature · 1 line
2.30.1
PATCH 2/3 trace-cmd: Remove libtraceevent code
In reply to Steven RostedtFrom: "Steven Rostedt (VMware)" <[email protected]>
Now that there is an external libtraceevent repository at:
https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
Force the use of that repository, and remove the need to have duplicate updates.
--- Makefile | 51 +- lib/traceevent/Makefile | 72 - lib/traceevent/event-parse-api.c | 333 - lib/traceevent/event-parse-local.h | 123 - lib/traceevent/event-parse.c | 7651 ----------------- lib/traceevent/event-plugin.c | 712 -- lib/traceevent/include/event-utils.h | 67 - lib/traceevent/kbuffer-parse.c | 813 -- lib/traceevent/parse-filter.c | 2278 ----- lib/traceevent/parse-utils.c | 62 - lib/traceevent/plugins/Makefile | 83 - lib/traceevent/plugins/plugin_blk.c | 375 - lib/traceevent/plugins/plugin_cfg80211.c | 43 - lib/traceevent/plugins/plugin_function.c | 282 - lib/traceevent/plugins/plugin_futex.c | 125 - lib/traceevent/plugins/plugin_hrtimer.c | 70 - lib/traceevent/plugins/plugin_jbd2.c | 63 - lib/traceevent/plugins/plugin_kmem.c | 82 - lib/traceevent/plugins/plugin_kvm.c | 526 -- lib/traceevent/plugins/plugin_mac80211.c | 188 - lib/traceevent/plugins/plugin_python_loader.c | 108 - lib/traceevent/plugins/plugin_sched_switch.c | 145 - lib/traceevent/plugins/plugin_scsi.c | 434 - lib/traceevent/plugins/plugin_tlb.c | 66 - lib/traceevent/plugins/plugin_xen.c | 138 - lib/traceevent/tep_strerror.c | 53 - lib/traceevent/trace-seq.c | 249 - 27 files changed, 21 insertions(+), 15171 deletions(-) delete mode 100644 lib/traceevent/Makefile delete mode 100644 lib/traceevent/event-parse-api.c delete mode 100644 lib/traceevent/event-parse-local.h delete mode 100644 lib/traceevent/event-parse.c delete mode 100644 lib/traceevent/event-plugin.c delete mode 100644 lib/traceevent/include/event-utils.h delete mode 100644 lib/traceevent/kbuffer-parse.c delete mode 100644 lib/traceevent/parse-filter.c delete mode 100644 lib/traceevent/parse-utils.c delete mode 100644 lib/traceevent/plugins/Makefile delete mode 100644 lib/traceevent/plugins/plugin_blk.c delete mode 100644 lib/traceevent/plugins/plugin_cfg80211.c delete mode 100644 lib/traceevent/plugins/plugin_function.c delete mode 100644 lib/traceevent/plugins/plugin_futex.c delete mode 100644 lib/traceevent/plugins/plugin_hrtimer.c delete mode 100644 lib/traceevent/plugins/plugin_jbd2.c delete mode 100644 lib/traceevent/plugins/plugin_kmem.c delete mode 100644 lib/traceevent/plugins/plugin_kvm.c delete mode 100644 lib/traceevent/plugins/plugin_mac80211.c delete mode 100644 lib/traceevent/plugins/plugin_python_loader.c delete mode 100644 lib/traceevent/plugins/plugin_sched_switch.c delete mode 100644 lib/traceevent/plugins/plugin_scsi.c delete mode 100644 lib/traceevent/plugins/plugin_tlb.c delete mode 100644 lib/traceevent/plugins/plugin_xen.c delete mode 100644 lib/traceevent/tep_strerror.c delete mode 100644 lib/traceevent/trace-seq.c
Makefile +21 -30
@@ -225,32 +225,35 @@ export LIBTRACECMD_STATIC LIBTRACECMD_SHARED export LIBTRACECMD_SHARED_VERSION LIBTRACECMD_SHARED_SO LIBTRACEEVENT=libtraceevent -LIBTRACEEVENT_DIR = $(obj)/lib/traceevent -LIBTRACEEVENT_STATIC = $(LIBTRACEEVENT_DIR)/libtraceevent.a LIBTRACEFS=libtracefs LIBTRACEFS_DIR = $(obj)/lib/tracefs LIBTRACEFS_STATIC = $(LIBTRACEFS_DIR)/libtracefs.a +TEST_LIBTRACEEVENT = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEEVENT) > /dev/null 2>&1 && echo y") + # In the special case (debugging), that the local versions of the # libraries need to be built, adding "LOCAL_LIBS=1" to the make # command line will skip the check if they are installed. ifneq ("$(origin LOCAL_LIBS)", "command line") -TEST_LIBTRACEEVENT = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEEVENT) > /dev/null 2>&1 && echo y") TEST_LIBTRACEFS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEFS) > /dev/null 2>&1 && echo y") endif ifeq ("$(TEST_LIBTRACEEVENT)", "y") LIBTRACEEVENT_CFLAGS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEEVENT)") LIBTRACEEVENT_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs $(LIBTRACEEVENT)") -TRACEEVENT_PLUGINS = -TRACEEVENT_PLUGINS_INSTALL = else -LIBTRACEEVENT_CFLAGS = -I$(src)/include/traceevent -I$(src)/lib/traceevent/include -LIBTRACEEVENT_LDLAGS = -L$(LIBTRACEEVENT_DIR) -ltraceevent -LIBTRACEEVENT_STATIC_BUILD = $(LIBTRACEEVENT_STATIC) -TRACEEVENT_PLUGINS = plugins_traceevent -TRACEEVENT_PLUGINS_INSTALL = install_plugins_traceevent +.PHONY: warning +warning: + @echo "********************************************" + @echo "** NOTICE: libtraceevent not found on system" + @echo "**" + @echo "** Consider installing the latest libtraceevent from your" + @echo "** distribution, or from source:" + @echo "**" + @echo "** https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/ " + @echo "**" + @echo "********************************************" endif export LIBTRACEEVENT_CFLAGS LIBTRACEEVENT_LDLAGS
@@ -270,7 +273,7 @@ TRACE_LIBS = -L$(LIBTRACECMD_DIR) -ltracecmd \ $(LIBTRACEEVENT_LDLAGS) $(LIBTRACEFS_LDLAGS) export LIBS TRACE_LIBS -export LIBTRACEEVENT_DIR LIBTRACECMD_DIR LIBTRACEFS_DIR +export LIBTRACECMD_DIR LIBTRACEFS_DIR export Q SILENT VERBOSE EXT # Include the utils
@@ -366,46 +369,36 @@ $(PKG_CONFIG_FILE) : ${PKG_CONFIG_SOURCE_FILE}.template $(BUILD_PREFIX) $(kshark-dir)/build/Makefile: $(kshark-dir)/CMakeLists.txt $(Q) cd $(kshark-dir)/build && $(CMAKE_COMMAND) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -D_INSTALL_PREFIX=$(prefix) -D_LIBDIR=$(libdir) .. -trace-cmd: force $(LIBTRACEEVENT_STATIC_BUILD) $(LIBTRACECMD_STATIC) $(LIBTRACEFS_STATIC_BUILD) \ +trace-cmd: force $(LIBTRACECMD_STATIC) $(LIBTRACEFS_STATIC_BUILD) \ force $(obj)/lib/trace-cmd/plugins/tracecmd_plugin_dir $(Q)$(MAKE) -C $(src)/tracecmd $(obj)/tracecmd/$@ -LIBTRACEEVENT_DEPENDS = $(obj)/lib/traceevent/plugins/trace_python_dir \ - $(obj)/lib/traceevent/plugins/traceevent_plugin_dir - -$(LIBTRACEEVENT_STATIC): force $(LIBTRACEEVENT_DEPENDS) - $(Q)$(MAKE) -C $(src)/lib/traceevent libtraceevent - $(LIBTRACECMD_STATIC): force $(Q)$(MAKE) -C $(src)/lib/trace-cmd $@ -$(LIBTRACECMD_SHARED): force $(LIBTRACEEVENT_SHARED_BUILD) +$(LIBTRACECMD_SHARED): force $(Q)$(MAKE) -C $(src)/lib/trace-cmd libtracecmd.so $(LIBTRACEFS_STATIC): force $(Q)$(MAKE) -C $(src)/lib/tracefs libtracefs -libtraceevent.a: $(LIBTRACEEVENT_STATIC) libtracecmd.a: $(LIBTRACECMD_STATIC) libtracecmd.so: $(LIBTRACECMD_SHARED) libtracefs.a: $(LIBTRACEFS_STATIC) -libs: $(LIBTRACECMD_SHARED) $(LIBTRACEEVENT_STATIC_BUILD) $(LIBTRACEFS_STATIC_BUILD) $(PKG_CONFIG_FILE) - -libtraceevent_nowarn: $(LIBTRACEEVENT_DEPENDS) - $(Q)$(MAKE) -C $(src)/lib/traceevent $@ +libs: $(LIBTRACECMD_SHARED) $(LIBTRACEFS_STATIC_BUILD) $(PKG_CONFIG_FILE) libtracefs_nowarn: force $(Q)$(MAKE) -C $(src)/lib/tracefs $@ -gui: force $(CMD_TARGETS) libtraceevent_nowarn libtracefs_nowarn +gui: force $(CMD_TARGETS) libtracefs_nowarn $(MAKE) $(kshark-dir)/build/Makefile $(Q)$(MAKE) $(S) -C $(kshark-dir)/build @echo "gui build complete" @echo " kernelshark located at $(kshark-dir)/bin" -test: force $(LIBTRACEEVENT_STATIC_BUILD) $(LIBTRACEFS_STATIC_BUILD) $(LIBTRACECMD_STATIC) +test: force $(LIBTRACEFS_STATIC_BUILD) $(LIBTRACECMD_STATIC) ifneq ($(CUNIT_INSTALLED),1) $(error CUnit framework not installed, cannot build unit tests)) endif
@@ -418,7 +411,7 @@ plugins_traceevent: force $(obj)/lib/traceevent/plugins/traceevent_plugin_dir \ plugins_tracecmd: force $(obj)/lib/trace-cmd/plugins/tracecmd_plugin_dir $(Q)$(MAKE) -C $(src)/lib/trace-cmd/plugins -plugins: $(TRACEEVENT_PLUGINS) plugins_tracecmd +plugins: plugins_tracecmd $(obj)/lib/traceevent/plugins/traceevent_plugin_dir: force $(Q)$(MAKE) -C $(src)/lib/traceevent/plugins $@
@@ -458,7 +451,7 @@ install_plugins_traceevent: force install_plugins_tracecmd: force $(Q)$(MAKE) -C $(src)/lib/trace-cmd/plugins install_plugins -install_plugins: $(TRACEEVENT_PLUGINS_INSTALL) install_plugins_tracecmd +install_plugins: install_plugins_tracecmd install_python: force $(Q)$(MAKE) -C $(src)/python $@
@@ -498,10 +491,8 @@ install_doc_gui: clean: $(RM) *.o *~ *.a *.so .*.d $(RM) tags TAGS cscope* $(PKG_CONFIG_SOURCE_FILE) - $(MAKE) -C $(src)/lib/traceevent clean $(MAKE) -C $(src)/lib/trace-cmd clean $(MAKE) -C $(src)/lib/tracefs clean - $(MAKE) -C $(src)/lib/traceevent/plugins clean $(MAKE) -C $(src)/lib/trace-cmd/plugins clean $(MAKE) -C $(src)/utest clean $(MAKE) -C $(src)/python clean
lib/traceevent/Makefile deleted +0 -72
72 lines not on this page · raw message
lib/traceevent/event-parse-api.c deleted +0 -333
333 lines not on this page · raw message
lib/traceevent/event-parse-local.h deleted +0 -123
123 lines not on this page · raw message
lib/traceevent/event-parse.c deleted +0 -7651
2,342 lines not on this page · raw message
lib/traceevent/event-plugin.c deleted +0 -712
712 lines not on this page · raw message
lib/traceevent/include/event-utils.h deleted +0 -67
67 lines not on this page · raw message
lib/traceevent/kbuffer-parse.c deleted +0 -813
813 lines not on this page · raw message
lib/traceevent/parse-filter.c deleted +0 -2278
2,278 lines not on this page · raw message
lib/traceevent/parse-utils.c deleted +0 -62
62 lines not on this page · raw message
lib/traceevent/plugins/Makefile deleted +0 -83
83 lines not on this page · raw message
lib/traceevent/plugins/plugin_blk.c deleted +0 -375
375 lines not on this page · raw message
lib/traceevent/plugins/plugin_cfg80211.c deleted +0 -43
43 lines not on this page · raw message
lib/traceevent/plugins/plugin_function.c deleted +0 -282
282 lines not on this page · raw message
lib/traceevent/plugins/plugin_futex.c deleted +0 -125
125 lines not on this page · raw message
lib/traceevent/plugins/plugin_hrtimer.c deleted +0 -70
70 lines not on this page · raw message
lib/traceevent/plugins/plugin_jbd2.c deleted +0 -63
63 lines not on this page · raw message
lib/traceevent/plugins/plugin_kmem.c deleted +0 -82
82 lines not on this page · raw message
lib/traceevent/plugins/plugin_kvm.c deleted +0 -526
526 lines not on this page · raw message
lib/traceevent/plugins/plugin_mac80211.c deleted +0 -188
188 lines not on this page · raw message
lib/traceevent/plugins/plugin_python_loader.c deleted +0 -108
108 lines not on this page · raw message
lib/traceevent/plugins/plugin_sched_switch.c deleted +0 -145
145 lines not on this page · raw message
lib/traceevent/plugins/plugin_scsi.c deleted +0 -434
434 lines not on this page · raw message
lib/traceevent/plugins/plugin_tlb.c deleted +0 -66
66 lines not on this page · raw message
lib/traceevent/plugins/plugin_xen.c deleted +0 -138
138 lines not on this page · raw message
lib/traceevent/tep_strerror.c deleted +0 -53
53 lines not on this page · raw message
lib/traceevent/trace-seq.c deleted +0 -249
249 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.30.1
Part of the diff is not shown here. View the raw message.
PATCH 3/3 trace-cmd: Remove libtracefs code
In reply to Steven RostedtFrom: "Steven Rostedt (VMware)" <[email protected]>
Now that there is an external libtraceevent repository at:
https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
Force the use of that repository, and remove the need to have duplicate updates.
--- Makefile | 42 +- lib/tracefs/Makefile | 70 ---- lib/tracefs/include/tracefs-local.h | 30 -- lib/tracefs/tracefs-events.c | 626 ---------------------------- lib/tracefs/tracefs-instance.c | 455 -------------------- lib/tracefs/tracefs-utils.c | 230 ---------- 6 files changed, 16 insertions(+), 1437 deletions(-) delete mode 100644 lib/tracefs/Makefile delete mode 100644 lib/tracefs/include/tracefs-local.h delete mode 100644 lib/tracefs/tracefs-events.c delete mode 100644 lib/tracefs/tracefs-instance.c delete mode 100644 lib/tracefs/tracefs-utils.c
Makefile +16 -26
@@ -225,19 +225,10 @@ export LIBTRACECMD_STATIC LIBTRACECMD_SHARED export LIBTRACECMD_SHARED_VERSION LIBTRACECMD_SHARED_SO LIBTRACEEVENT=libtraceevent - LIBTRACEFS=libtracefs -LIBTRACEFS_DIR = $(obj)/lib/tracefs -LIBTRACEFS_STATIC = $(LIBTRACEFS_DIR)/libtracefs.a TEST_LIBTRACEEVENT = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEEVENT) > /dev/null 2>&1 && echo y") - -# In the special case (debugging), that the local versions of the -# libraries need to be built, adding "LOCAL_LIBS=1" to the make -# command line will skip the check if they are installed. -ifneq ("$(origin LOCAL_LIBS)", "command line") TEST_LIBTRACEFS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEFS) > /dev/null 2>&1 && echo y") -endif ifeq ("$(TEST_LIBTRACEEVENT)", "y") LIBTRACEEVENT_CFLAGS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEEVENT)")
@@ -262,9 +253,17 @@ ifeq ("$(TEST_LIBTRACEFS)", "y") LIBTRACEFS_CFLAGS = $(shell sh -c "$(PKG_CONFIG) --cflags $(LIBTRACEFS)") LIBTRACEFS_LDLAGS = $(shell sh -c "$(PKG_CONFIG) --libs $(LIBTRACEFS)") else -LIBTRACEFS_CFLAGS = -I$(src)/include/tracefs -LIBTRACEFS_LDLAGS = -L$(LIBTRACEFS_DIR) -ltracefs -LIBTRACEFS_STATIC_BUILD = $(LIBTRACEFS_STATIC) +.PHONY: warning +warning: + @echo "********************************************" + @echo "** NOTICE: libtracefs not found on system" + @echo "**" + @echo "** Consider installing the latest libtracefs from your" + @echo "** distribution, or from source:" + @echo "**" + @echo "** https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ " + @echo "**" + @echo "********************************************" endif export LIBTRACEFS_CFLAGS LIBTRACEFS_LDLAGS
@@ -273,7 +272,7 @@ TRACE_LIBS = -L$(LIBTRACECMD_DIR) -ltracecmd \ $(LIBTRACEEVENT_LDLAGS) $(LIBTRACEFS_LDLAGS) export LIBS TRACE_LIBS -export LIBTRACECMD_DIR LIBTRACEFS_DIR +export LIBTRACECMD_DIR export Q SILENT VERBOSE EXT # Include the utils
@@ -369,7 +368,7 @@ $(PKG_CONFIG_FILE) : ${PKG_CONFIG_SOURCE_FILE}.template $(BUILD_PREFIX) $(kshark-dir)/build/Makefile: $(kshark-dir)/CMakeLists.txt $(Q) cd $(kshark-dir)/build && $(CMAKE_COMMAND) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -D_INSTALL_PREFIX=$(prefix) -D_LIBDIR=$(libdir) .. -trace-cmd: force $(LIBTRACECMD_STATIC) $(LIBTRACEFS_STATIC_BUILD) \ +trace-cmd: force $(LIBTRACECMD_STATIC) \ force $(obj)/lib/trace-cmd/plugins/tracecmd_plugin_dir $(Q)$(MAKE) -C $(src)/tracecmd $(obj)/tracecmd/$@
@@ -379,26 +378,18 @@ $(LIBTRACECMD_STATIC): force $(LIBTRACECMD_SHARED): force $(Q)$(MAKE) -C $(src)/lib/trace-cmd libtracecmd.so -$(LIBTRACEFS_STATIC): force - $(Q)$(MAKE) -C $(src)/lib/tracefs libtracefs - libtracecmd.a: $(LIBTRACECMD_STATIC) libtracecmd.so: $(LIBTRACECMD_SHARED) -libtracefs.a: $(LIBTRACEFS_STATIC) - -libs: $(LIBTRACECMD_SHARED) $(LIBTRACEFS_STATIC_BUILD) $(PKG_CONFIG_FILE) - -libtracefs_nowarn: force - $(Q)$(MAKE) -C $(src)/lib/tracefs $@ +libs: $(LIBTRACECMD_SHARED) $(PKG_CONFIG_FILE) -gui: force $(CMD_TARGETS) libtracefs_nowarn +gui: force $(CMD_TARGETS) $(MAKE) $(kshark-dir)/build/Makefile $(Q)$(MAKE) $(S) -C $(kshark-dir)/build @echo "gui build complete" @echo " kernelshark located at $(kshark-dir)/bin" -test: force $(LIBTRACEFS_STATIC_BUILD) $(LIBTRACECMD_STATIC) +test: force $(LIBTRACECMD_STATIC) ifneq ($(CUNIT_INSTALLED),1) $(error CUnit framework not installed, cannot build unit tests)) endif
@@ -492,7 +483,6 @@ clean: $(RM) *.o *~ *.a *.so .*.d $(RM) tags TAGS cscope* $(PKG_CONFIG_SOURCE_FILE) $(MAKE) -C $(src)/lib/trace-cmd clean - $(MAKE) -C $(src)/lib/tracefs clean $(MAKE) -C $(src)/lib/trace-cmd/plugins clean $(MAKE) -C $(src)/utest clean $(MAKE) -C $(src)/python clean
lib/tracefs/Makefile deleted +0 -70
70 lines not on this page · raw message
lib/tracefs/include/tracefs-local.h deleted +0 -30
@@ -1,30 +0,0 @@ -/* SPDX-License-Identifier: LGPL-2.1 */ -/* -* Copyright (C) 2019, VMware, Tzvetomir Stoyanov <[email protected]> -* -*/ -#ifndef _TRACE_FS_LOCAL_H -#define _TRACE_FS_LOCAL_H - -#define __hidden __attribute__((visibility ("hidden"))) - -/* Can be overridden */ -void warning (const char *fmt, ...); -int str_read_file (const char *file,char **buffer); -char *trace_append_file (const char *dir,const char *name); - -char *trace_find_tracing_dir (void ); - -#ifndef ACCESSPERMS -#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO)/* 0777 */ -#endif - -#ifndef ALLPERMS -#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ -#endif - -#ifndef DEFFILEMODE -#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/ -#endif - -#endif /* _TRACE_FS_LOCAL_H */
lib/tracefs/tracefs-events.c deleted +0 -626
626 lines not on this page · raw message
lib/tracefs/tracefs-instance.c deleted +0 -455
455 lines not on this page · raw message
lib/tracefs/tracefs-utils.c deleted +0 -230
230 lines not on this page · raw message
Signature · 1 line
2.30.1