[lttng-dev] [PATCH v3 lttng-tools] Filter allocation and large bytecode fixes

Christian Babeux christian.babeux at efficios.com
Thu Sep 6 13:40:18 EDT 2012


Previous iteration of patch 2/3 was missing a typo fix in the
LTTNG_FILTER_MAX_LEN define. 

Also, Mathieu suggested that we put a check on the reloc_table_offset
in the sessiond to check its bounds when receiving the LTTNG_SET_FILTER
command. This is not necessary because the reloc_table_offset does not
exist in the filter struct of the lttcomm_session_msg union.

Changelog v3:

1/3 - Already merged.
2/3 - Add missing typo fix in LTTNG_FILTER_MAX_LEN define.
3/3 - Already merged.

Changelog v2:

1/3 - Already merged.
2/3 - Respin. Support 65536 bytes bytecode len + filter ABI changes.
3/3 - Already merged.

Thanks,

Christian Babeux (1):
  Fix: Accept bytecode of length 65536 bytes

 src/bin/lttng-sessiond/lttng-ust-abi.h                      | 6 +++---
 src/bin/lttng-sessiond/main.c                               | 2 +-
 src/common/sessiond-comm/sessiond-comm.h                    | 6 +++---
 src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c | 2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

-- 
1.7.11.4




More information about the lttng-dev mailing list