X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Fevent-notifier-notification.c;h=b4c666aa560364e064999bbb40ba027e7c131b7a;hb=22c30e27e59035f165bfa0540022eeca113fcd59;hp=c403bcbf7e21d21c489653e1fd5c1fd92b29f5a6;hpb=e016c06adf51c2e213303343026c2b5d3d7776e1;p=lttng-ust.git diff --git a/liblttng-ust/event-notifier-notification.c b/liblttng-ust/event-notifier-notification.c index c403bcbf..b4c666aa 100644 --- a/liblttng-ust/event-notifier-notification.c +++ b/liblttng-ust/event-notifier-notification.c @@ -380,8 +380,8 @@ void lttng_event_notifier_notification_send( &event_notifier->capture_bytecode_runtime_head, node) { struct lttng_interpreter_output output; - if (capture_bc_runtime->interpreter_funcs.capture(capture_bc_runtime, - stack_data, &output) & LTTNG_UST_BYTECODE_INTERPRETER_RECORD_FLAG) + if (capture_bc_runtime->interpreter_func(capture_bc_runtime, + stack_data, &output) == LTTNG_UST_BYTECODE_INTERPRETER_OK) notification_append_capture(¬if, &output); else notification_append_empty_capture(¬if);