aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-12-10 13:58:12 -0500
committerSteven Rostedt <rostedt@goodmis.org>2009-12-10 13:58:12 -0500
commit560f78a3b6f771d78e24e5c83f4dd943ee2b4f15 (patch)
tree66de5239b041803e8ce7e5a8b42e447cfe79537f /Makefile
parent4d03347b50ec3b6f37beb557487f74a9a3d47558 (diff)
Add sched_switch plugin to make the events look more like the old plugin
The event output for scheduler context switches and wakeups changed the output format. This adds a plugin to make those changes look more like the sched_switch plugin. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1b73a9e..f159a46 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,8 @@ LIBS = -L. -ltracecmd -ldl
9%.o: %.c 9%.o: %.c
10 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@ 10 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@
11 11
12TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so 12TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \
13 plugin_sched_switch.so
13 14
14all: $(TARGETS) 15all: $(TARGETS)
15 16
@@ -63,6 +64,12 @@ plugin_hrtimer.o: plugin_hrtimer.c parse-events.h
63plugin_hrtimer.so: plugin_hrtimer.o 64plugin_hrtimer.so: plugin_hrtimer.o
64 $(CC) -shared -nostartfiles -o $@ $< 65 $(CC) -shared -nostartfiles -o $@ $<
65 66
67plugin_sched_switch.o: plugin_sched_switch.c parse-events.h
68 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
69
70plugin_sched_switch.so: plugin_sched_switch.o
71 $(CC) -shared -nostartfiles -o $@ $<
72
66plugin_mac80211.o: plugin_mac80211.c parse-events.h 73plugin_mac80211.o: plugin_mac80211.c parse-events.h
67 $(CC) -c $(CFLAGS) -fPIC -o $@ $< 74 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
68 75