Implement the .o file generation in lttng-gen-tp
[lttng-ust.git] / doc / examples / gen-tp / sample_tracepoint.tp
1 TRACEPOINT_EVENT(
2 sample_tracepoint,
3 message, // C++ Style comment
4 TP_ARGS(char *, text),
5 TP_FIELDS(
6 ctf_string(message, text)
7 )
8 )
9 /*
10 * Longer comments
11 */
12 TRACEPOINT_LOGLEVEL(
13 sample_tracepoint,
14 message,
15 TRACE_WARNING)
This page took 0.029305 seconds and 4 git commands to generate.