Commit 3f4f2851 authored by Cedric Roux's avatar Cedric Roux
Browse files

fix the T tracee example, it did not work anymore

parent 1a6c20cf
...@@ -2,7 +2,7 @@ CC=gcc ...@@ -2,7 +2,7 @@ CC=gcc
CFLAGS=-Wall -g -pthread -DT_TRACER -I. CFLAGS=-Wall -g -pthread -DT_TRACER -I.
PROG=tracee PROG=tracee
OBJS=tracee.o ../T.o OBJS=tracee.o ../T.o ../local_tracer.o
$(PROG): $(OBJS) $(PROG): $(OBJS)
$(CC) $(CFLAGS) -o $(PROG) $(OBJS) -lrt $(CC) $(CFLAGS) -o $(PROG) $(OBJS) -lrt
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
int main(void) int main(void)
{ {
int frame = 0; int frame = 0;
T_connect_to_tracer("127.0.0.1", 2020); T_init(2021, 1);
while (1) { while (1) {
getchar(); getchar();
T(T_ENB_PHY_PUCCH_1AB_IQ, T_INT(0), T_INT(0), T_INT(frame), T_INT(0), T_INT(0), T_INT(0)); T(T_ENB_PHY_PUCCH_1AB_IQ, T_INT(0), T_INT(0), T_INT(frame), T_INT(0), T_INT(0), T_INT(0));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment