projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add event count in channel structure
[deliverable/lttng-tools.git]
/
ltt-sessiond
/
kernel-ctl.c
diff --git
a/ltt-sessiond/kernel-ctl.c
b/ltt-sessiond/kernel-ctl.c
index 1af82d9de3086ec0343158d5f6f9d9e1ce731c49..ef3afb714bf1bebe6b96376f484f15044f2e4555 100644
(file)
--- a/
ltt-sessiond/kernel-ctl.c
+++ b/
ltt-sessiond/kernel-ctl.c
@@
-209,6
+209,8
@@
int kernel_create_event(struct lttng_event *ev, struct ltt_kernel_channel *chann
/* 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;
This page took
0.024656 seconds
and
5
git commands to generate.