Commit | Line | Data |
---|---|---|
53f7d0d7 MJ |
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 | |
e92f3e28 | 5 | |
b25c5b37 YB |
6 | #include <unistd.h> |
7 | ||
8 | #include "sample_tracepoint.h" | |
2208d8b5 | 9 | int main(void) |
b25c5b37 YB |
10 | { |
11 | int i = 0; | |
12 | ||
13 | for (i = 0; i < 100000; i++) { | |
cbc06a3b | 14 | lttng_ust_tracepoint(sample_tracepoint, message, "Hello World\n"); |
b25c5b37 YB |
15 | usleep(1); |
16 | } | |
17 | return 0; | |
18 | } |