projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bytecode: allow interpreter to return any type
[lttng-ust.git]
/
liblttng-ust
/
lttng-filter-specialize.c
diff --git
a/liblttng-ust/lttng-filter-specialize.c
b/liblttng-ust/lttng-filter-specialize.c
index 171895b7da722dae9cbd52ff5ef425ec9fc10755..947fde29288c222b6f6f384d208907c1c4a8daa4 100644
(file)
--- a/
liblttng-ust/lttng-filter-specialize.c
+++ b/
liblttng-ust/lttng-filter-specialize.c
@@
-531,6
+531,8
@@
static int specialize_context_lookup(struct lttng_ctx *ctx,
memset(&gid, 0, sizeof(gid));
gid.ctx_index = idx;
gid.elem.type = load->object_type;
memset(&gid, 0, sizeof(gid));
gid.ctx_index = idx;
gid.elem.type = load->object_type;
+ gid.elem.rev_bo = load->rev_bo;
+ gid.field = field;
data_offset = bytecode_push_data(runtime, &gid,
__alignof__(gid), sizeof(gid));
if (data_offset < 0) {
data_offset = bytecode_push_data(runtime, &gid,
__alignof__(gid), sizeof(gid));
if (data_offset < 0) {
@@
-584,6
+586,8
@@
static int specialize_app_context_lookup(struct lttng_ctx **pctx,
memset(&gid, 0, sizeof(gid));
gid.ctx_index = idx;
gid.elem.type = load->object_type;
memset(&gid, 0, sizeof(gid));
gid.ctx_index = idx;
gid.elem.type = load->object_type;
+ gid.elem.rev_bo = load->rev_bo;
+ gid.field = field;
data_offset = bytecode_push_data(runtime, &gid,
__alignof__(gid), sizeof(gid));
if (data_offset < 0) {
data_offset = bytecode_push_data(runtime, &gid,
__alignof__(gid), sizeof(gid));
if (data_offset < 0) {
@@
-663,6
+667,8
@@
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;
memset(&gid, 0, sizeof(gid));
gid.offset = field_offset;
gid.elem.type = load->object_type;
+ gid.elem.rev_bo = load->rev_bo;
+ gid.field = field;
data_offset = bytecode_push_data(runtime, &gid,
__alignof__(gid), sizeof(gid));
if (data_offset < 0) {
data_offset = bytecode_push_data(runtime, &gid,
__alignof__(gid), sizeof(gid));
if (data_offset < 0) {
This page took
0.023776 seconds
and
4
git commands to generate.