X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-bytecode.c;fp=src%2Flttng-bytecode.c;h=49ecd77a118d619e5298aff9eddeb8ffcfa51dd5;hb=606828e401c405619a0c7249e8c7e3291cc1cb45;hp=6ed20f7ea054bb13e86d0816046fe860a13608b4;hpb=437d5aa59380583ce1cd14d394a53b398be1275d;p=lttng-modules.git diff --git a/src/lttng-bytecode.c b/src/lttng-bytecode.c index 6ed20f7e..49ecd77a 100644 --- a/src/lttng-bytecode.c +++ b/src/lttng-bytecode.c @@ -227,7 +227,7 @@ int apply_field_reloc(const struct lttng_kernel_event_desc *event_desc, return -EINVAL; /* Check if field offset is too large for 16-bit offset */ - if (field_offset > LTTNG_KERNEL_FILTER_BYTECODE_MAX_LEN - 1) + if (field_offset > LTTNG_KERNEL_ABI_FILTER_BYTECODE_MAX_LEN - 1) return -EINVAL; /* set type */ @@ -310,7 +310,7 @@ int apply_context_reloc(struct bytecode_runtime *runtime, return -ENOENT; /* Check if idx is too large for 16-bit offset */ - if (idx > LTTNG_KERNEL_FILTER_BYTECODE_MAX_LEN - 1) + if (idx > LTTNG_KERNEL_ABI_FILTER_BYTECODE_MAX_LEN - 1) return -EINVAL; /* Get context return type */