1#ifdef ENABLE_TRACEPOINTS
6#undef LTTNG_UST_TRACEPOINT_PROVIDER
7#define LTTNG_UST_TRACEPOINT_PROVIDER jami
9#undef LTTNG_UST_TRACEPOINT_INCLUDE
10#define LTTNG_UST_TRACEPOINT_INCLUDE "src/jami/tracepoint-def.h"
12#if !defined(TRACEPOINT_DEF_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
13#define TRACEPOINT_DEF_H
15#include <lttng/tracepoint.h>
23LTTNG_UST_TRACEPOINT_EVENT(
25 scheduled_executor_task_begin,
26 LTTNG_UST_TP_ARGS(
const char*, executor_name,
const char*, filename, uint32_t, linum, uint64_t, cookie),
27 LTTNG_UST_TP_FIELDS(lttng_ust_field_string(executor, executor_name) lttng_ust_field_string(source_filename, filename)
28 lttng_ust_field_integer(uint32_t, source_line, linum)
29 lttng_ust_field_integer(uint64_t, cookie, cookie)))
31LTTNG_UST_TRACEPOINT_EVENT(
jami,
32 ice_transport_context,
33 LTTNG_UST_TP_ARGS(uint64_t, context),
34 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, ice_context, context)))
36LTTNG_UST_TRACEPOINT_EVENT(
39 LTTNG_UST_TP_ARGS(uint64_t, context,
unsigned, component,
size_t, len,
const char*, remote_addr),
40 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, ice_context, context)
41 lttng_ust_field_integer(
unsigned, component, component)
42 lttng_ust_field_integer(
size_t, packet_length, len)
43 lttng_ust_field_string(remote_addr, remote_addr)))
45LTTNG_UST_TRACEPOINT_EVENT(
jami,
46 ice_transport_send_status,
47 LTTNG_UST_TP_ARGS(
int, status),
48 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(
int, pj_status, status)))
50LTTNG_UST_TRACEPOINT_EVENT(
53 LTTNG_UST_TP_ARGS(uint64_t, context,
unsigned, component,
size_t, len,
const char*, remote_addr),
54 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, ice_context, context)
55 lttng_ust_field_integer(
unsigned, component, component)
56 lttng_ust_field_integer(
size_t, packet_length, len)
57 lttng_ust_field_string(remote_addr, remote_addr)))
59LTTNG_UST_TRACEPOINT_EVENT(
jami,
61 LTTNG_UST_TP_ARGS(
const char*, signal_type),
62 LTTNG_UST_TP_FIELDS(lttng_ust_field_string(signal_type, signal_type)
66LTTNG_UST_TRACEPOINT_EVENT(
jami, emit_signal_end, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
68LTTNG_UST_TRACEPOINT_EVENT(
jami,
69 emit_signal_begin_callback,
70 LTTNG_UST_TP_ARGS(const
char*, filename, uint32_t, linum),
71 LTTNG_UST_TP_FIELDS(lttng_ust_field_string(source_filename, filename)
72 lttng_ust_field_integer(uint32_t, source_line, linum)))
74LTTNG_UST_TRACEPOINT_EVENT(
jami, emit_signal_end_callback, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
76LTTNG_UST_TRACEPOINT_EVENT(
jami,
77 audio_input_read_from_device_end,
78 LTTNG_UST_TP_ARGS(const
char*,
id),
79 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t,
id, strtoull(
id, NULL, 16))))
81LTTNG_UST_TRACEPOINT_EVENT(
jami, audio_layer_put_recorded_end, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
83LTTNG_UST_TRACEPOINT_EVENT(
jami, audio_layer_get_to_play_end, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
85LTTNG_UST_TRACEPOINT_EVENT(
jami,
87 LTTNG_UST_TP_ARGS(const
char*,
id),
88 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t,
id, strtoull(
id, NULL, 16))))
90LTTNG_UST_TRACEPOINT_EVENT(
jami,
92 LTTNG_UST_TP_ARGS(const
char*,
id),
93 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t,
id, strtoull(
id, NULL, 16))))
95LTTNG_UST_TRACEPOINT_EVENT(
jami,
97 LTTNG_UST_TP_ARGS(const
char*,
id),
98 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t,
id, strtoull(
id, NULL, 16))))
100LTTNG_UST_TRACEPOINT_EVENT(
jami,
102 LTTNG_UST_TP_ARGS(const
char*,
id),
103 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t,
id, strtoull(
id, NULL, 16))))
105LTTNG_UST_TRACEPOINT_EVENT(
107 conference_add_participant,
108 LTTNG_UST_TP_ARGS(const
char*, conference_id, const
char*, participant_id),
109 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t,
id, strtoull(conference_id, NULL, 16))
110 lttng_ust_field_integer(uint64_t, participant_id, strtoull(participant_id, NULL, 16))))
114#include <lttng/tracepoint-event.h>