X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=hello%2Fhello.c;h=67b9ef3a9f56f1455e2f43026d46e816d34ed792;hb=20b37a3100b0d8722b361f62fd592520264fb9fa;hp=d271a453149b4e74b05ee7242f185b408b645d18;hpb=4db647c5217c9350040c781cdca7ad4a09384337;p=lttng-ust.git diff --git a/hello/hello.c b/hello/hello.c index d271a453..67b9ef3a 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(ust, bar, "str %s", "FOOBAZ"); + trace_mark(ust, bar2, "number1 %d number2 %d", 53, 9800); usleep(100000); } - ltt_trace_stop("auto"); - ltt_trace_destroy("auto"); - scanf("%*s"); return 0;