X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=usertrace-generic%2FREADME;h=5165ebd14215a4f9bb6a3c8484c29424b8d4b222;hb=06b6cf125d86305a5231e744fc6c6febb113484e;hp=02e7d0c9c10f4b5072b8885e9e1e32f7896339b9;hpb=dbd434b1c66fea2d965eea7d0421af5c9af3e5ff;p=lttv.git diff --git a/usertrace-generic/README b/usertrace-generic/README index 02e7d0c9..5165ebd1 100644 --- a/usertrace-generic/README +++ b/usertrace-generic/README @@ -168,9 +168,8 @@ See the sample-instrument-fct.c example program. - Compile your application with at least these parameters to gcc (it is splitted on two lines, joined by a "\") : -gcc -g -I /usr/src/usertrace-generic -o myapp myapp.c \ - /usr/src/usertrace-generic/ltt-facility-loader-user_myfacility.c \ - /usr/src/usertrace-generic/ltt-instrument-functions.c +gcc -g -finstrument-functions -I /usr/src/usertrace-generic \ + -llibltt-instrument-functions -o myapp myapp.c To see what the final result looks like : - Start tracing