- runtime_priv = zmalloc(sizeof(struct lttng_ust_bytecode_runtime_private));
- if (!runtime_priv) {
- free(runtime);
- runtime = NULL;
- ret = -ENOMEM;
- goto alloc_error;
- }
- runtime->p.priv = runtime_priv;
- runtime->p.struct_size = sizeof(struct lttng_ust_bytecode_runtime);
- runtime_priv->pub = runtime;
- runtime_priv->type = bytecode->type;
- runtime_priv->bc = bytecode;
- runtime_priv->pctx = ctx;