Skip to contentSkip to conversation

trace-cmd/kernelshark: Move trace-filter-hash.o libtracecmd.a

PATCH New Steven Rostedt 1 participant 1 message Jun 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 trace-cmd/kernelshark: Move trace-filter-hash.o libtracecmd.a

From: "Steven Rostedt (VMware)" <[email protected]>

Move trace-filter-hash.o into libtracecmd.a as it has useful features for filtering than just for KernelShark.

---
 {kernel-shark/include => include/trace-cmd}/trace-filter-hash.h | 0
 kernel-shark/Makefile                                           | 2 +-
 lib/trace-cmd/Makefile                                          | 1 +
 {kernel-shark => lib/trace-cmd}/trace-filter-hash.c             | 0
 4 files changed, 2 insertions(+), 1 deletion(-)
 rename {kernel-shark/include => include/trace-cmd}/trace-filter-hash.h (100%)
 rename {kernel-shark => lib/trace-cmd}/trace-filter-hash.c (100%)
include/trace-cmd/trace-filter-hash.h renamed from kernel-shark/include/trace-filter-hash.h +0 -0
similarity index 100%
rename from kernel-shark/include/trace-filter-hash.h
rename to include/trace-cmd/trace-filter-hash.h
kernel-shark/Makefile +1 -1
index 8576f3d18dbb..75e4184e5e6c 100644
@@ -27,7 +27,7 @@ KS_VERSION := $(bdir)/include/ks_version.h
 
 GUI_TARGETS = $(KS_VERSION) $(bdir)/trace-graph $(bdir)/trace-view $(bdir)/kernelshark
 
-TRACE_GUI_OBJS = trace-filter.o trace-compat.o trace-filter-hash.o \
+TRACE_GUI_OBJS = trace-filter.o trace-compat.o \
 		 trace-dialog.o trace-xml.o
 TRACE_VIEW_OBJS = trace-view.o trace-view-store.o
 TRACE_GRAPH_OBJS = trace-graph.o trace-plot.o trace-plot-cpu.o trace-plot-task.o
lib/trace-cmd/Makefile +1 -0
index ee090990d9c2..44c1332d0d13 100644
@@ -12,6 +12,7 @@ OBJS += trace-hooks.o
 OBJS += trace-input.o
 OBJS += trace-recorder.o
 OBJS += trace-util.o
+OBJS += trace-filter-hash.o
 
 # Additional util objects
 OBJS += trace-blk-hack.o
lib/trace-cmd/trace-filter-hash.c renamed from kernel-shark/trace-filter-hash.c +0 -0
similarity index 100%
rename from kernel-shark/trace-filter-hash.c
rename to lib/trace-cmd/trace-filter-hash.c
Signature · 1 line
2.17.1