2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER ust_tests_demo2
11 #if !defined(_TRACEPOINT_UST_TESTS_DEMO2_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_UST_TESTS_DEMO2_H
14 #include <lttng/tracepoint.h>
33 TP_FIELDS(ctf_integer(int, intfield
, anint
) ctf_integer_hex(
34 int, intfield2
, anint
) ctf_integer(long, longfield
, anint
)
35 ctf_integer_network(int, netintfield
, netint
) ctf_integer_network_hex(
36 int, netintfieldhex
, netint
) ctf_array(long, arrfield1
, values
, 3)
37 ctf_array_text(char, arrfield2
, text
, 10) ctf_sequence(
38 char, seqfield1
, text
, size_t, textlen
)
39 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
40 ctf_string(stringfield
, text
)
41 ctf_float(float, floatfield
, floatarg
)
45 TRACEPOINT_LOGLEVEL(ust_tests_demo2
, loop
, TRACE_WARNING
)
47 #endif /* _TRACEPOINT_UST_TESTS_DEMO2_H */
49 #undef TRACEPOINT_INCLUDE
50 #define TRACEPOINT_INCLUDE "./ust_tests_demo2.h"
52 /* This part must be outside ifdef protection */
53 #include <lttng/tracepoint-event.h>
This page took 0.03303 seconds and 5 git commands to generate.