X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-bytecode-interpreter.c;h=e183e330041a7d1e9883567477d41401c52b9566;hb=99d223adfae9b68800e91bda470c92acb14efae6;hp=8252cdf15501a12367579ede9792083cd5d11df4;hpb=608ab495d4e0beff75f47df2b3a19d7bced0c571;p=lttng-modules.git diff --git a/src/lttng-bytecode-interpreter.c b/src/lttng-bytecode-interpreter.c index 8252cdf1..e183e330 100644 --- a/src/lttng-bytecode-interpreter.c +++ b/src/lttng-bytecode-interpreter.c @@ -214,6 +214,14 @@ uint64_t lttng_bytecode_filter_interpret_false(void *filter_data, return LTTNG_INTERPRETER_DISCARD; } +uint64_t lttng_bytecode_capture_interpret_false(void *filter_data, + struct lttng_probe_ctx *lttng_probe_ctx, + const char *capture_stack_data, + struct lttng_interpreter_output *output) +{ + return LTTNG_INTERPRETER_DISCARD; +} + #ifdef INTERPRETER_USE_SWITCH /* @@ -1782,6 +1790,15 @@ uint64_t lttng_bytecode_filter_interpret(void *filter_data, filter_stack_data, NULL); } +uint64_t lttng_bytecode_capture_interpret(void *capture_data, + struct lttng_probe_ctx *lttng_probe_ctx, + const char *capture_stack_data, + struct lttng_interpreter_output *output) +{ + return bytecode_interpret(capture_data, lttng_probe_ctx, + capture_stack_data, output); +} + #undef START_OP #undef OP #undef PO