2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2009 Pierre-Marc Fournier
5 * Copyright (C) 2011-2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 #include <lttng/tracelog.h>
14 int main(int argc
, char **argv
)
20 delay
= atoi(argv
[1]);
22 fprintf(stderr
, "Demo program starting.\n");
26 fprintf(stderr
, "Tracing... ");
27 for (i
= 0; i
< 5; i
++) {
28 tracelog(TRACE_ERR
, "Error condition %d", i
);
30 fprintf(stderr
, " done.\n");
This page took 0.054482 seconds and 4 git commands to generate.