tests: Move to kernel style SPDX license identifiers
[lttng-tools.git] / tests / regression / ust / type-declarations / type-declarations.c
1 /*
2 * Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 /*
9 * This test generates a few events and exits.
10 */
11
12 #include <unistd.h>
13
14 #define TRACEPOINT_DEFINE
15 #define TRACEPOINT_CREATE_PROBES
16 #include "ust_tests_td.h"
17
18 int main(int argc, char *argv[])
19 {
20 int i;
21
22 for (i = 0; i < 2; i++) {
23 tracepoint(ust_tests_td, tptest, i % 2, (i+1) % 2, i % 21);
24 tracepoint(ust_tests_td, tptest_bis, i % 2);
25 }
26
27 tracepoint(ust_tests_td, test_auto);
28
29 return 0;
30 }
This page took 0.030795 seconds and 5 git commands to generate.