Clean-up: run format-cpp on the tree
[lttng-tools.git] / tests / regression / ust / high-throughput / tp.h
CommitLineData
9d16b343
MJ
1/*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
e72d66a6
DG
8#undef TRACEPOINT_PROVIDER
9#define TRACEPOINT_PROVIDER tp
10
11#if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12#define _TRACEPOINT_TP_H
13
e72d66a6
DG
14#include <lttng/tracepoint.h>
15
28f23191
JG
16TRACEPOINT_EVENT(
17 tp,
18 tptest,
19 TP_ARGS(int,
20 anint,
21 int,
22 netint,
23 long *,
24 values,
25 char *,
26 text,
27 size_t,
28 textlen,
29 double,
30 doublearg,
31 float,
32 floatarg),
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)
42 ctf_float(double,
43 doublefield,
44 doublearg)))
e72d66a6 45
e72d66a6
DG
46#endif /* _TRACEPOINT_TP_H */
47
59eb182b
MD
48#undef TRACEPOINT_INCLUDE
49#define TRACEPOINT_INCLUDE "./tp.h"
e72d66a6
DG
50
51/* This part must be outside ifdef protection */
52#include <lttng/tracepoint-event.h>
This page took 0.055136 seconds and 4 git commands to generate.