aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2008-09-16 15:00:21 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2008-09-16 15:00:21 -0400
commit3bc3a229f237fd62820efdbf7d5eb9dc8b2f8cb3 (patch)
tree39ed9e96685f5d637645f79258abf59db2a0ba52
parent460d19baddd2ac077d2c06f090ac1db09e1730e6 (diff)
stdump: remove in preparation of sched_trace rework
-rw-r--r--Makefile5
-rw-r--r--bin/stdump.c22
2 files changed, 1 insertions, 26 deletions
diff --git a/Makefile b/Makefile
index ace3c0c..b00ae23 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ LIBS= ./liblitmus.a
19LIB_OBJ= litmus.o syscalls.o sched_trace.o task.o kernel_iface.o 19LIB_OBJ= litmus.o syscalls.o sched_trace.o task.o kernel_iface.o
20 20
21TARGETS = run rt_launch liblitmus.a \ 21TARGETS = 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
24vpath %.h include/ 24vpath %.h include/
25vpath %.c src/ bin/ 25vpath %.c src/ bin/
@@ -52,9 +52,6 @@ rt_launch: liblitmus.a litmus.h rt_launch.o common.o
52release_ts: liblitmus.a litmus.h release_ts.o 52release_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
55stdump: liblitmus.a litmus.h sched_trace.h stdump.o
56 ${CC} ${CFLAGS} -o stdump stdump.o ${LIBS}
57
58liblitmus.a: ${LIB_OBJ} litmus.h 55liblitmus.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
11int 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}