X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.cpp;fp=src%2Flib%2Flttng-ctl%2Flttng-ctl.cpp;h=15a699e24f3fd63837edbc6b11dccfa3ac5b1a10;hp=03ed2aa10a4459891018fe038b7a8cbdbaf50c75;hb=1e0019bb584561d6d93ec74b72b2f673dd661f9d;hpb=ca496d870cc9a991c1c79c7db9d213845b181420 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,