Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * SPDX-License-Identifier: MIT | |
3 | * | |
4 | * Copyright (C) 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com> | |
5 | * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
6 | */ | |
7 | ||
8 | #include <unistd.h> | |
9 | ||
10 | #include "sample_tracepoint.h" | |
11 | int main(void) | |
12 | { | |
13 | int i = 0; | |
14 | ||
15 | for (i = 0; i < 100000; i++) { | |
16 | lttng_ust_tracepoint(sample_tracepoint, message, "Hello World\n"); | |
17 | usleep(1); | |
18 | } | |
19 | return 0; | |
20 | } |