From 3f4f285136e38e9fde623c7e291a687715284a2f Mon Sep 17 00:00:00 2001
From: Cedric Roux <cedric.roux@eurecom.fr>
Date: Fri, 24 Jun 2016 17:57:16 +0200
Subject: [PATCH] fix the T tracee example, it did not work anymore

---
 common/utils/T/tracee/Makefile | 2 +-
 common/utils/T/tracee/tracee.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/utils/T/tracee/Makefile b/common/utils/T/tracee/Makefile
index 703d49d029..10ea3bdca3 100644
--- a/common/utils/T/tracee/Makefile
+++ b/common/utils/T/tracee/Makefile
@@ -2,7 +2,7 @@ CC=gcc
 CFLAGS=-Wall -g -pthread -DT_TRACER -I.
 
 PROG=tracee
-OBJS=tracee.o ../T.o
+OBJS=tracee.o ../T.o ../local_tracer.o
 
 $(PROG): $(OBJS)
 	$(CC) $(CFLAGS) -o $(PROG) $(OBJS) -lrt
diff --git a/common/utils/T/tracee/tracee.c b/common/utils/T/tracee/tracee.c
index b4b73b9e67..f7739f00f9 100644
--- a/common/utils/T/tracee/tracee.c
+++ b/common/utils/T/tracee/tracee.c
@@ -6,7 +6,7 @@
 int main(void)
 {
   int frame = 0;
-  T_connect_to_tracer("127.0.0.1", 2020);
+  T_init(2021, 1);
   while (1) {
     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));
-- 
GitLab