Adapt tests to TRACEPOINT_INCLUDE
[lttng-ust.git] / liblttng-ust-java / lttng_ust_java.h
CommitLineData
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
14d1b9ce
AM
27TRACEPOINT_EVENT(lttng_ust_java, int_event,
28 TP_ARGS(const char *, name, int, payload),
2b6f8df9
MD
29 TP_FIELDS(
30 ctf_string(name, name)
14d1b9ce
AM
31 ctf_integer(int, int_payload, payload)
32 )
33)
34
071f1d0b
AM
35TRACEPOINT_EVENT(lttng_ust_java, int_int_event,
36 TP_ARGS(const char *, name, int, payload1, int, payload2),
37 TP_FIELDS(
38 ctf_string(name, name)
39 ctf_integer(int, int_payload1, payload1)
40 ctf_integer(int, int_payload2, payload2)
41 )
42)
43
14d1b9ce
AM
44TRACEPOINT_EVENT(lttng_ust_java, long_event,
45 TP_ARGS(const char *, name, long, payload),
46 TP_FIELDS(
47 ctf_string(name, name)
48 ctf_integer(long, long_payload, payload)
49 )
50)
51
071f1d0b
AM
52TRACEPOINT_EVENT(lttng_ust_java, long_long_event,
53 TP_ARGS(const char *, name, long, payload1, long, payload2),
54 TP_FIELDS(
55 ctf_string(name, name)
56 ctf_integer(long, long_payload1, payload1)
57 ctf_integer(long, long_payload2, payload2)
58 )
59)
60
14d1b9ce
AM
61TRACEPOINT_EVENT(lttng_ust_java, string_event,
62 TP_ARGS(const char *, name, const char *, payload),
63 TP_FIELDS(
64 ctf_string(name, name)
65 ctf_string(string_payload, payload)
2b6f8df9
MD
66 )
67)
68
a4ada9b8 69#endif /* _TRACEPOINT_LTTNG_UST_JAVA_H */
2b6f8df9 70
2b6f8df9 71#undef TRACEPOINT_INCLUDE_FILE
f03d1c0a 72#define TRACEPOINT_INCLUDE_FILE ./lttng_ust_java.h
2b6f8df9
MD
73
74/* This part must be outside protection */
2ac85198 75#include <lttng/tracepoint-event.h>
This page took 0.026623 seconds and 4 git commands to generate.