projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bytecode: generalize `struct lttng_ust_filter_bytecode_node`
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index 530102b54aee47864dc463d63ce9d3b6dc774453..c48bd29a14d620a285b38f574a68a82b1ef439eb 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-784,7
+784,7
@@
int handle_message(struct sock_info *sock_info,
case LTTNG_UST_FILTER:
{
/* Receive filter data */
case LTTNG_UST_FILTER:
{
/* Receive filter data */
- struct lttng_ust_
filter_
bytecode_node *bytecode;
+ struct lttng_ust_bytecode_node *bytecode;
if (lum->u.filter.data_size > FILTER_BYTECODE_MAX_LEN) {
ERR("Filter data size is too large: %u bytes",
if (lum->u.filter.data_size > FILTER_BYTECODE_MAX_LEN) {
ERR("Filter data size is too large: %u bytes",
@@
-805,6
+805,7
@@
int handle_message(struct sock_info *sock_info,
ret = -ENOMEM;
goto error;
}
ret = -ENOMEM;
goto error;
}
+
len = ustcomm_recv_unix_sock(sock, bytecode->bc.data,
lum->u.filter.data_size);
switch (len) {
len = ustcomm_recv_unix_sock(sock, bytecode->bc.data,
lum->u.filter.data_size);
switch (len) {
This page took
0.023212 seconds
and
4
git commands to generate.