doc: implement REUSE with SPDX identifiers
[lttng-ust.git] / doc / examples / gen-tp / sample.c
1 // SPDX-FileCopyrightText: 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
2 // SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 //
4 // SPDX-License-Identifier: MIT
5
6 #include <unistd.h>
7
8 #include "sample_tracepoint.h"
9 int main(void)
10 {
11 int i = 0;
12
13 for (i = 0; i < 100000; i++) {
14 lttng_ust_tracepoint(sample_tracepoint, message, "Hello World\n");
15 usleep(1);
16 }
17 return 0;
18 }
This page took 0.028961 seconds and 4 git commands to generate.