Commit | Line | Data |
---|---|---|
a4ada9b8 MD |
1 | #undef TRACEPOINT_PROVIDER |
2 | #define TRACEPOINT_PROVIDER lttng_ust_java | |
2b6f8df9 | 3 | |
a4ada9b8 MD |
4 | #if !defined(_TRACEPOINT_LTTNG_UST_JAVA_H) || defined(TRACEPOINT_HEADER_MULTI_READ) |
5 | #define _TRACEPOINT_LTTNG_UST_JAVA_H | |
2b6f8df9 MD |
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 | ||
2ac85198 | 25 | #include <lttng/tracepoint.h> |
2b6f8df9 | 26 | |
a4ada9b8 | 27 | TRACEPOINT_EVENT(lttng_ust_java, string, |
2b6f8df9 | 28 | TP_PROTO(const char *name, const char *args), |
11dfd4ee | 29 | TP_VARS(name, args), |
2b6f8df9 MD |
30 | TP_FIELDS( |
31 | ctf_string(name, name) | |
32 | ctf_string(args, args) | |
33 | ) | |
34 | ) | |
35 | ||
a4ada9b8 | 36 | #endif /* _TRACEPOINT_LTTNG_UST_JAVA_H */ |
2b6f8df9 MD |
37 | |
38 | #undef TRACEPOINT_INCLUDE_PATH | |
39 | #define TRACEPOINT_INCLUDE_PATH . | |
40 | #undef TRACEPOINT_INCLUDE_FILE | |
2ac85198 | 41 | #define TRACEPOINT_INCLUDE_FILE lttng_ust_java |
2b6f8df9 MD |
42 | |
43 | /* This part must be outside protection */ | |
2ac85198 | 44 | #include <lttng/tracepoint-event.h> |