X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fkernel-ctl%2Fkernel-ctl.c;h=bb6602e2bffb57f676514313b462b5e8b62645e6;hb=81d566c913e31b5dbd6ec304e679a3b248abec2b;hp=f7b92f045498c870de9181c1e754228353ea033d;hpb=cfb1c9bcab7801380b6ffbab9e505b861072254c;p=lttng-tools.git diff --git a/src/common/kernel-ctl/kernel-ctl.c b/src/common/kernel-ctl/kernel-ctl.c index f7b92f045..bb6602e2b 100644 --- a/src/common/kernel-ctl/kernel-ctl.c +++ b/src/common/kernel-ctl/kernel-ctl.c @@ -437,7 +437,7 @@ int kernctl_create_event_notifier(int group_fd, LTTNG_KERNEL_EVENT_NOTIFIER_CREATE, event_notifier); } -int kernctl_filter(int fd, struct lttng_filter_bytecode *filter) +int kernctl_filter(int fd, const struct lttng_bytecode *filter) { struct lttng_kernel_filter_bytecode *kb; uint32_t len;