From 560f78a3b6f771d78e24e5c83f4dd943ee2b4f15 Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Thu, 10 Dec 2009 13:58:12 -0500 Subject: 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 --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1b73a9e..f159a46 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ LIBS = -L. -ltracecmd -ldl %.o: %.c $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@ -TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so +TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \ + plugin_sched_switch.so all: $(TARGETS) @@ -63,6 +64,12 @@ plugin_hrtimer.o: plugin_hrtimer.c parse-events.h plugin_hrtimer.so: plugin_hrtimer.o $(CC) -shared -nostartfiles -o $@ $< +plugin_sched_switch.o: plugin_sched_switch.c parse-events.h + $(CC) -c $(CFLAGS) -fPIC -o $@ $< + +plugin_sched_switch.so: plugin_sched_switch.o + $(CC) -shared -nostartfiles -o $@ $< + plugin_mac80211.o: plugin_mac80211.c parse-events.h $(CC) -c $(CFLAGS) -fPIC -o $@ $< -- cgit v1.2.2