X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-jul%2Flttng_ust_jul.h;h=a45af396e6c2aff69cf953ce8be6694dfbc7c3b6;hb=8d17995998aa11ffeecbe2cf7701106283544253;hp=442eda54b2cec35b17c3c880a72fe469824db3ad;hpb=43e5396b3b2247a3f57a8a797239359df3ff083f;p=lttng-ust.git diff --git a/liblttng-ust-jul/lttng_ust_jul.h b/liblttng-ust-jul/lttng_ust_jul.h index 442eda54..a45af396 100644 --- a/liblttng-ust-jul/lttng_ust_jul.h +++ b/liblttng-ust-jul/lttng_ust_jul.h @@ -24,7 +24,35 @@ #include -TRACEPOINT_EVENT(lttng_jul, jul_event, +/* + * Privileged tracepoint meaning that this is only enable and fired by the root + * session daemon. + */ +TRACEPOINT_EVENT(lttng_jul, sys_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) + ) +) + +/* + * 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,