Update version to v2.12.6
[lttng-tools.git] / ChangeLog
index 31e4bfae3cb82a1eb2209fe38d885678c2e7941e..ec904771f07563d9abc915ea93b0efa44ee01ac5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,259 @@
+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
+       * Fix: sessiond: user/group name can be leaked on malformed command
+       * configure: add -Wmissing-declarations, -Wmissing-prototypes, and more
+       * Fix: sessiond: make the --without-lttng-ust version of launch_application_notification_thread static
+       * Fix: tests: include callsites.h from callsites.c
+       * Fix: relayd: cast idigit argument to unsigned char
+       * Fix: tests: make some functions static
+       * Fix: tests: add `void` parameter to functions that take no parameters
+       * Fix: common: make lttng_trace_chunk_remove_subdirectory_recursive static
+       * Fix: common: add `void` parameter to log_add_time declaration
+       * CONTRIBUTING.md: harmonize list style with the rest of the docs
+       * CONTRIBUTING.md: clarify the guidelines for commit messages
+       * Fix: lttng-list: don't warn when the kernel domain has no channels
+       * Refactor: lttng-ctl: follow terminology of the tracker documentation
+       * lttng: list: replace domain headers with the official names
+       * lttng: list: print `per-user` and `per-process` buffer types
+       * Docs: overhaul of lttng-track(1) and lttng-untrack(1)
+       * Fix: MI: bump MI schema version to 4.0 in mi-lttng.c
+       * Fix: sessiond: occasional badfd error on repeated SIGTERM
+       * Fix: lttng: incorrect domain list printed when no domain is provided
+       * Fix all -Wdiscarded-qualifiers warning instances
+       * Remove part of last name to fit in a 80 character line
+       * Fix: Tests: trace path wildcards not expanded
+       * Fix: Tests: `gen-ust-events` doesn't error out on invalid option
+       * Fix: Tests: utils.sh: merge `validate_{directory,folder_is}_empty` functions
+       * Fix: Tests: undefined `NR_USEC_WAIT` bash variable
+       * directory-handle: print `errno` reason on `unlinkat()` error
+       * Fix: lttng-ctl: _handle can be NULL
+       * Fix: sessiond: domain subdirectory not deleted on empty clear
+       * Ignore -Wincomplete-setjmp-declaration warnings
+       * tests: put -no-pie in LDFLAGS instead of CFLAGS
+       * Silence `POSIX Yacc` warnings
+       * Fix -Wmissing-declarations warnings in filter-parser.y
+       * Include cmd-2-2.h in cmd-2-1.h
+       * Make create_file function static in gen-ust-tracef.c
+       * Make remove_file_from_hierarchy function static in test_directory_handle.c
+       * Make fd_count function static in test_fd_tracker.c
+       * Add declarations for exported functions in health_exit.c
+       * Add declarations for exported functions in health_fail.c
+       * Make functions in live_test.c static
+       * Add declarations for exported functions in consumer_testpoints.c
+       * Make parse_arguments static in base_client.c
+       * Fix all -Wmissing-declarations warning instances
+       * Fix: fd-tracker: mark symbols as hidden
+       * Fix: liblttng-ctl: hide new tracker config symbols
+       * configure: add --enable-Werror
+       * configure: use AX_APPEND_COMPILE_FLAGS to detect supported warning flags
+       * Tests: notification.c: remove extra space
+       * Tests: remove unused libhealthexit code
+       * Fix: remove broken health monitoring test `test_thread_exit`
+       * Fix: directory-handle: use of free'd handle on fstat() error
+       * Fix: relayd: use of relay_session ref count before initialization
+       * Fix: relayd: unchecked return value when opening relay socket
+       * tests: append to AM_CFLAGS instead of overriding it
+       * Tests: gen-ust-nevents: use options instead of arguments
+       * Tests: Cleanup: test_exclusion: more detailed output
+       * Fix: Tests: `test_exclusion` passing for the wrong reason
+       * Fix: trace-chunk: useless assignment to 'ret'
+       * Fix: lttng: track-untrack: error assigned to wrong variable
+       * Fix: relayd: live: unchecked poll set creation return value
+       * Fix: relayd: live: unchecked return value when opening relay socket
+       * Fix: relayd: unchecked poll set creation return value
+       * Fix: lttng: uninitialized pointer free'd when no sessiond is present
+       * Fix: tracker: inclusion of internal header in public header
+       * Tests: Fix: `wait_on_file()` returns too early
+       * Fix: Tests: utils.sh: fix unbound variable
+       * Tests: Fix typo: registerd -> registered
+       * Tests: Cleanup: remove unused bash variable
+       * Typo: 'toogle' -> 'toggle'
+       * Fix: lttng-sessiond: control reaches end of non-void function warning
+       * Fix: possible null dereference
+       * Fix: string might be uninitialized
+       * Fix: force the use of our _FORTIFY_SOURCE definition
+
 2020-02-04 lttng-tools 2.12.0-rc1
        * Tests: fix: test_relayd_working_directory fails as user
        * Fix: sessiond: snapshot errors don't clear session's trace chunk
This page took 0.02581 seconds and 4 git commands to generate.