7 #include <ltt/ltt-facility-user_generic.h>
10 int main(int argc
, char **argv
)
12 printf("Will trace the following string : Hello world! Have a nice day.\n");
13 printf("Abort with CTRL-C.\n");
14 printf("No file is created with this example : it logs through a kernel\n");
15 printf("system call. See the LTTng lttctl command to start tracing.\n");
18 trace_user_generic_string("Hello world! Have a nice day.");
This page took 0.040391 seconds and 5 git commands to generate.