X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=usertrace-generic%2FREADME;h=b9ac1fb431c5a0861a43d9aaea08a54a0d955e31;hb=463fc1efb3b7f498b3e58b840cd6a5f92a57fc00;hp=6787faded90f2e8e86e29c5592cacaca63908d9a;hpb=22b64679de36f6cfcefb690fc4170908b1341a7f;p=lttv.git diff --git a/usertrace-generic/README b/usertrace-generic/README index 6787fade..b9ac1fb4 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 -finstrument-functions -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 \ + -lltt-instrument-functions -o myapp myapp.c To see what the final result looks like : - Start tracing