doc: implement REUSE with SPDX identifiers
[lttng-ust.git] / doc / examples / gen-tp / sample.c
index e56c332e79dfd55dc2c194e3d8c9dd7cd527658d..b0b0388ab88a7d4c8bde96667f34cb786af17b23 100644 (file)
@@ -1,9 +1,7 @@
-/*
- * SPDX-License-Identifier: MIT
- *
- * Copyright (C) 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
- * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- */
+// SPDX-FileCopyrightText: 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
+// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+//
+// SPDX-License-Identifier: MIT
 
 #include <unistd.h>
 
@@ -13,7 +11,7 @@ int main(void)
        int i = 0;
 
        for (i = 0; i < 100000; i++) {
-               tracepoint(sample_tracepoint, message,  "Hello World\n");
+               lttng_ust_tracepoint(sample_tracepoint, message,  "Hello World\n");
                usleep(1);
        }
        return 0;
This page took 0.024191 seconds and 4 git commands to generate.