Refactor Java agent to let applications manage the log handlers
[deliverable/lttng-ust.git] / liblttng-ust-java-agent / jni / jul / lttng_ust_jul.h
index a45af396e6c2aff69cf953ce8be6694dfbc7c3b6..1482d90f571552b9c80dd08669ec7a2ffce34e3f 100644 (file)
@@ -25,9 +25,9 @@
 #include <lttng/tracepoint.h>
 
 /*
- * Privileged tracepoint meaning that this is only enable and fired by the root
- * session daemon.
+ * Tracepoint used by Java applications using the JUL handler.
  */
+// FIXME Change "sys_event" to "event" once lttng-tools is updated
 TRACEPOINT_EVENT(lttng_jul, sys_event,
        TP_ARGS(
                const char *, msg,
@@ -48,30 +48,6 @@ TRACEPOINT_EVENT(lttng_jul, sys_event,
        )
 )
 
-/*
- * User tracepoint meaning that this is only enable and fired by a non root
- * session daemon.
- */
-TRACEPOINT_EVENT(lttng_jul, user_event,
-       TP_ARGS(
-               const char *, msg,
-               const char *, logger_name,
-               const char *, class_name,
-               const char *, method_name,
-               long, millis,
-               int, log_level,
-               int, thread_id),
-       TP_FIELDS(
-               ctf_string(msg, msg)
-               ctf_string(logger_name, logger_name)
-               ctf_string(class_name, class_name)
-               ctf_string(method_name, method_name)
-               ctf_integer(long, long_millis, millis)
-               ctf_integer(int, int_loglevel, log_level)
-               ctf_integer(int, int_threadid, thread_id)
-       )
-)
-
 #endif /* _TRACEPOINT_LTTNG_UST_JUL_H */
 
 #undef TRACEPOINT_INCLUDE
This page took 0.025519 seconds and 5 git commands to generate.