X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-bytecode-specialize.c;h=ee65ff3be259b59bf1da7b1c7e3359700ec981ed;hb=362a65de6aba2cbc27c61c9fc23e755cb617837f;hp=2bbcb197a22076bc5d4791e21c025d2bccd2e249;hpb=68bb7559b0041c38158c9ed0528d91d655e7eb6c;p=lttng-ust.git diff --git a/liblttng-ust/lttng-bytecode-specialize.c b/liblttng-ust/lttng-bytecode-specialize.c index 2bbcb197..ee65ff3b 100644 --- a/liblttng-ust/lttng-bytecode-specialize.c +++ b/liblttng-ust/lttng-bytecode-specialize.c @@ -380,7 +380,7 @@ static int specialize_context_lookup_name(struct lttng_ctx *ctx, const char *name; offset = ((struct get_symbol *) insn->data)->offset; - name = bytecode->p.bc->bc.data + bytecode->p.bc->bc.reloc_offset + offset; + name = bytecode->p.priv->bc->bc.data + bytecode->p.priv->bc->bc.reloc_offset + offset; return lttng_get_context_index(ctx, name); } @@ -549,7 +549,7 @@ static int specialize_app_context_lookup(struct lttng_ctx **pctx, ssize_t data_offset; offset = ((struct get_symbol *) insn->data)->offset; - orig_name = runtime->p.bc->bc.data + runtime->p.bc->bc.reloc_offset + offset; + orig_name = runtime->p.priv->bc->bc.data + runtime->p.priv->bc->bc.reloc_offset + offset; name = zmalloc(strlen(orig_name) + strlen("$app.") + 1); if (!name) { ret = -ENOMEM; @@ -610,7 +610,7 @@ static int specialize_payload_lookup(const struct lttng_event_desc *event_desc, nr_fields = event_desc->nr_fields; offset = ((struct get_symbol *) insn->data)->offset; - name = runtime->p.bc->bc.data + runtime->p.bc->bc.reloc_offset + offset; + name = runtime->p.priv->bc->bc.data + runtime->p.priv->bc->bc.reloc_offset + offset; for (i = 0; i < nr_fields; i++) { field = &event_desc->fields[i]; if (field->u.ext.nofilter) { @@ -680,7 +680,7 @@ int lttng_bytecode_specialize(const struct lttng_event_desc *event_desc, int ret = -EINVAL; struct vstack _stack; struct vstack *stack = &_stack; - struct lttng_ctx **pctx = bytecode->p.pctx; + struct lttng_ctx **pctx = bytecode->p.priv->pctx; vstack_init(stack);