6b6021db0f5d8374d7277bcd9d8bfd0e225047c9
2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
9 #define TRACEPOINT_DEFINE
10 #include "ust_tests_ctf_types.h"
12 int main(int argc
, char **argv
)
18 delay
= atoi(argv
[1]);
20 fprintf(stderr
, "Hello, World!\n");
24 fprintf(stderr
, "Tracing... ");
25 for (i
= 0; i
< 100; i
++) {
26 lttng_ust_tracepoint(ust_tests_ctf_types
, tptest
, i
, i
% 6,
30 for (i
= 0; i
< 10; i
++) {
31 lttng_ust_tracepoint(ust_tests_ctf_types
, tptest_bis
, i
, i
% 6);
33 fprintf(stderr
, " done.\n");
This page took 0.029602 seconds and 3 git commands to generate.