mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
tracepoint: Add signal tracepoints
Change-Id: I6e471df8c0d9a3e4a80ab6a8686834fe0709d065
This commit is contained in:

committed by
Sébastien Blin

parent
a9b95e223d
commit
475f04e10f
@ -100,6 +100,39 @@ LTTNG_UST_TRACEPOINT_EVENT(
|
||||
)
|
||||
)
|
||||
|
||||
LTTNG_UST_TRACEPOINT_EVENT(
|
||||
jami,
|
||||
emit_signal,
|
||||
LTTNG_UST_TP_ARGS(
|
||||
const char*, signal_type
|
||||
),
|
||||
LTTNG_UST_TP_FIELDS(
|
||||
lttng_ust_field_string(signal_type, signal_type)
|
||||
|
||||
)
|
||||
)
|
||||
|
||||
LTTNG_UST_TRACEPOINT_EVENT(
|
||||
jami,
|
||||
emit_signal_begin_callback,
|
||||
LTTNG_UST_TP_ARGS(
|
||||
const char*, filename,
|
||||
uint32_t, linum
|
||||
),
|
||||
LTTNG_UST_TP_FIELDS(
|
||||
lttng_ust_field_string(source_filename, filename)
|
||||
lttng_ust_field_integer(uint32_t, source_line, linum)
|
||||
)
|
||||
)
|
||||
|
||||
LTTNG_UST_TRACEPOINT_EVENT(
|
||||
jami,
|
||||
emit_signal_end_callback,
|
||||
LTTNG_UST_TP_ARGS(
|
||||
),
|
||||
LTTNG_UST_TP_FIELDS(
|
||||
)
|
||||
)
|
||||
|
||||
#endif /* TRACEPOINT_DEF_H */
|
||||
|
||||
|
Reference in New Issue
Block a user