2 * Copyright (C) 2014 Geneviève Bastien <gbastien@versatic.net>
4 * SPDX-License-Identifier: LGPL-2.1-only
9 * This test generates a few events and exits.
14 #define TRACEPOINT_DEFINE
15 #define TRACEPOINT_CREATE_PROBES
16 #include "ust_tests_td.h"
18 int main(int argc
, char *argv
[])
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);
27 tracepoint(ust_tests_td
, test_auto
);
This page took 0.029819 seconds and 4 git commands to generate.