add a small utility to extract a configuration file from a log

This commit is contained in:
Cedric Roux
2016-06-17 15:39:25 +02:00
parent 99d1328d6e
commit 8e28dacdd9
2 changed files with 80 additions and 1 deletions
+5 -1
View File
@@ -5,7 +5,7 @@ CFLAGS=-Wall -g -pthread -DT_TRACER -I.
LIBS=-lX11 -lm -lpng -lXft
all: record replay textlog enb vcd
all: record replay extract_config textlog enb vcd
record: utils.o record.o database.o config.o
$(CC) $(CFLAGS) -o record $^ $(LIBS)
@@ -13,6 +13,9 @@ record: utils.o record.o database.o config.o
replay: utils.o replay.o
$(CC) $(CFLAGS) -o replay $^ $(LIBS)
extract_config: extract_config.o
$(CC) $(CFLAGS) -o extract_config $^ $(LIBS)
textlog: utils.o textlog.o database.o event.o handler.o config.o \
event_selector.o view/view.a gui/gui.a logger/logger.a \
filter/filter.a
@@ -47,6 +50,7 @@ filter/filter.a:
clean:
rm -f *.o core tracer_remote textlog enb vcd record replay
rm -f extract_config
cd gui && make clean
cd view && make clean
cd logger && make clean