Move to kernel style SPDX license identifiers
[lttng-ust.git] / liblttng-ust-java-agent / jni / jul / lttng_ust_jul.h
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER lttng_jul
9
10 #if !defined(_TRACEPOINT_LTTNG_UST_JUL_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_LTTNG_UST_JUL_H
12
13 #include <lttng/tracepoint.h>
14
15 /*
16 * Tracepoint used by Java applications using the JUL handler.
17 */
18 TRACEPOINT_EVENT(lttng_jul, event,
19 TP_ARGS(
20 const char *, msg,
21 const char *, logger_name,
22 const char *, class_name,
23 const char *, method_name,
24 long, millis,
25 int, log_level,
26 int, thread_id),
27 TP_FIELDS(
28 ctf_string(msg, msg)
29 ctf_string(logger_name, logger_name)
30 ctf_string(class_name, class_name)
31 ctf_string(method_name, method_name)
32 ctf_integer(long, long_millis, millis)
33 ctf_integer(int, int_loglevel, log_level)
34 ctf_integer(int, int_threadid, thread_id)
35 )
36 )
37
38 #endif /* _TRACEPOINT_LTTNG_UST_JUL_H */
39
40 #undef TRACEPOINT_INCLUDE
41 #define TRACEPOINT_INCLUDE "./lttng_ust_jul.h"
42
43 /* This part must be outside protection */
44 #include <lttng/tracepoint-event.h>
This page took 0.028829 seconds and 4 git commands to generate.