projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add filter sequence number to UST
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
filter.c
diff --git
a/src/bin/lttng-sessiond/filter.c
b/src/bin/lttng-sessiond/filter.c
index e887533050f8a5f298bbcd7944f63fac59eef416..688dfca4a889cf95eecb7107053dcb9d28386c45 100644
(file)
--- a/
src/bin/lttng-sessiond/filter.c
+++ b/
src/bin/lttng-sessiond/filter.c
@@
-46,6
+46,7
@@
static int add_ufilter_to_event(struct ltt_ust_session *usess, int domain,
}
/* Same layout. */
uevent->filter = (struct lttng_ust_filter_bytecode *) bytecode;
}
/* Same layout. */
uevent->filter = (struct lttng_ust_filter_bytecode *) bytecode;
+ uevent->filter->seqnum = usess->filter_seq_num;
switch (domain) {
case LTTNG_DOMAIN_UST:
switch (domain) {
case LTTNG_DOMAIN_UST:
@@
-54,6
+55,7
@@
static int add_ufilter_to_event(struct ltt_ust_session *usess, int domain,
if (ret < 0) {
goto error;
}
if (ret < 0) {
goto error;
}
+ usess->filter_seq_num++;
break;
default:
ret = -ENOSYS;
break;
default:
ret = -ENOSYS;
This page took
0.022633 seconds
and
4
git commands to generate.