Tracepoint API namespacing tracelog
[lttng-ust.git] / doc / examples / demo-tracelog / demo-tracelog.c
index 1950a7f4a371bc4e75cb36778d24861284670e06..35450c88e06e924887191416e7ebe762dba4b125 100644 (file)
@@ -25,7 +25,7 @@ int main(int argc, char **argv)
 
        fprintf(stderr, "Tracing... ");
        for (i = 0; i < 5; i++) {
-               tracelog(TRACE_ERR, "Error condition %d", i);
+               lttng_ust_tracelog(LTTNG_UST_TRACEPOINT_LOGLEVEL_ERR, "Error condition %d", i);
        }
        fprintf(stderr, " done.\n");
        return 0;
This page took 0.022964 seconds and 4 git commands to generate.