- Compile your application with at least these parameters to gcc (it is splitted
on two lines, joined by a "\") :
-gcc -g -finstrument-functions -I /usr/src/usertrace-generic -o myapp myapp.c \
- -l/usr/lib/ltt-instrument-functions.so
+gcc -g -finstrument-functions \
+ -lltt-instrument-functions -o myapp myapp.c
To see what the final result looks like :
- Start tracing