diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-09-16 15:00:21 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-09-16 15:00:21 -0400 |
| commit | 3bc3a229f237fd62820efdbf7d5eb9dc8b2f8cb3 (patch) | |
| tree | 39ed9e96685f5d637645f79258abf59db2a0ba52 | |
| parent | 460d19baddd2ac077d2c06f090ac1db09e1730e6 (diff) | |
stdump: remove in preparation of sched_trace rework
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | bin/stdump.c | 22 |
2 files changed, 1 insertions, 26 deletions
| @@ -19,7 +19,7 @@ LIBS= ./liblitmus.a | |||
| 19 | LIB_OBJ= litmus.o syscalls.o sched_trace.o task.o kernel_iface.o | 19 | LIB_OBJ= litmus.o syscalls.o sched_trace.o task.o kernel_iface.o |
| 20 | 20 | ||
| 21 | TARGETS = run rt_launch liblitmus.a \ | 21 | TARGETS = run rt_launch liblitmus.a \ |
| 22 | wait_test np_test stdump mode_test base_task base_mt_task release_ts | 22 | wait_test np_test mode_test base_task base_mt_task release_ts |
| 23 | 23 | ||
| 24 | vpath %.h include/ | 24 | vpath %.h include/ |
| 25 | vpath %.c src/ bin/ | 25 | vpath %.c src/ bin/ |
| @@ -52,9 +52,6 @@ rt_launch: liblitmus.a litmus.h rt_launch.o common.o | |||
| 52 | release_ts: liblitmus.a litmus.h release_ts.o | 52 | release_ts: liblitmus.a litmus.h release_ts.o |
| 53 | ${CC} ${CFLAGS} -static -o release_ts release_ts.o ${LIBS} | 53 | ${CC} ${CFLAGS} -static -o release_ts release_ts.o ${LIBS} |
| 54 | 54 | ||
| 55 | stdump: liblitmus.a litmus.h sched_trace.h stdump.o | ||
| 56 | ${CC} ${CFLAGS} -o stdump stdump.o ${LIBS} | ||
| 57 | |||
| 58 | liblitmus.a: ${LIB_OBJ} litmus.h | 55 | liblitmus.a: ${LIB_OBJ} litmus.h |
| 59 | ${AR} rcs liblitmus.a ${LIB_OBJ} | 56 | ${AR} rcs liblitmus.a ${LIB_OBJ} |
| 60 | 57 | ||
diff --git a/bin/stdump.c b/bin/stdump.c deleted file mode 100644 index 30715dd..0000000 --- a/bin/stdump.c +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | #include <stdlib.h> | ||
| 3 | #include <string.h> | ||
| 4 | |||
| 5 | |||
| 6 | #include "litmus.h" | ||
| 7 | #include "sched_trace.h" | ||
| 8 | |||
| 9 | |||
| 10 | |||
| 11 | int main(int argc, char** argv) | ||
| 12 | { | ||
| 13 | record_callback_t cb; | ||
| 14 | int ret; | ||
| 15 | |||
| 16 | init_record_callback(&cb); | ||
| 17 | |||
| 18 | ret = walk_sched_trace_files_ordered(argv + 1, argc - 1, 0, &cb); | ||
| 19 | if (ret != 0) | ||
| 20 | perror("walk failed"); | ||
| 21 | return 0; | ||
| 22 | } | ||
