Introduce API compatibility macros
[lttng-ust.git] / doc / examples / gen-tp / sample_tracepoint.tp
CommitLineData
b25c5b37
YB
1TRACEPOINT_EVENT(
2 sample_tracepoint,
3 message, // C++ Style comment
74c3f8e2 4 TP_ARGS(const char *, text),
b25c5b37
YB
5 TP_FIELDS(
6 ctf_string(message, text)
7 )
8)
9/*
10 * Longer comments
11 */
12TRACEPOINT_LOGLEVEL(
13 sample_tracepoint,
14 message,
15 TRACE_WARNING)
This page took 0.028277 seconds and 4 git commands to generate.