X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fhello%2Fhello.c;h=5db487b05a1503040865102e34565b8427f0a932;hb=31d392f1a565abd0751302d8c52b9f9e695e051e;hp=dc220c46075141063200ea856dab819f311b7579;hpb=93d0f2eaff675059588e958e3de74a1bb7dd4028;p=ust.git diff --git a/tests/hello/hello.c b/tests/hello/hello.c index dc220c4..5db487b 100644 --- a/tests/hello/hello.c +++ b/tests/hello/hello.c @@ -8,8 +8,9 @@ #include #include +#include "usterr.h" #include "tp.h" - +#include "tracer.h" void inthandler(int sig) { @@ -62,13 +63,10 @@ int main() scanf("%*s"); ltt_trace_stop("auto"); - ltt_trace_destroy("auto"); + ltt_trace_destroy("auto", 0); DBG("TRACE STOPPED"); scanf("%*s"); return 0; } - -MARKER_LIB; -TRACEPOINT_LIB;