- for(i=0; i<50; i++) {
- ust_marker(bar, "str %s", "FOOBAZ");
- ust_marker(bar2, "number1 %d number2 %d", 53, 9800);
- tracepoint(hello_tptest, i);
- usleep(100000);
- }
-
- if (scanf("%*s") == EOF)
- PERROR("scanf failed");
-
- ustctl_stop_trace(getpid(), "auto");
- ustctl_destroy_trace(getpid(), "auto");
-
- DBG("TRACE STOPPED");
- if (scanf("%*s") == EOF)
- PERROR("scanf failed");