Adapt internal files and examples to TRACEPOINT_INCLUDE
[lttng-ust.git] / liblttng-ust / probes / lttng-probe-ust.h
CommitLineData
a4ada9b8
MD
1#undef TRACEPOINT_PROVIDER
2#define TRACEPOINT_PROVIDER lttng_ust
a10cfdbd
MD
3
4#if !defined(_TRACEPOINT_LTTNG_UST_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5#define _TRACEPOINT_LTTNG_UST_H
6
7/*
8 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; version 2.1 of
13 * the License.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */
24
4318ae1b 25#include <lttng/tracepoint.h>
a10cfdbd 26
a4ada9b8 27TRACEPOINT_EVENT(lttng_ust, metadata,
a10cfdbd 28
63ef2693 29 TP_ARGS(const char *, str),
a10cfdbd
MD
30
31 /*
32 * Not exactly a string: more a sequence of bytes (dynamic
33 * array) without the length. This is a dummy anyway: we only
34 * use this declaration to generate an event metadata entry.
35 */
36 TP_FIELDS(
37 ctf_string(str, str)
38 )
39)
40
45f399e8
MD
41#undef TRACEPOINT_INCLUDE
42#define TRACEPOINT_INCLUDE "./probes/lttng-probe-ust.h"
a10cfdbd
MD
43
44#endif /* _TRACEPOINT_LTTNG_UST_H */
45
0f6c5917 46/* This part must be outside ifdef protection */
4318ae1b 47#include <lttng/tracepoint-event.h>
This page took 0.026402 seconds and 4 git commands to generate.