X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=hello%2Fhello.c;h=3c4843abfa0c3bb5955be89a0ddff6d577a5dad3;hb=aafb1650caa90246ada3cc2c4ca7fc9493673617;hp=d271a453149b4e74b05ee7242f185b408b645d18;hpb=4db647c5217c9350040c781cdca7ad4a09384337;p=lttng-ust.git diff --git a/hello/hello.c b/hello/hello.c index d271a453..3c4843ab 100644 --- a/hello/hello.c +++ b/hello/hello.c @@ -204,13 +204,11 @@ int main() sleep(1); for(i=0; i<50; i++) { - trace_mark(foo, bar, "%s", "FOOBAZ"); + trace_mark(foo, bar, "str %s", "FOOBAZ"); + trace_mark(foo, bar2, "number1 %d number2 %d", 53, 9800); usleep(100000); } - ltt_trace_stop("auto"); - ltt_trace_destroy("auto"); - scanf("%*s"); return 0;