diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-10 13:58:12 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-10 13:58:12 -0500 |
commit | 560f78a3b6f771d78e24e5c83f4dd943ee2b4f15 (patch) | |
tree | 66de5239b041803e8ce7e5a8b42e447cfe79537f /Makefile | |
parent | 4d03347b50ec3b6f37beb557487f74a9a3d47558 (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-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 | ||
12 | TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so | 12 | TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \ |
13 | plugin_sched_switch.so | ||
13 | 14 | ||
14 | all: $(TARGETS) | 15 | all: $(TARGETS) |
15 | 16 | ||
@@ -63,6 +64,12 @@ plugin_hrtimer.o: plugin_hrtimer.c parse-events.h | |||
63 | plugin_hrtimer.so: plugin_hrtimer.o | 64 | plugin_hrtimer.so: plugin_hrtimer.o |
64 | $(CC) -shared -nostartfiles -o $@ $< | 65 | $(CC) -shared -nostartfiles -o $@ $< |
65 | 66 | ||
67 | plugin_sched_switch.o: plugin_sched_switch.c parse-events.h | ||
68 | $(CC) -c $(CFLAGS) -fPIC -o $@ $< | ||
69 | |||
70 | plugin_sched_switch.so: plugin_sched_switch.o | ||
71 | $(CC) -shared -nostartfiles -o $@ $< | ||
72 | |||
66 | plugin_mac80211.o: plugin_mac80211.c parse-events.h | 73 | plugin_mac80211.o: plugin_mac80211.c parse-events.h |
67 | $(CC) -c $(CFLAGS) -fPIC -o $@ $< | 74 | $(CC) -c $(CFLAGS) -fPIC -o $@ $< |
68 | 75 | ||