X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-abi.c;h=56d588a8d246cd74a3662c72c3eacf1663fd0f1d;hb=f488575f3420027d33050e779e1e3916e3b91c8c;hp=d0b1e4f9d90a1a04864e8e63297aa68e81781966;hpb=d646ca64871144940cdca6ad9db71aad13873495;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-abi.c b/liblttng-ust/lttng-ust-abi.c index d0b1e4f9..56d588a8 100644 --- a/liblttng-ust/lttng-ust-abi.c +++ b/liblttng-ust/lttng-ust-abi.c @@ -1090,11 +1090,10 @@ long lttng_event_cmd(int objd, unsigned int cmd, unsigned long arg, { int ret; ret = lttng_filter_event_attach_bytecode(event, - (struct lttng_ust_filter_bytecode *) arg); + (struct lttng_ust_filter_bytecode_node *) arg); if (ret) return ret; - lttng_filter_event_link_bytecode(event, - event->filter_bytecode); + lttng_filter_event_link_bytecode(event); return 0; } default: @@ -1161,7 +1160,7 @@ long lttng_wildcard_cmd(int objd, unsigned int cmd, unsigned long arg, int ret; ret = lttng_filter_wildcard_attach_bytecode(wildcard, - (struct lttng_ust_filter_bytecode *) arg); + (struct lttng_ust_filter_bytecode_node *) arg); if (ret) return ret; lttng_filter_wildcard_link_bytecode(wildcard);