summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3000dc7)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
/* Add event to event list */
cds_list_add(&event->list, &channel->events_list.head);
/* Add event to event list */
cds_list_add(&event->list, &channel->events_list.head);
+ channel->event_count++;
+
DBG("Event %s created (fd: %d)", ev->name, event->fd);
return 0;
DBG("Event %s created (fd: %d)", ev->name, event->fd);
return 0;
lkc->fd = 0;
lkc->stream_count = 0;
lkc->fd = 0;
lkc->stream_count = 0;
lkc->enabled = 1;
lkc->ctx = NULL;
/* Init linked list */
lkc->enabled = 1;
lkc->ctx = NULL;
/* Init linked list */
int enabled;
char *pathname;
unsigned int stream_count;
int enabled;
char *pathname;
unsigned int stream_count;
+ unsigned int event_count;
struct lttng_kernel_context *ctx;
struct lttng_channel *channel;
struct ltt_kernel_event_list events_list;
struct lttng_kernel_context *ctx;
struct lttng_channel *channel;
struct ltt_kernel_event_list events_list;