1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
#undef TRACEPOINT_PROVIDER
#define TRACEPOINT_PROVIDER lttng_ust_java
#if !defined(_TRACEPOINT_LTTNG_UST_JAVA_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_LTTNG_UST_JAVA_H
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1 of
* the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_java, int_event,
TP_ARGS(const char *, name, int, payload),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(int, int_payload, payload)
)
)
TRACEPOINT_EVENT(lttng_ust_java, int_int_event,
TP_ARGS(const char *, name, int, payload1, int, payload2),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(int, int_payload1, payload1)
ctf_integer(int, int_payload2, payload2)
)
)
TRACEPOINT_EVENT(lttng_ust_java, long_event,
TP_ARGS(const char *, name, long, payload),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(long, long_payload, payload)
)
)
TRACEPOINT_EVENT(lttng_ust_java, long_long_event,
TP_ARGS(const char *, name, long, payload1, long, payload2),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(long, long_payload1, payload1)
ctf_integer(long, long_payload2, payload2)
)
)
TRACEPOINT_EVENT(lttng_ust_java, string_event,
TP_ARGS(const char *, name, const char *, payload),
TP_FIELDS(
ctf_string(name, name)
ctf_string(string_payload, payload)
)
)
#endif /* _TRACEPOINT_LTTNG_UST_JAVA_H */
#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./lttng_ust_java.h"
/* This part must be outside protection */
#include <lttng/tracepoint-event.h>
|