add a very basic tracee to ease debugging of the tracer

This commit is contained in:
Cedric Roux
2016-05-02 14:51:12 +02:00
parent 66f03d3978
commit 98c46f70f7
3 changed files with 31 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
CC=gcc
CFLAGS=-Wall -g -pthread -DT_TRACER -DT_USE_SHARED_MEMORY -I.
PROG=tracee
OBJS=tracee.o ../T.o
$(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $(PROG) $(OBJS) -lrt
tracee.o: tracee.c
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm -f *.o $(PROG) core