2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp
11 #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_H
14 #include <lttng/tracepoint.h>
20 TP_ENUM_VALUES(ctf_enum_auto("AUTO: EXPECT 0") ctf_enum_value("VALUE: 23", 23)
21 ctf_enum_value("VALUE: 27",
22 27) ctf_enum_auto("AUTO: EXPECT 28")
23 ctf_enum_range("RANGE: 101 TO 303", 101, 303)
24 ctf_enum_auto("AUTO: EXPECT 304")
25 ctf_enum_value("VALUE: -1", -1)))
49 ctf_integer(int, intfield
, anint
) ctf_integer_hex(int, intfield2
, anint
) ctf_integer(
50 long, longfield
, anint
) ctf_integer(int,
52 -1) ctf_integer_network(int,
55 ctf_integer_network_hex(int, netintfieldhex
, netint
) ctf_array(
59 3) ctf_array_text(char,
62 10) ctf_array_network(uint32_t,
70 ctf_sequence_text(char,
74 textlen
) ctf_sequence_network(uint32_t,
79 ctf_sequence(long, seqfield4
, values
, size_t, 3) ctf_string(
81 text
) ctf_string(stringfield2
,
82 etext
) ctf_float(float,
85 ctf_float(double, doublefield
, doublearg
) ctf_enum(
99 ctf_enum(tp
, tptest_enum
, int, enum28
, 28)
115 TRACEPOINT_EVENT(tp
, end
, TP_ARGS(), TP_FIELDS())
117 #endif /* _TRACEPOINT_TP_H */
119 #undef TRACEPOINT_INCLUDE
120 #define TRACEPOINT_INCLUDE "./tp.h"
122 /* This part must be outside ifdef protection */
123 #include <lttng/tracepoint-event.h>
This page took 0.030836 seconds and 4 git commands to generate.