Implement capturing payload on event notifier
[deliverable/lttng-modules.git] / src / lttng-bytecode-interpreter.c
index 8252cdf15501a12367579ede9792083cd5d11df4..e183e330041a7d1e9883567477d41401c52b9566 100644 (file)
@@ -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
This page took 0.024915 seconds and 5 git commands to generate.