Move to kernel style SPDX license identifiers
[lttng-ust.git] / doc / examples / gen-tp / sample.c
CommitLineData
b25c5b37 1/*
c0c0989a 2 * SPDX-License-Identifier: MIT
b25c5b37 3 *
c0c0989a
MJ
4 * Copyright (C) 2011-2012 Matthew Khouzam <matthew.khouzam@ericsson.com>
5 * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
b25c5b37 6 */
e92f3e28 7
b25c5b37
YB
8#include <unistd.h>
9
10#include "sample_tracepoint.h"
11int main(int argc, char **argv)
12{
13 int i = 0;
14
15 for (i = 0; i < 100000; i++) {
16 tracepoint(sample_tracepoint, message, "Hello World\n");
17 usleep(1);
18 }
19 return 0;
20}
This page took 0.027457 seconds and 4 git commands to generate.