X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.cpp;h=15a699e24f3fd63837edbc6b11dccfa3ac5b1a10;hb=d0eca33e3e66b6d76fa4b64cfe49295bdb5b9c17;hp=03ed2aa10a4459891018fe038b7a8cbdbaf50c75;hpb=dd7ef1243236f524e57b25baa038973e793d5d72;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/lttng-ctl.cpp b/src/lib/lttng-ctl/lttng-ctl.cpp index 03ed2aa10..15a699e24 100644 --- a/src/lib/lttng-ctl/lttng-ctl.cpp +++ b/src/lib/lttng-ctl/lttng-ctl.cpp @@ -1180,7 +1180,7 @@ int lttng_enable_event_with_exclusions(struct lttng_handle *handle, serialize: ret = lttng_event_serialize(ev, exclusion_count, - const_cast(exclusion_list), + exclusion_list, filter_expression, bytecode_len, (ctx && bytecode_len) ? &ctx->bytecode->b : nullptr,