a45af396e6c2aff69cf953ce8be6694dfbc7c3b6
1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER lttng_jul
4 #if !defined(_TRACEPOINT_LTTNG_UST_JUL_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_LTTNG_UST_JUL_H
8 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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
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.
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
25 #include <lttng/tracepoint.h>
28 * Privileged tracepoint meaning that this is only enable and fired by the root
31 TRACEPOINT_EVENT(lttng_jul
, sys_event
,
34 const char *, logger_name
,
35 const char *, class_name
,
36 const char *, method_name
,
42 ctf_string(logger_name
, logger_name
)
43 ctf_string(class_name
, class_name
)
44 ctf_string(method_name
, method_name
)
45 ctf_integer(long, long_millis
, millis
)
46 ctf_integer(int, int_loglevel
, log_level
)
47 ctf_integer(int, int_threadid
, thread_id
)
52 * User tracepoint meaning that this is only enable and fired by a non root
55 TRACEPOINT_EVENT(lttng_jul
, user_event
,
58 const char *, logger_name
,
59 const char *, class_name
,
60 const char *, method_name
,
66 ctf_string(logger_name
, logger_name
)
67 ctf_string(class_name
, class_name
)
68 ctf_string(method_name
, method_name
)
69 ctf_integer(long, long_millis
, millis
)
70 ctf_integer(int, int_loglevel
, log_level
)
71 ctf_integer(int, int_threadid
, thread_id
)
75 #endif /* _TRACEPOINT_LTTNG_UST_JUL_H */
77 #undef TRACEPOINT_INCLUDE
78 #define TRACEPOINT_INCLUDE "./lttng_ust_jul.h"
80 /* This part must be outside protection */
81 #include <lttng/tracepoint-event.h>
This page took 0.030326 seconds and 3 git commands to generate.