Cleanup: remove now unused metadata code from UST
[lttng-ust.git] / include / lttng / ust-events.h
CommitLineData
51489cad
MD
1#ifndef _LTTNG_UST_EVENTS_H
2#define _LTTNG_UST_EVENTS_H
8020ceb5
MD
3
4/*
51489cad 5 * lttng/ust-events.h
8020ceb5 6 *
e92f3e28 7 * Copyright 2010-2012 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8020ceb5
MD
8 *
9 * Holds LTTng per-session event registry.
10 *
e92f3e28
MD
11 * Permission is hereby granted, free of charge, to any person obtaining a copy
12 * of this software and associated documentation files (the "Software"), to deal
13 * in the Software without restriction, including without limitation the rights
14 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15 * copies of the Software, and to permit persons to whom the Software is
16 * furnished to do so, subject to the following conditions:
a60d70e6 17 *
e92f3e28
MD
18 * The above copyright notice and this permission notice shall be included in
19 * all copies or substantial portions of the Software.
d2428e87
MD
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27 * SOFTWARE.
8020ceb5
MD
28 */
29
9f3fdbc6 30#include <urcu/list.h>
1f18504e 31#include <urcu/hlist.h>
9f3fdbc6 32#include <stdint.h>
4318ae1b
MD
33#include <lttng/ust-abi.h>
34#include <lttng/ust-tracer.h>
2ae57758 35#include <lttng/ust-endian.h>
20f1eee7 36#include <float.h>
8020ceb5 37
19d8b1b3
MD
38#define LTTNG_UST_UUID_LEN 16
39
7dd08bec
MD
40struct lttng_channel;
41struct lttng_session;
4cfec15c 42struct lttng_ust_lib_ring_buffer_ctx;
8020ceb5 43
37d5e202
MD
44/*
45 * Data structures used by tracepoint event declarations, and by the
46 * tracer. Those structures have padding for future extension.
47 */
48
c1fca457
MD
49/*
50 * LTTng client type enumeration. Used by the consumer to map the
51 * callbacks from its own address space.
52 */
53enum lttng_client_types {
54 LTTNG_CLIENT_METADATA = 0,
55 LTTNG_CLIENT_DISCARD = 1,
56 LTTNG_CLIENT_OVERWRITE = 2,
57 LTTNG_NR_CLIENT_TYPES,
58};
59
8020ceb5
MD
60/* Type description */
61
62/* Update the astract_types name table in lttng-types.c along with this enum */
7dd08bec 63enum lttng_abstract_types {
8020ceb5
MD
64 atype_integer,
65 atype_enum,
66 atype_array,
67 atype_sequence,
68 atype_string,
20f1eee7 69 atype_float,
8020ceb5
MD
70 NR_ABSTRACT_TYPES,
71};
72
73/* Update the string_encodings name table in lttng-types.c along with this enum */
74enum lttng_string_encodings {
75 lttng_encode_none = 0,
76 lttng_encode_UTF8 = 1,
77 lttng_encode_ASCII = 2,
78 NR_STRING_ENCODINGS,
79};
80
37d5e202 81#define LTTNG_UST_ENUM_ENTRY_PADDING 16
8020ceb5
MD
82struct lttng_enum_entry {
83 unsigned long long start, end; /* start and end are inclusive */
84 const char *string;
37d5e202 85 char padding[LTTNG_UST_ENUM_ENTRY_PADDING];
8020ceb5
MD
86};
87
88#define __type_integer(_type, _byte_order, _base, _encoding) \
89 { \
90 .atype = atype_integer, \
91 .u.basic.integer = \
92 { \
93 .size = sizeof(_type) * CHAR_BIT, \
1dbfff0c
MD
94 .alignment = lttng_alignof(_type) * CHAR_BIT, \
95 .signedness = lttng_is_signed_type(_type), \
8d1d746f 96 .reverse_byte_order = _byte_order != BYTE_ORDER, \
8020ceb5
MD
97 .base = _base, \
98 .encoding = lttng_encode_##_encoding, \
99 }, \
100 } \
101
37d5e202 102#define LTTNG_UST_INTEGER_TYPE_PADDING 24
8020ceb5
MD
103struct lttng_integer_type {
104 unsigned int size; /* in bits */
105 unsigned short alignment; /* in bits */
106 unsigned int signedness:1;
107 unsigned int reverse_byte_order:1;
108 unsigned int base; /* 2, 8, 10, 16, for pretty print */
109 enum lttng_string_encodings encoding;
37d5e202 110 char padding[LTTNG_UST_INTEGER_TYPE_PADDING];
8020ceb5
MD
111};
112
d3ed854b
MD
113/*
114 * Only float and double are supported. long double is not supported at
115 * the moment.
116 */
20f1eee7
MD
117#define _float_mant_dig(_type) \
118 (sizeof(_type) == sizeof(float) ? FLT_MANT_DIG \
119 : (sizeof(_type) == sizeof(double) ? DBL_MANT_DIG \
d3ed854b 120 : 0))
20f1eee7
MD
121
122#define __type_float(_type) \
123 { \
124 .atype = atype_float, \
125 .u.basic._float = \
126 { \
127 .exp_dig = sizeof(_type) * CHAR_BIT \
128 - _float_mant_dig(_type), \
129 .mant_dig = _float_mant_dig(_type), \
1dbfff0c 130 .alignment = lttng_alignof(_type) * CHAR_BIT, \
ad496c21 131 .reverse_byte_order = BYTE_ORDER != FLOAT_WORD_ORDER, \
20f1eee7
MD
132 }, \
133 } \
134
37d5e202 135#define LTTNG_UST_FLOAT_TYPE_PADDING 24
20f1eee7
MD
136struct lttng_float_type {
137 unsigned int exp_dig; /* exponent digits, in bits */
138 unsigned int mant_dig; /* mantissa digits, in bits */
139 unsigned short alignment; /* in bits */
140 unsigned int reverse_byte_order:1;
37d5e202 141 char padding[LTTNG_UST_FLOAT_TYPE_PADDING];
20f1eee7
MD
142};
143
37d5e202 144#define LTTNG_UST_BASIC_TYPE_PADDING 128
8020ceb5
MD
145union _lttng_basic_type {
146 struct lttng_integer_type integer;
147 struct {
148 const char *name;
149 } enumeration;
150 struct {
151 enum lttng_string_encodings encoding;
152 } string;
20f1eee7 153 struct lttng_float_type _float;
37d5e202 154 char padding[LTTNG_UST_BASIC_TYPE_PADDING];
8020ceb5
MD
155};
156
157struct lttng_basic_type {
7dd08bec 158 enum lttng_abstract_types atype;
8020ceb5
MD
159 union {
160 union _lttng_basic_type basic;
161 } u;
162};
163
37d5e202 164#define LTTNG_UST_TYPE_PADDING 128
8020ceb5 165struct lttng_type {
7dd08bec 166 enum lttng_abstract_types atype;
8020ceb5
MD
167 union {
168 union _lttng_basic_type basic;
169 struct {
170 struct lttng_basic_type elem_type;
171 unsigned int length; /* num. elems. */
172 } array;
173 struct {
174 struct lttng_basic_type length_type;
175 struct lttng_basic_type elem_type;
176 } sequence;
37d5e202 177 char padding[LTTNG_UST_TYPE_PADDING];
8020ceb5
MD
178 } u;
179};
180
37d5e202 181#define LTTNG_UST_ENUM_TYPE_PADDING 24
8020ceb5
MD
182struct lttng_enum {
183 const char *name;
184 struct lttng_type container_type;
185 const struct lttng_enum_entry *entries;
23c8854a 186 unsigned int len;
37d5e202 187 char padding[LTTNG_UST_ENUM_TYPE_PADDING];
8020ceb5
MD
188};
189
180901e6
MD
190/*
191 * Event field description
192 *
193 * IMPORTANT: this structure is part of the ABI between the probe and
194 * UST. Fields need to be only added at the end, never reordered, never
195 * removed.
196 */
8020ceb5 197
4774c8f3 198#define LTTNG_UST_EVENT_FIELD_PADDING 28
8020ceb5
MD
199struct lttng_event_field {
200 const char *name;
201 struct lttng_type type;
180901e6 202 unsigned int nowrite; /* do not write into trace */
37d5e202 203 char padding[LTTNG_UST_EVENT_FIELD_PADDING];
8020ceb5
MD
204};
205
37d5e202 206#define LTTNG_UST_CTX_FIELD_PADDING 40
8020ceb5
MD
207struct lttng_ctx_field {
208 struct lttng_event_field event_field;
209 size_t (*get_size)(size_t offset);
210 void (*record)(struct lttng_ctx_field *field,
4cfec15c 211 struct lttng_ust_lib_ring_buffer_ctx *ctx,
7dd08bec 212 struct lttng_channel *chan);
8020ceb5 213 union {
37d5e202 214 char padding[LTTNG_UST_CTX_FIELD_PADDING];
8020ceb5
MD
215 } u;
216 void (*destroy)(struct lttng_ctx_field *field);
217};
218
37d5e202 219#define LTTNG_UST_CTX_PADDING 24
8020ceb5
MD
220struct lttng_ctx {
221 struct lttng_ctx_field *fields;
222 unsigned int nr_fields;
223 unsigned int allocated_fields;
37d5e202
MD
224 char padding[LTTNG_UST_CTX_PADDING];
225};
226
227#define LTTNG_UST_EVENT_DESC_PADDING 40
228struct lttng_event_desc {
229 const char *name;
fbdeb5ec 230 void (*probe_callback)(void);
37d5e202
MD
231 const struct lttng_event_ctx *ctx; /* context */
232 const struct lttng_event_field *fields; /* event payload */
233 unsigned int nr_fields;
234 const int **loglevel;
68755429 235 const char *signature; /* Argument types/names received */
6ddc916d
MD
236 union {
237 struct {
238 const char **model_emf_uri;
239 } ext;
240 char padding[LTTNG_UST_EVENT_DESC_PADDING];
241 } u;
37d5e202
MD
242};
243
6715d7d1 244#define LTTNG_UST_PROBE_DESC_PADDING 20
37d5e202
MD
245struct lttng_probe_desc {
246 const char *provider;
247 const struct lttng_event_desc **event_desc;
248 unsigned int nr_events;
249 struct cds_list_head head; /* chain registered probes */
6715d7d1
MD
250 struct cds_list_head lazy_init_head;
251 int lazy; /* lazy registration */
37d5e202 252 char padding[LTTNG_UST_PROBE_DESC_PADDING];
8020ceb5
MD
253};
254
37d5e202
MD
255/* Data structures used by the tracer. */
256
e58095ef
MD
257enum lttng_enabler_type {
258 LTTNG_ENABLER_WILDCARD,
259 LTTNG_ENABLER_EVENT,
e6c12e3d
MD
260};
261
262/*
e58095ef
MD
263 * Enabler field, within whatever object is enabling an event. Target of
264 * backward reference.
e6c12e3d 265 */
e58095ef
MD
266struct lttng_enabler {
267 enum lttng_enabler_type type;
268
269 /* head list of struct lttng_ust_filter_bytecode_node */
270 struct cds_list_head filter_bytecode_head;
271 struct cds_list_head node; /* per-session list of enablers */
272
273 struct lttng_ust_event event_param;
274 struct lttng_channel *chan;
275 struct lttng_ctx *ctx;
276 unsigned int enabled:1;
e6c12e3d
MD
277};
278
c8fcf224
MD
279struct tp_list_entry {
280 struct lttng_ust_tracepoint_iter tp;
281 struct cds_list_head head;
282};
283
284struct lttng_ust_tracepoint_list {
285 struct tp_list_entry *iter;
286 struct cds_list_head head;
8020ceb5
MD
287};
288
06d4f27e
MD
289struct tp_field_list_entry {
290 struct lttng_ust_field_iter field;
291 struct cds_list_head head;
292};
293
294struct lttng_ust_field_list {
295 struct tp_field_list_entry *iter;
296 struct cds_list_head head;
297};
298
8165c8da 299struct ust_pending_probe;
7dd08bec 300struct lttng_event;
f488575f
MD
301
302struct lttng_ust_filter_bytecode_node {
303 struct cds_list_head node;
e58095ef 304 struct lttng_enabler *enabler;
a543151c
MD
305 /*
306 * struct lttng_ust_filter_bytecode has var. sized array, must
307 * be last field.
308 */
309 struct lttng_ust_filter_bytecode bc;
f488575f
MD
310};
311
8a92ed2a
MD
312/*
313 * Filter return value masks.
314 */
315enum lttng_filter_ret {
316 LTTNG_FILTER_DISCARD = 0,
317 LTTNG_FILTER_RECORD_FLAG = (1ULL << 0),
318 /* Other bits are kept for future use. */
319};
320
f488575f
MD
321struct lttng_bytecode_runtime {
322 /* Associated bytecode */
323 struct lttng_ust_filter_bytecode_node *bc;
8a92ed2a 324 uint64_t (*filter)(void *filter_data, const char *filter_stack_data);
21af05a9 325 int link_failed;
e58095ef
MD
326 struct cds_list_head node; /* list of bytecode runtime in event */
327};
328
329/*
330 * Objects in a linked-list of enablers, owned by an event.
331 */
332struct lttng_enabler_ref {
333 struct cds_list_head node; /* enabler ref list */
334 struct lttng_enabler *ref; /* backward ref */
f488575f 335};
8165c8da 336
8020ceb5 337/*
7dd08bec
MD
338 * lttng_event structure is referred to by the tracing fast path. It
339 * must be kept small.
180901e6
MD
340 *
341 * IMPORTANT: this structure is part of the ABI between the probe and
342 * UST. Fields need to be only added at the end, never reordered, never
343 * removed.
8020ceb5 344 */
7dd08bec 345struct lttng_event {
180901e6 346 /* LTTng-UST 2.0 starts here */
8020ceb5 347 unsigned int id;
7dd08bec 348 struct lttng_channel *chan;
976fe9ea 349 int enabled;
8020ceb5 350 const struct lttng_event_desc *desc;
e58095ef 351 void *_deprecated1;
8020ceb5 352 struct lttng_ctx *ctx;
9f3fdbc6 353 enum lttng_ust_instrumentation instrumentation;
8020ceb5 354 union {
8020ceb5 355 } u;
e58095ef
MD
356 struct cds_list_head node; /* Event list in session */
357 struct cds_list_head _deprecated2;
358 void *_deprecated3;
13b21cd6 359 unsigned int _deprecated4:1;
e58095ef 360
180901e6 361 /* LTTng-UST 2.1 starts here */
e58095ef
MD
362 /* list of struct lttng_bytecode_runtime, sorted by seqnum */
363 struct cds_list_head bytecode_runtime_head;
dcdeaff0 364 int has_enablers_without_bytecode;
e58095ef
MD
365 /* Backward references: list of lttng_enabler_ref (ref to enablers) */
366 struct cds_list_head enablers_ref_head;
d56fa719 367 struct cds_hlist_node hlist; /* session ht of events */
8020ceb5
MD
368};
369
8d8a24c8 370struct channel;
38fae1d3 371struct lttng_ust_shm_handle;
8d8a24c8 372
180901e6
MD
373/*
374 * IMPORTANT: this structure is part of the ABI between the probe and
375 * UST. Fields need to be only added at the end, never reordered, never
376 * removed.
377 */
7dd08bec
MD
378struct lttng_channel_ops {
379 struct lttng_channel *(*channel_create)(const char *name,
74d81a6c
MD
380 void *buf_addr,
381 size_t subbuf_size, size_t num_subbuf,
382 unsigned int switch_timer_interval,
383 unsigned int read_timer_interval,
384 unsigned char *uuid);
385 void (*channel_destroy)(struct lttng_channel *chan);
4cfec15c 386 int (*event_reserve)(struct lttng_ust_lib_ring_buffer_ctx *ctx,
8020ceb5 387 uint32_t event_id);
4cfec15c 388 void (*event_commit)(struct lttng_ust_lib_ring_buffer_ctx *ctx);
74d81a6c
MD
389 void (*event_write)(struct lttng_ust_lib_ring_buffer_ctx *ctx,
390 const void *src, size_t len);
8020ceb5
MD
391 /*
392 * packet_avail_size returns the available size in the current
393 * packet. Note that the size returned is only a hint, since it
394 * may change due to concurrent writes.
395 */
1d498196 396 size_t (*packet_avail_size)(struct channel *chan,
38fae1d3 397 struct lttng_ust_shm_handle *handle);
9f3fdbc6
MD
398 //wait_queue_head_t *(*get_reader_wait_queue)(struct channel *chan);
399 //wait_queue_head_t *(*get_hp_wait_queue)(struct channel *chan);
8020ceb5
MD
400 int (*is_finalized)(struct channel *chan);
401 int (*is_disabled)(struct channel *chan);
38fae1d3 402 int (*flush_buffer)(struct channel *chan, struct lttng_ust_shm_handle *handle);
8020ceb5
MD
403};
404
180901e6
MD
405/*
406 * IMPORTANT: this structure is part of the ABI between the probe and
407 * UST. Fields need to be only added at the end, never reordered, never
408 * removed.
409 */
7dd08bec 410struct lttng_channel {
a3f61e7f
MD
411 /*
412 * The pointers located in this private data are NOT safe to be
413 * dereferenced by the consumer. The only operations the
414 * consumer process is designed to be allowed to do is to read
415 * and perform subbuffer flush.
416 */
8020ceb5 417 struct channel *chan; /* Channel buffers */
976fe9ea 418 int enabled;
8020ceb5
MD
419 struct lttng_ctx *ctx;
420 /* Event ID management */
7dd08bec 421 struct lttng_session *session;
0a42beb6 422 int objd; /* Object associated to channel */
32ce8569
MD
423 unsigned int _deprecated1;
424 unsigned int _deprecated2;
e58095ef 425 struct cds_list_head node; /* Channel list in session */
74d81a6c 426 const struct lttng_channel_ops *ops;
8020ceb5 427 int header_type; /* 0: unset, 1: compact, 2: large */
38fae1d3 428 struct lttng_ust_shm_handle *handle; /* shared-memory handle */
13b21cd6 429 unsigned int _deprecated3:1;
a3f61e7f 430
74d81a6c 431 /* Channel ID */
a3f61e7f 432 unsigned int id;
74d81a6c 433 enum lttng_ust_chan_type type;
19d8b1b3 434 unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */
8020ceb5
MD
435};
436
71a9d034 437#define LTTNG_UST_EVENT_HT_BITS 12
e58095ef
MD
438#define LTTNG_UST_EVENT_HT_SIZE (1U << LTTNG_UST_EVENT_HT_BITS)
439
440struct lttng_ust_event_ht {
441 struct cds_hlist_head table[LTTNG_UST_EVENT_HT_SIZE];
442};
443
180901e6
MD
444/*
445 * IMPORTANT: this structure is part of the ABI between the probe and
446 * UST. Fields need to be only added at the end, never reordered, never
447 * removed.
448 */
7dd08bec 449struct lttng_session {
e58095ef
MD
450 int active; /* Is trace session active ? */
451 int been_active; /* Been active ? */
452 int objd; /* Object associated */
13b21cd6 453 void *_deprecated1;
e58095ef
MD
454 struct cds_list_head chan_head; /* Channel list head */
455 struct cds_list_head events_head; /* list of events */
13b21cd6 456 struct cds_list_head _deprecated2;
e58095ef 457 struct cds_list_head node; /* Session list */
13b21cd6
MD
458 int _deprecated3;
459 unsigned int _deprecated4:1;
e58095ef
MD
460
461 /* New UST 2.1 */
462 /* List of enablers */
463 struct cds_list_head enablers_head;
d56fa719 464 struct lttng_ust_event_ht events_ht; /* ht of events */
32ce8569 465 void *owner; /* object owner */
8020ceb5
MD
466};
467
7dd08bec 468struct lttng_transport {
8020ceb5 469 char *name;
9f3fdbc6 470 struct cds_list_head node;
7dd08bec 471 struct lttng_channel_ops ops;
74d81a6c 472 const struct lttng_ust_lib_ring_buffer_config *client_config;
8020ceb5
MD
473};
474
7dd08bec
MD
475struct lttng_session *lttng_session_create(void);
476int lttng_session_enable(struct lttng_session *session);
477int lttng_session_disable(struct lttng_session *session);
478void lttng_session_destroy(struct lttng_session *session);
8020ceb5 479
7dd08bec 480struct lttng_channel *lttng_channel_create(struct lttng_session *session,
8020ceb5
MD
481 const char *transport_name,
482 void *buf_addr,
483 size_t subbuf_size, size_t num_subbuf,
484 unsigned int switch_timer_interval,
193183fb 485 unsigned int read_timer_interval,
ef9ff354
MD
486 int **shm_fd, int **wait_fd,
487 uint64_t **memory_map_size,
7dd08bec 488 struct lttng_channel *chan_priv_init);
8020ceb5 489
7dd08bec
MD
490int lttng_channel_enable(struct lttng_channel *channel);
491int lttng_channel_disable(struct lttng_channel *channel);
e58095ef
MD
492
493struct lttng_enabler *lttng_enabler_create(enum lttng_enabler_type type,
494 struct lttng_ust_event *event_param,
495 struct lttng_channel *chan);
496int lttng_enabler_enable(struct lttng_enabler *enabler);
497int lttng_enabler_disable(struct lttng_enabler *enabler);
498int lttng_enabler_attach_bytecode(struct lttng_enabler *enabler,
499 struct lttng_ust_filter_bytecode_node *bytecode);
500int lttng_enabler_attach_context(struct lttng_enabler *enabler,
501 struct lttng_ust_context *ctx);
502
503int lttng_attach_context(struct lttng_ust_context *context_param,
504 struct lttng_ctx **ctx, struct lttng_session *session);
976fe9ea 505
7dd08bec
MD
506void lttng_transport_register(struct lttng_transport *transport);
507void lttng_transport_unregister(struct lttng_transport *transport);
8020ceb5 508
4b4de73e 509void synchronize_trace(void);
8020ceb5 510
7dd08bec
MD
511int lttng_probe_register(struct lttng_probe_desc *desc);
512void lttng_probe_unregister(struct lttng_probe_desc *desc);
e58095ef 513int lttng_fix_pending_event_desc(const struct lttng_event_desc *desc);
7dd08bec
MD
514int lttng_probes_init(void);
515void lttng_probes_exit(void);
8173ec7c
MD
516int lttng_find_context(struct lttng_ctx *ctx, const char *name);
517struct lttng_ctx_field *lttng_append_context(struct lttng_ctx **ctx_p);
518void lttng_remove_context_field(struct lttng_ctx **ctx_p,
8020ceb5
MD
519 struct lttng_ctx_field *field);
520void lttng_destroy_context(struct lttng_ctx *ctx);
3b402b40 521int lttng_add_vtid_to_ctx(struct lttng_ctx **ctx);
c1ef86f0 522int lttng_add_vpid_to_ctx(struct lttng_ctx **ctx);
8173ec7c 523int lttng_add_pthread_id_to_ctx(struct lttng_ctx **ctx);
4847e9bb 524int lttng_add_procname_to_ctx(struct lttng_ctx **ctx);
a93bfc45 525void lttng_context_vtid_reset(void);
c1ef86f0 526void lttng_context_vpid_reset(void);
9f3fdbc6 527
5a821cd6
MD
528extern const struct lttng_ust_lib_ring_buffer_client_cb *lttng_client_callbacks_metadata;
529extern const struct lttng_ust_lib_ring_buffer_client_cb *lttng_client_callbacks_discard;
530extern const struct lttng_ust_lib_ring_buffer_client_cb *lttng_client_callbacks_overwrite;
c1fca457 531
7dd08bec 532struct lttng_transport *lttng_transport_find(const char *name);
c1fca457 533
7dd08bec
MD
534int lttng_probes_get_event_list(struct lttng_ust_tracepoint_list *list);
535void lttng_probes_prune_event_list(struct lttng_ust_tracepoint_list *list);
c8fcf224
MD
536struct lttng_ust_tracepoint_iter *
537 lttng_ust_tracepoint_list_get_iter_next(struct lttng_ust_tracepoint_list *list);
7dd08bec
MD
538int lttng_probes_get_field_list(struct lttng_ust_field_list *list);
539void lttng_probes_prune_field_list(struct lttng_ust_field_list *list);
06d4f27e
MD
540struct lttng_ust_field_iter *
541 lttng_ust_field_list_get_iter_next(struct lttng_ust_field_list *list);
c8fcf224 542
7dd08bec 543void lttng_filter_event_link_bytecode(struct lttng_event *event);
e58095ef
MD
544void lttng_enabler_event_link_bytecode(struct lttng_event *event,
545 struct lttng_enabler *enabler);
7dd08bec 546void lttng_free_event_filter_runtime(struct lttng_event *event);
e58095ef
MD
547void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
548
549struct cds_list_head *lttng_get_probe_list_head(void);
6715d7d1 550int lttng_session_active(void);
e6c12e3d 551
51489cad 552#endif /* _LTTNG_UST_EVENTS_H */
This page took 0.057396 seconds and 4 git commands to generate.