Ring Daemon
Loading...
Searching...
No Matches
tracepoint-def.h
Go to the documentation of this file.
1#ifdef ENABLE_TRACEPOINTS
2#ifdef HAVE_CONFIG_H
3#include "config.h"
4#endif
5
6#undef LTTNG_UST_TRACEPOINT_PROVIDER
7#define LTTNG_UST_TRACEPOINT_PROVIDER jami
8
9#undef LTTNG_UST_TRACEPOINT_INCLUDE
10#define LTTNG_UST_TRACEPOINT_INCLUDE "src/jami/tracepoint-def.h"
11
12#if !defined(TRACEPOINT_DEF_H) || defined(LTTNG_UST_TRACEPOINT_HEADER_MULTI_READ)
13#define TRACEPOINT_DEF_H
14
15#include <lttng/tracepoint.h>
16
17/*
18 * Use LTTNG_UST_TRACEPOINT_EVENT(), LTTNG_UST_TRACEPOINT_EVENT_CLASS(),
19 * LTTNG_UST_TRACEPOINT_EVENT_INSTANCE(), and LTTNG_UST_TRACEPOINT_LOGLEVEL()
20 * here.
21 */
22
23LTTNG_UST_TRACEPOINT_EVENT(
24 jami,
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)))
30
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)))
35
36LTTNG_UST_TRACEPOINT_EVENT(
37 jami,
38 ice_transport_send,
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)))
44
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)))
49
50LTTNG_UST_TRACEPOINT_EVENT(
51 jami,
52 ice_transport_recv,
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)))
58
59LTTNG_UST_TRACEPOINT_EVENT(jami,
60 emit_signal,
61 LTTNG_UST_TP_ARGS(const char*, signal_type),
62 LTTNG_UST_TP_FIELDS(lttng_ust_field_string(signal_type, signal_type)
63
64 ))
65
66LTTNG_UST_TRACEPOINT_EVENT(jami, emit_signal_end, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
67
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)))
73
74LTTNG_UST_TRACEPOINT_EVENT(jami, emit_signal_end_callback, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
75
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))))
80
81LTTNG_UST_TRACEPOINT_EVENT(jami, audio_layer_put_recorded_end, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
82
83LTTNG_UST_TRACEPOINT_EVENT(jami, audio_layer_get_to_play_end, LTTNG_UST_TP_ARGS(), LTTNG_UST_TP_FIELDS())
84
85LTTNG_UST_TRACEPOINT_EVENT(jami,
86 call_start,
87 LTTNG_UST_TP_ARGS(const char*, id),
88 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, id, strtoull(id, NULL, 16))))
89
90LTTNG_UST_TRACEPOINT_EVENT(jami,
91 call_end,
92 LTTNG_UST_TP_ARGS(const char*, id),
93 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, id, strtoull(id, NULL, 16))))
94
95LTTNG_UST_TRACEPOINT_EVENT(jami,
96 conference_begin,
97 LTTNG_UST_TP_ARGS(const char*, id),
98 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, id, strtoull(id, NULL, 16))))
99
100LTTNG_UST_TRACEPOINT_EVENT(jami,
101 conference_end,
102 LTTNG_UST_TP_ARGS(const char*, id),
103 LTTNG_UST_TP_FIELDS(lttng_ust_field_integer(uint64_t, id, strtoull(id, NULL, 16))))
104
105LTTNG_UST_TRACEPOINT_EVENT(
106 jami,
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))))
111
112#endif /* TRACEPOINT_DEF_H */
113
114#include <lttng/tracepoint-event.h>
115
116#endif