Tracepoint API namespacing 'TRACEPOINT_LOGLEVEL'
[lttng-ust.git] / doc / examples / demo-tracelog / demo-tracelog.c
index 1950a7f4a371bc4e75cb36778d24861284670e06..5a7f0f965489e471cfc671c5a855b64a32f27cdf 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);
+               tracelog(LTTNG_UST_TRACEPOINT_LOGLEVEL_ERR, "Error condition %d", i);
        }
        fprintf(stderr, " done.\n");
        return 0;
This page took 0.023793 seconds and 4 git commands to generate.