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/tracef.h>
14 int main(int argc
, char **argv
)
18 const char *str
= "mystring test";
22 delay
= atoi(argv
[1]);
24 fprintf(stderr
, "Demo program starting.\n");
28 fprintf(stderr
, "Tracing... ");
29 for (i
= 0; i
< 5; i
++) {
30 tracef("This is a \"%s\" formatted %d event %lx",
33 fprintf(stderr
, " done.\n");
This page took 0.056075 seconds and 4 git commands to generate.