X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ChangeLog;h=530ade9b6c53a43bbd6618d3e429010db5cc0fa8;hb=refs%2Fheads%2Fstable-2.12;hp=14b54c2d951ba9ca650b84c0d44a7441cfa8db97;hpb=35439a9e96195884a694d31488b7764da29f9be9;p=lttng-tools.git diff --git a/ChangeLog b/ChangeLog index 14b54c2d9..530ade9b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,316 @@ +2024-03-28 lttng-tools 2.12.15 (Respect Your Cat Day) + * Fix: baddr-statedump: use $(LIBTOOL) --mode=execute + * Fix: relayd: live client not notified of inactive streams + * Fix: relayd: live: dispose of zombie viewer metadata stream + * Fix: sessiond: freeze on channel creation on restart + * common: move utils_create_lock_file to its own file + * tests: tools/clear/test_ust wait for specific test app pid + * Tests: use CPU ids from online ranges + * Tests: Preemptively fail infinite blocking tests when low on disk space + * Fix: lttng-add-context: leak of application context parameters + +2023-06-20 lttng-tools 2.12.14 (National Ice Cream Soda Day) + * Tests fix: test_callstack: output of addr2line incorrectly parsed + * Fix: adding a user space probe fails on thumb functions + * Fix: Tests that assume CPU 0 is present + * Fix: Wrong assumption about possible CPUs + * Tests: fix: parse-callback reports missing addr2line + * Tests: snapshot tests complain that nothing is output + * Tests: Test snapshot maximum size correctly + * Tests: Add get_possible_cpus_count utility + * Fix: ini parser: truncation of value name + +2023-01-05 lttng-tools 2.12.13 (National Whipped Cream Day) + * Fix: lttng: poptGetArg doesn't provide string ownership + * Fix: relayd: missing space in trace creation logging statement + * Fix: never use 'no' in a command variable + * Fix: consumer: snapshot: assertion on subsequent snapshot + * Fix: sessiond: instance uuid is not sufficiently unique + +2022-08-22 lttng-tools 2.12.12 (National Bao Day) + * Fix: waiter: futex wait: handle spurious futex wakeups + * Fix: futex wait: handle spurious futex wakeups + * Fix: utils: unhandled close return value + * Fix: agent port file is o+w when launching as root + * Fix: tests: don't assume sequential cpuids + * Fix: ust-consumerd: set `hangup_flush_done` in a locked context + * Revert "Fix: sessiond: rotation trigger leak" + * Fix: lttng-snapshot: use after free of max size argument + * Fix: lttng: snapshot: add-output: leak of max size parameter + * Tests: fix: lttng-create: leaked command parameter + * Fix: sessiond: rotation trigger leak + * Tests: fix: schedule api: leak of rotation schedule list + * Fix: lttng: enable-rotation: leak of command parameter + * Fix: lttng: track: leaked command parameter + * Fix: lttng: enable-channel: leak of popt arguments + * Tests: fix: leak of some attributes of ltt_ust_session + * Fix: liblttng-ctl: non-packed structure used for tracker serialization + * Fix: test: lttng kernel modules still loaded after running test_clock_override + +2022-04-13 lttng-tools 2.12.11 (International Day of Pink) + * Fix: notification: assert on len > 0 for dropped notification message + * Fix: sessiond: cmd_enable_channel: negative error code used + +2022-03-28 lttng-tools 2.12.10 (National Hot Tub Day) + * Fix: Remove liblttng-ctl.so dependency on liburcu-cds.so and liburcu-common.so + +2022-03-28 lttng-tools 2.12.9 (National Hot Tub Day) + * Fix: lttng-elf: wrong error label used by error path + * Fix: use the correct endian compat macros + * Fix: lttng-elf: untrusted entry size divisor + * Fix: event: erroneous bound check on perf counter name size + * Fix: relayd: missing session unlock on error path + * fix: warning '-Wstringop-truncation' with GCC 11.2 + * Add Log4j 2.x agent tests for the 'log4j' domain + * Fix: relayd: session id is ignored by 2.11+ create session command + * Fix: consumerd: use-after-free of metadata bucket + * Fix: ust-consumerd: leak of stream control structure + * Fix: liblttng-ctl: erroneous flat size computation + * Build fix: relayd: mismatching function signatures + * Build fix: use of mutable keyword in C file + * Fix: relayd: connection abruptly closed on viewer stream creation failure + * Fix: relayd: live client fails on clear of multi-domain session + * Tests: fix: select_poll_epoll: test assumes epoll fd value + * Fix: rotation: hang on destroy when using scheduled rotation based on timer + * Fix: consumerd: fd still open after `lttng snapshot record` returns + * Fix: event: unchecked return value for lttng_strncpy + * Fix: event: format specifier for ssize_t + * Fix: sessiond: lttng_channel object is not reclaimed + * Fix: common: local_attr might leak + * Fix: session: end goto label used for error path + * Fix: ser/des: missing null terminator on payload append + * Fix: test: test plan/skip must come after TAP initialization + * Fix: test: missing test plan for non-x86/arm platforms (i.e powerpc) + * Fix: liblttng-ctl comm: lttng_event_field is not packed + * Fix: liblttng-ctl comm: lttng_event_context is not packed + * Fix: liblttng-ctl comm: lttng_event is not packed + * libcommon: move event.c to libcommon-lgpl + * Fix: liblttng-ctl comm: lttng_channel is not packed + * Fix: lttng-ctl: erroneous uses of LTTNG_PACKED + * Backport: lttng_buffer_view_is_valid, lttng_buffer_view_contains_string + * Fix: conversion from KB to bytes overflow on arm32 + * Fix: Unexpected payload size in cmd_recv_stream_2_11 + * Tests: add kernel test into the `make check` test suite. + +2022-01-26 lttng-tools 2.12.8 (National Peanut Brittle Day) + * Relicence all source and header files included in LGPL code + * Fix: sessiond: use of null session when session is not found + * Move utils_expand_path and utils_expand_path_keep_symlink to libpath.la + * Link lttng executable on libcommon-lgpl.a + * Introduce libcommon-lgpl for liblttng-ctl + * Rename libcommon.so to libcommon-gpl.so + * Copyright ownership transfer + * Copyright ownership transfer + * Fix: relayd: erroneous rundir permission logging message + * Fix: sessiond: rotation thread: fatal error when not finding a session + * Fix: relayd: rotation failure for multi-domain session + * Fix: lttng-ctl: lttng_list_sessions: initialize out_sessions to NULL when returning 0 + * Fix: lttng: initialize variable in run_command_string + * Fix: consumer-stream: live viewers observe timestamps going backwards + * Fix: relayd: ressource leaks on viewer_stream_create error + * Fix: relayd: live: erroneous message timestamp observed from live viewer + * Fix: relayd: failure to open chunk files concurrently with session clear + * Fix: relayd: live: metadata stream reference count < 0 assert + +2021-12-17 lttng-tools 2.12.7 (National Ugly Christmas Sweater Day) + * Validate channel context mismatch across UST applications + * Fix: relayd: compare viewer chunks by ID rather than address + * Fix: relayd: live: erroneous message timestamp observed from live viewer + * Fix: relayd comm: improperly packed rotate streams command header + * test: snapshot after regenerate metadata + * Fix: ust-consumer: segfault on snapshot after regenerate metadata + * Tests: live kernel: no plan printed when non-root + * Fix: sessiond: snapshot: leak of trace chunk + * Fix: test: use BABELTRACE_BIN instead of babeltrace + * Fix: relayd: `!vsession->current_trace_chunk` assertion failed + * Fix: tests: fix unused-but-set warning in test_fd_tracker.c + * Fix: sessiond: fix possible buffer overflow warning + * Fix: lttng-ctl: tracing_group memory leaks + * Fix: Tests: unchecked `close()` return value + * Fix: relayd: live: mishandled initial null trace chunk + * Fix: configure.ac: reporting SDT uprobe as a UST feature + * Fix: Tests: leaking epoll fd + +2021-10-18 lttng-tools 2.12.6 (National Chocolate Cupcake Day) + * Fix: sessiond: previously created channel cannot be enabled + * Fix: ust: app stuck on recv message during UST comm timeout scenario + * Fix: ust: UST communication can return -EAGAIN + * Fix: ust: segfault on lttng start on filter bytecode copy + * Build fix: Missing message in LTTNG_DEPRECATED invocation + * include: remove spurious spaces in condition/session-rotation.h + * tests: fix header of regression/ust/getcpu-override/run-getcpu-override + * fix: wrong define used for GCC version check + * Fix: userspace-probe: unreported error on string copy error + * Fix: userspace-probe: truncating binary path for SDT + * Fix: statements with side-effects in assert statements + * Fix: lttng_trace_archive_location_serialize is called on freed memory + * Fix: sessiond: ust session is inactive during ust_app_global_update + * Fix: Tests: race condition in test_ns_contexts_change + * Fix: Tests: race condition in test_event_tracker + * Fix: man: lttng-rotate: trace file count/size limitation does not apply + +2021-08-06 lttng-tools 2.12.5 (International Beer Day) + * Fix: runas: less-than-zero comparison of an unsigned value + * Fix: runas: supplementary groups are ignored on lttng save + * Fix: lttng: free sessions in cmd_destroy + * Fix: lttng: free domains and channels in get_session_stats_str + * Fix: rotation client example: leak of handle on error + * .gitreview: Set default branch to 'stable-2.12' + * tests: Move tap-driver.sh out of the autotools aux directory + * Fix: use of uninitialised bytes valgrind warning + * Fix: bump minimal urcu dependency to 0.11 + * Fix: consumer: unbalanced RCU read-side lock on error + * Fix: tests: missing LOG_DRIVER and LOG_DRIVER_FLAGS + * Fix: list_lttng_agent_events: unbalanced RCU read-side lock on error + +2021-05-18 lttng-tools 2.12.4 (No Dirty Dishes Day) + * Fix: snapshot path have domain subdir duplicate "ust/ust" or "kernel/kernel" + * Fix: relayd: failure to read index entry or stream packet after clear + * Fix: sessiond: leak of config_path on duplicate --config option + * Fix: relayd: live: data is missing between viewer attach and retry + * Fix: lttng-ctl: erroneous check if user is part of the tracing group + * Fix: kernel consumer: get next subbuffer EAGAIN handling + * Fix: kernel consumer: signal metadata ready condition variable + * Fix: consumerd: unbalanced subbuffer 'get' when checking operation availability + * Fix: tests: gen-ust-events-ns: Uninitialized argument value + * Fix: consumerd: strlen called on uninitialized path + * Fix: tests: health thread stall: only stop consumerd when required + * Fix: tests: quote variable in case it's not set + * Fix: sessiond: session destroy hang in per-uid when context cannot be added + * Fix: backward relayd: path contains a leading "ust" folder + * Fix: lttng_destroy_session_no_wait: return 0 on success + * config: fix typo in error message + * Tests: array expressions without contant index are invalid + * Fix: validate that array expression contains constant + * Fix: test: base-path tests are not run + * Fix: filter: memory leak in filter_parser_ctx + * Fix: sessiond: fix -Wshadow error in save.c + * Fix: utils: avoid strncpy overlap in utils_partial_realpath + * Clean-up: utils: make utils_partial_realpath static + * Fix: added missing test_channel and removed double defined test_syscall + * Fix: sessiond: kernel: invalid error code check + * Tests: fix: unchecked sscanf return value + * compiler warning cleanup: is_signed_type: compare -1 to 1 + +2021-02-22 lttng-tools 2.12.3 (National Margarita Day) + * Fix: ust-consumer: metadata thread not woken-up after version change + * Clean-up: ust-consumer: simplify metadata cache unlock on error path + * Fix: sessiond: timer: unitiliazed sigevent fields + * Fix: sessiond: ust-registry: dereference of NULL pointer on allocation failure + * Fix: ust-consumer: metadata cache lock not taken when sampling max offset + * Fix: use MT-safe strtok_r in multithreaded context + * Fix: liblttng-ctl: unreported truncations when copying strings + * Fix: configure: support Autoconf 2.70 + * Fix: sessiond: metadata not created on app unregistration during start + * Cleanup: use `modprobe --remove` rather than `rmmod` + * Tests: Fix: 99% fill ratio for high buffer usage is too high for larger events + * Fix: common: poll: compat_poll_wait never finishes + * Build fix: implicit declaration of function 'PERROR' on Solaris + * Fix: PERROR spam when `tracing` group does not exist + * Fix: memcpy used on potentially overlapping regions + +2020-08-03 lttng-tools 2.12.2 (National Watermelon Day) + * Tests: rework tracefile_count test to meet the tracefile count limit + * Fix: extraneous empty/inactive flush on rotation out of a trace chunk + * Fix: relayd: double unlock on viewer stream creation error + * Fix: relayd: live connection fails to open file during clear + * Fix: relayd: wrong stream type used in DBG statement + * Fix: lttng: leak of userspace probe path on listing + * Fix: uprobe: missing error code on allocation failure + * Fix: sessiond: don't negate error code on list error + * Fix: send/received actual size is overwritten by 'expected' size + * Fix: partial recv lead to client disconnect + * tests: return the proper TAP exit code + * Tests: live/test_{lttng_,}kernel: use lttng_test_filter_event instead of sched_switch + * Fix: consumer: Move sanity check within `consumer_subbuffer` functions + * Fix: sessiond: wrong variable checked for error code + * Fix: consumerd: double unlock on rotate channel error path + * Fix: consumerd: packet sent before channel rotation + * Fix: relayd: wrong specifier used in DBG format string + * Tests: add a "new metadata after clear" test + * Fix: relayd: send_viewer_streams sends stack data in padding + * Fix: stream intersection fails on snapshot of cleared session + * Fix: relayd: viewer metadata is not rotated after a session clear + * Fix: post-clear trace chunk has a late beginning packet + * Fix: kconsumer: missing wait for metadata thread in do_sync_metadata + * Fix: tests: interrupting get_next_notification causes test to fail + * Fix: consumer.c: wrong order of parameter in `DBG()` statement + * Fix: consumer: dangling chunk on buffer allocation failure + * Fix: consumerd: uninitialized written_bytes on no-data sleep + * Build fix: consumerd misnamed label + * consumerd: on_sleep not called on stream when no data is available + * Fix: invalid discarded events on start/stop without event production + * tests: truncate metadata file for regenerate metadata test + * Fix: consumerd: user space metadata not regenerated + * tests: gen-ust-events-ns/tp.h: Fix build with musl libc + * Fix: tests: output_dir contains the consumerd pipe + * Fix: unix: don't PERROR on EAGAIN for non-blocking sockets + * Fix: sessiond: sessiond and agent deadlock on destroy + * Fix: incorrect specifier %lu used with size_t argument + * Fix: consumerd: live client receives incomplete metadata + * consumerd: refactor: split read_subbuf into sub-operations + * consumerd: move rotation logic to domain-agnostic read path + * sessiond: enforce mmap output type for kernel metadata channel + * consumerd: tag metadata channel as being part of a live session + * consumerd: pass channel instance to stream creation function + * consumerd: cleanup: use buffer view interface for mmap read subbuf + * consumerd: move address computation from on_read_subbuffer_mmap + * consumerd: refactor: combine duplicated check_*_functions + * kerner-ctl: add RING_RING_BUFFER_GET_NEXT_SUBBUF_METADATA_CHECK + * Add lttng_dynamic_buffer_append_view util + * Fix: lttng: Destroying session message repeated during destruction + * Fix: liblttng-ctl: leak of tracker handle in lttng_[un]track_pid + * Fix: common: fs_handle_seek returns negative value on success + * Fix: common: abort on rotation after time manipulation + * Tests: test_exclusion: exclusion after tracing active + * Tests: `gen-ust-nevents`: add syncpoints + * Tests: accept built-in kernel modules + +2020-05-12 lttng-tools 2.12.1 (International Nurses' Day) + * API: missing includes in lttng.h + * API: missing clear and clear-handle includes in lttng.h + * API: sort lttng.h includes + * Fix: API: missing end brace for C++ linkage specification. + * Fix: tests: `-Wstringop-overflow` warning + * Fix: load: incomplete error handling for load_session_from_file + +2020-04-07 lttng-tools 2.12.0 (National Beer Day) + * lttng-crash(1): document the command's positional argument + * lttng-sessiond(8): append missing argument to short options + * lttng-sessiond(8): sort the option list by long option name + * lttng-relayd(8): mention the `--config` option + * Fix: lttng-load: support legacy PID tracker specification + * Fix: sessiond: invalid session configuration on EXCLUDE_ALL policy + * Fix: relayd: unchecked allocation result of unlinked file pool + * Clean-up: trace-ust comment still refers to only PID trackers + * lttng-crash: use `spawn_viewer()` to launch trace viewer + * lttng-view: clean-up: move `--viewer` code to specific file + * lttng-crash: clean-up: fix alignment of format string + * lttng-view: clean-up: rename `parse_options()` -> `parse_viewer_option()` + * Fix: python: suppress -Wmissing-prototypes warning with SWIG 3.0.10 + * lttng-view: clean-up: use singular form for type name + * lttng-view: clean-up: remove references to LTTv + * Fix: relayd: harmonize path format in backward-compat mode + * Bump session.xsd version to 2.12 + * lttng-relayd(8): normalize style and add details + * doc/man: refer to Babeltrace 2 instead of Babeltrace 1 + * lttng-clear(1): normalize style and add details + * Fix: filter-grammar-test: add dependencies between steps + * Fix: relayd: assertion fails on creation of session by peer < 2.11 + * Fix: relayd: crash on creation of session by peer < 2.11 + * Fix: consumer: fallback to flush when flush empty is unsupported + * Fix: consumerd: incorrect clear logging statement + * Fix: sessiond: error reported on session destruction for old modules + * Fix: sessiond: erroneous error code returned on rotation failure + * Fix: lttng-destroy: missing newline on session destruction message + * relayd: clean-up: reference is repeated in comment + * Typo: 'Descritptor' -> 'Descriptor' + * Typo: 'Accomodate' -> 'Accommodate' + * Fix: tracker: NULL pointer dereference after NULL check + +2020-03-27 lttng-tools 2.12.0-rc3 (International Stay at Home Month) + * Fix: remove duplicated AC_INIT directive + 2020-03-27 lttng-tools 2.12.0-rc2 (International Stay at Home Month) * Fix: sessiond: NULL pointer dereference after NULL check * Fix: sessiond: missing goto in error handler