|
Packit |
c04fcb |
#undef TRACEPOINT_PROVIDER
|
|
Packit |
c04fcb |
#define TRACEPOINT_PROVIDER lttng_jul
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
#if !defined(_TRACEPOINT_LTTNG_UST_JUL_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
|
|
Packit |
c04fcb |
#define _TRACEPOINT_LTTNG_UST_JUL_H
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
/*
|
|
Packit |
c04fcb |
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
|
|
Packit |
c04fcb |
*
|
|
Packit |
c04fcb |
* This library is free software; you can redistribute it and/or
|
|
Packit |
c04fcb |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
c04fcb |
* License as published by the Free Software Foundation; version 2.1 of
|
|
Packit |
c04fcb |
* the License.
|
|
Packit |
c04fcb |
*
|
|
Packit |
c04fcb |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
c04fcb |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
c04fcb |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
c04fcb |
* Lesser General Public License for more details.
|
|
Packit |
c04fcb |
*
|
|
Packit |
c04fcb |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
c04fcb |
* License along with this library; if not, write to the Free Software
|
|
Packit |
c04fcb |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit |
c04fcb |
*/
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
#include <lttng/tracepoint.h>
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
/*
|
|
Packit |
c04fcb |
* Tracepoint used by Java applications using the JUL handler.
|
|
Packit |
c04fcb |
*/
|
|
Packit |
c04fcb |
TRACEPOINT_EVENT(lttng_jul, event,
|
|
Packit |
c04fcb |
TP_ARGS(
|
|
Packit |
c04fcb |
const char *, msg,
|
|
Packit |
c04fcb |
const char *, logger_name,
|
|
Packit |
c04fcb |
const char *, class_name,
|
|
Packit |
c04fcb |
const char *, method_name,
|
|
Packit |
c04fcb |
long, millis,
|
|
Packit |
c04fcb |
int, log_level,
|
|
Packit |
c04fcb |
int, thread_id),
|
|
Packit |
c04fcb |
TP_FIELDS(
|
|
Packit |
c04fcb |
ctf_string(msg, msg)
|
|
Packit |
c04fcb |
ctf_string(logger_name, logger_name)
|
|
Packit |
c04fcb |
ctf_string(class_name, class_name)
|
|
Packit |
c04fcb |
ctf_string(method_name, method_name)
|
|
Packit |
c04fcb |
ctf_integer(long, long_millis, millis)
|
|
Packit |
c04fcb |
ctf_integer(int, int_loglevel, log_level)
|
|
Packit |
c04fcb |
ctf_integer(int, int_threadid, thread_id)
|
|
Packit |
c04fcb |
)
|
|
Packit |
c04fcb |
)
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
#endif /* _TRACEPOINT_LTTNG_UST_JUL_H */
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
#undef TRACEPOINT_INCLUDE
|
|
Packit |
c04fcb |
#define TRACEPOINT_INCLUDE "./lttng_ust_jul.h"
|
|
Packit |
c04fcb |
|
|
Packit |
c04fcb |
/* This part must be outside protection */
|
|
Packit |
c04fcb |
#include <lttng/tracepoint-event.h>
|