Tracepoint API namespacing ctf_string
[lttng-ust.git] / doc / examples / gen-tp / sample_tracepoint.tp
1 LTTNG_UST_TRACEPOINT_EVENT(
2 sample_tracepoint,
3 message, // C++ Style comment
4 LTTNG_UST_TP_ARGS(const char *, text),
5 LTTNG_UST_TP_FIELDS(
6 lttng_ust_field_string(message, text)
7 )
8 )
9 /*
10 * Longer comments
11 */
12 LTTNG_UST_TRACEPOINT_LOGLEVEL(
13 sample_tracepoint,
14 message,
15 LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)
This page took 0.02999 seconds and 4 git commands to generate.