4 * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 * Holds LTTng per-session event registry.
9 #include <linux/list.h>
15 * ltt_event structure is referred to by the tracing fast path. It must be
20 struct ltt_channel
*chan
;
23 struct list_head list
; /* Event list */
27 struct channel
*chan
; /* Channel buffers */
28 /* Event ID management */
29 struct ltt_session
*session
;
30 unsigned int free_event_id
; /* Next event ID to allocate */
31 struct list_head list
; /* Channel list */
36 int active
; /* Is trace session active ? */
37 struct list_head chan
; /* Channel list head */
38 struct list_head events
; /* Event list head */
39 struct list_head list
; /* Session list */
43 struct ltt_session
*ltt_session_create(char *name
);
44 int ltt_session_destroy(struct ltt_session
*session
);
46 struct ltt_channel
*ltt_channel_create(struct ltt_session
*session
, char *name
,
47 int overwrite
, void *buf_addr
,
48 size_t subbuf_size
, size_t num_subbuf
,
49 unsigned int switch_timer_interval
,
50 unsigned int read_timer_interval
);
51 int _ltt_channel_destroy(struct ltt_channel
*chan
);
53 struct ltt_event
*ltt_event_create(struct ltt_channel
*chan
, char *name
,
55 int _ltt_event_destroy(struct ltt_event
*event
);
This page took 0.035222 seconds and 4 git commands to generate.