commit 790d9fa1a436ba6e480918d912400e5f1420cde4
parent 6869382be1a41df5b9cc2ba55fcbad4384c82d02
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sun, 26 Mar 2023 22:22:02 +0200
debug(lttng): add debug_int
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/diary-tp.h b/src/diary-tp.h
@@ -95,6 +95,19 @@ TRACEPOINT_EVENT(
TRACEPOINT_EVENT(
diary,
+ debug_int,
+ TP_ARGS(
+ char*, msg_arg,
+ int, n_arg
+ ),
+ TP_FIELDS(
+ ctf_string(msg, msg_arg)
+ ctf_integer(int, n, n_arg)
+ )
+)
+
+TRACEPOINT_EVENT(
+ diary,
debug_double,
TP_ARGS(
char*, msg_arg,
@@ -143,6 +156,7 @@ TRACEPOINT_LOGLEVEL(diary, error_date, TRACE_ERR)
TRACEPOINT_LOGLEVEL(diary, error_int_long, TRACE_ERR)
TRACEPOINT_LOGLEVEL(diary, debug, TRACE_DEBUG)
TRACEPOINT_LOGLEVEL(diary, debug_string, TRACE_DEBUG)
+TRACEPOINT_LOGLEVEL(diary, debug_int, TRACE_DEBUG)
TRACEPOINT_LOGLEVEL(diary, debug_double, TRACE_DEBUG)
TRACEPOINT_LOGLEVEL(diary, debug_sizet, TRACE_DEBUG)
TRACEPOINT_LOGLEVEL(diary, warning_string, TRACE_WARNING)