Clean-up: run format-cpp on the tree
[lttng-tools.git] / tests / utils / testapp / gen-ust-nevents-str / tp.h
CommitLineData
5400d18f
PP
1#undef TRACEPOINT_PROVIDER
2#define TRACEPOINT_PROVIDER tp
3
4#if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5#define _TRACEPOINT_TP_H
6
7/*
9d16b343 8 * Copyright (C) 2017 Philippe Proulx <pproulx@efficios.com>
5400d18f 9 *
9d16b343 10 * SPDX-License-Identifier: LGPL-2.1-only
5400d18f 11 *
5400d18f
PP
12 */
13
14#include <lttng/tracepoint.h>
15
28f23191
JG
16TRACEPOINT_EVENT(tp,
17 the_string,
18 TP_ARGS(int, i, int, arg_i, const char *, str),
19 TP_FIELDS(ctf_integer(int, i, i) ctf_integer(long, arg_i, arg_i)
20 ctf_string(str, str)))
5400d18f
PP
21
22#endif /* _TRACEPOINT_TP_H */
23
59eb182b
MD
24#undef TRACEPOINT_INCLUDE
25#define TRACEPOINT_INCLUDE "./tp.h"
5400d18f
PP
26
27/* This part must be outside ifdef protection */
28#include <lttng/tracepoint-event.h>
This page took 0.040749 seconds and 4 git commands to generate.