Add `lttng_bytecode_interpret_format_output()` for top of stack extraction
[deliverable/lttng-modules.git] / src / lttng-filter-specialize.c
index 82b5cb6400a785c7d8637e0674a8bba36d974c34..86f7c536a7bf29a75a4ccb746cac87436d1b2b60 100644 (file)
@@ -407,6 +407,7 @@ static int specialize_context_lookup(struct lttng_ctx *ctx,
        memset(&gid, 0, sizeof(gid));
        gid.ctx_index = idx;
        gid.elem.type = load->object_type;
+       gid.field = field;
        data_offset = bytecode_push_data(runtime, &gid,
                __alignof__(gid), sizeof(gid));
        if (data_offset < 0) {
@@ -476,6 +477,7 @@ static int specialize_payload_lookup(const struct lttng_event_desc *event_desc,
        memset(&gid, 0, sizeof(gid));
        gid.offset = field_offset;
        gid.elem.type = load->object_type;
+       gid.field = field;
        data_offset = bytecode_push_data(runtime, &gid,
                __alignof__(gid), sizeof(gid));
        if (data_offset < 0) {
This page took 0.023544 seconds and 5 git commands to generate.