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>
37 TP_FIELDS(ctf_integer(int, intfield
, anint
) ctf_integer_hex(
38 int, intfield2
, anint
) ctf_integer(long, longfield
, anint
)
39 ctf_integer_network(int, netintfield
, netint
) ctf_integer_network_hex(
40 int, netintfieldhex
, netint
) ctf_array(long, arrfield1
, values
, 3)
41 ctf_array_text(char, arrfield2
, text
, 10) ctf_array_network(
45 3) ctf_sequence(char, seqfield1
, text
, size_t, textlen
)
46 ctf_sequence_text(char, seqfield2
, text
, size_t, textlen
)
47 ctf_sequence_network(uint32_t,
56 ctf_string(stringfield
,
57 text
) ctf_string(stringfield2
,
66 #endif /* _TRACEPOINT_TP_H */
68 #undef TRACEPOINT_INCLUDE
69 #define TRACEPOINT_INCLUDE "./tp.h"
71 /* This part must be outside ifdef protection */
72 #include <lttng/tracepoint-event.h>
This page took 0.030888 seconds and 4 git commands to generate.