X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fhello%2Fhello.c;h=c0b541fd33d23b6c5dbecdac1933b4c0d480b40f;hb=30ffe2794fc413035208cdd2a7a061bc208e210f;hp=7eecf69e83f0bbaf23949a71e191806bf884687a;hpb=8b6984b8b5c6fb912c2cf3495d322f01a5bbc8eb;p=ust.git diff --git a/tests/hello/hello.c b/tests/hello/hello.c index 7eecf69..c0b541f 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -25,8 +25,8 @@ #include #include +#include #include "usterr.h" -#include "tracer.h" #include "tp.h" void inthandler(int sig) @@ -80,8 +80,8 @@ int main() if (scanf("%*s") == EOF) PERROR("scanf failed"); - ltt_trace_stop("auto"); - ltt_trace_destroy("auto", 0); + ustctl_stop_trace(getpid(), "auto"); + ustctl_destroy_trace(getpid(), "auto"); DBG("TRACE STOPPED"); if (scanf("%*s") == EOF)