2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
9 #define LTTNG_UST_TRACEPOINT_DEFINE
10 #include "ust_tests_ust_fields.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_ust_fields
, tptest
, i
, i
% 6,
30 for (i
= 0; i
< 10; i
++) {
31 lttng_ust_tracepoint(ust_tests_ust_fields
, tptest_bis
, i
, i
% 6);
33 fprintf(stderr
, " done.\n");
This page took 0.030073 seconds and 4 git commands to generate.