Clean-up: run format-cpp on the tree
[lttng-tools.git] / tests / regression / ust / type-declarations / type-declarations.c
CommitLineData
10b56aef
MD
1/*
2 * Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
3 *
9d16b343 4 * SPDX-License-Identifier: LGPL-2.1-only
10b56aef 5 *
10b56aef
MD
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
f46376a1 18int main(void)
10b56aef
MD
19{
20 int i;
21
22 for (i = 0; i < 2; i++) {
28f23191
JG
23 tracepoint(ust_tests_td, tptest, i % 2, (i + 1) % 2, i % 21);
24 tracepoint(ust_tests_td, tptest_bis, i % 2);
10b56aef
MD
25 }
26
358f4691
PP
27 tracepoint(ust_tests_td, test_auto);
28
10b56aef
MD
29 return 0;
30}
This page took 0.043863 seconds and 4 git commands to generate.