tests: gen-ust-events-ns/tp.h: Fix build with musl libc
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-ns / 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
8a558304
MJ
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
73f906d4 14#include <sys/types.h>
8a558304
MJ
15#include <lttng/tracepoint.h>
16
17TRACEPOINT_EVENT(tp, tptest,
18 TP_ARGS(ino_t, ns_ino),
19 TP_FIELDS(
20 ctf_integer(ino_t, ns_ino, ns_ino)
21 )
22)
23
24#endif /* _TRACEPOINT_TP_H */
25
26#undef TRACEPOINT_INCLUDE_FILE
27#define TRACEPOINT_INCLUDE_FILE ./tp.h
28
29/* This part must be outside ifdef protection */
30#include <lttng/tracepoint-event.h>
This page took 0.024398 seconds and 4 git commands to generate.