Update version to v2.13.11
[lttng-tools.git] / ChangeLog
index 21265991b7b4f2f8b3daea57b11567ad476736aa..dc9570813c7e7fdfd15d26e6eaa7493700364844 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,357 @@
+2023-08-21 lttng-tools 2.13.11 (National Spumoni Day)
+       * Tests: use CPU ids from online ranges
+       * docs: fix: Match stated automake requirement
+       * Docs: Fix broken reference in lttng-add-trigger
+       * Docs: Fix broken reference to lttng-concepts(7) man page
+       * Tests: Preemptively fail infinite blocking tests when low on disk space
+       * Fix: lttng-add-context: leak of application context parameters
+       * Fix: sessiond: bad fd used while rotating exiting app's buffers
+       * Fix: consumerd: slow metadata push slows down application registration
+       * event-rule: set event rule loglevel to domain specific value when unset
+       * Fix: sessiond: preserve jul/log4j domain loglevels
+       * Fix: sessiond: crash enabling event rules that differ only by loglevel type
+
+2023-06-20 lttng-tools 2.13.10 (National Ice Cream Soda Day)
+       * Fix: sessiond: incorrect use of exclusions array leads to crash
+       * Tests fix: test_callstack: output of addr2line incorrectly parsed
+       * Fix: sessiond: silent kernel notifier registration error
+       * Fix: sessiond: size-based notification occasionally not triggered
+       * 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
+       * Fix: lttng remove-trigger -h fails
+       * 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
+       * Fix: truncated len in lttng_event_rule_user_tracepoint_serialize()
+       * Tests: remove leftover debug printing in test_add_trigger_cli
+
+2023-01-05 lttng-tools 2.13.9 (National Whipped Cream Day)
+       * Fix: lttng: poptGetArg doesn't provide string ownership
+       * Fix: relayd: missing space in trace creation logging statement
+       * Fix: event field value: assertion fails on empty string
+       * Build fix: rpath of test libraries results in non-reproducible build
+       * Fix: never use 'no' in a command variable
+       * Fix: sessiond: abort called on undefined client command
+       * Fix: consumer: snapshot: assertion on subsequent snapshot
+       * Fix: sessiond: instance uuid is not sufficiently unique
+
+2022-08-22 lttng-tools 2.13.8 (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: sessiond: handle empty scheduled rotations
+       * Fix: sessiond: report client list allocation failure as a fatal error
+       * Fix: ust-consumerd: set `hangup_flush_done` in a locked context
+       * Fix: sessiond: size-based rotations never trigger
+       * 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: add-trigger: leak of parser context on capture
+       * Tests: fix: leak of trigger in trigger listing tests
+       * Fix: action error query: leak of action path
+       * Fix: lttng: enable-channel: leak of popt arguments
+       * Tests: clean-up: rate policy: remove stale comment
+       * Tests: fix: leak of rate policy in rate policy unit tests
+       * Tests: fix: leak of payload in serdes test of log level rule
+       * Tests: fix: leak of some attributes of ltt_ust_session
+       * Fix: liblttng-ctl: leak of payload on field listing
+       * 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.13.7 (International Day of Pink)
+       * Fix: sessiond: assert on empty payload when handling client out event
+       * Fix: Revert of 814b4934e2604a419bcb8eec57c0450dbb47e2c3
+       * Fix: sessiond: inverted condition checking for empty hash table
+       * Fix: notification: kernel: consumption of event notification stalls
+       * Fix: notification: assert on len > 0 for dropped notification message
+       * Fix: example: print_notification is called on status all returned status
+       * Fix: sessiond: assertion hit in ltt_sessions_ht_empty
+       * Fix: tests: missing _GNU_SOURCE for F_GETPIPE_SZ
+       * Fix: compat: 'LTTNG_UST_ABI_PROCNAME_LEN' is undeclared
+       * Fix: sessiond: cmd_enable_channel: negative error code used
+
+2022-03-28 lttng-tools 2.13.6 (National Hot Tub Day)
+       * Fix: hide symbols erroneously exported in 2.13.5
+
+2022-03-28 lttng-tools 2.13.5 (National Hot Tub Day)
+       * Fix: doc: action: wrong function documented for action_list destroy
+       * Fix: lttng-elf: wrong error label used by error path
+       * Fix: use the correct endian compat macros
+       * Fix: tests: uninitialized lttng_payload
+       * Fix: sessiond: ust-app: uninitialized name logged on stream copy failure
+       * Fix: lttng-elf: untrusted entry size divisor
+       * Fix: event: erroneous bound check on perf counter name size
+       * Fix: sessiond: event name length check is too strict
+       * 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
+       * Build fix: consumer: aggregate initialization isn't supported
+       * Fix: consumerd: use-after-free of metadata bucket
+       * Fix: ust-consumerd: leak of stream control structure
+       * Fix: liblttng-ctl: erroneous flat size computation
+       * Fix: test: babeltrace1 python bindings exposes `op_enum` as a string
+       * 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
+       * fix: msgpack requires limits.h for UINT_MAX
+       * Fix: liblttng-ctl: hide symbols introduced by packing fixes
+       * 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: use after free
+       * Fix: sessiond: `break` used instead of `goto`
+       * Fix: sessiond: lttng_channel object is not reclaimed
+       * Fix: common: local_attr might leak
+       * Fix: session: end goto label used for error path
+       * Fix: sessiond: event, filter expression, bytecode, exclusions might leak
+       * Fix: lttng-sessiond: event_context might leak
+       * Fix: lttng-ctl: uninitialized pointer read
+       * 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: remove debugging output
+       * Fix: tests: test_kernel: break should only be used in loops
+       * Fix: tools/snapshots/test_kernel flaky test
+       * Tests: Fix: test_list_triggers_cli: support in-kernel builtin lttng-modules
+       * Fix: lttng: truncated addresses and offsets on 32-bit builds
+       * 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: conversion from KB to bytes overflow on arm32
+       * Fix: Unexpected payload size in cmd_recv_stream_2_11
+       * Fix: liblttng-ctl: missing index allocator symbols
+       * Fix: lttng-sessiond: null pointer used to log session name
+       * Tests: add kernel test into the `make check` test suite.
+       * Build dist fix: some kernel tests are not distributed
+       * Tests: fix: test_kernel_function: erroneous test count
+       * Tests: fix: test_kernel_function: event name mismatch
+       * Tests: fix: select_poll_epoll: test assumes epoll fd value
+       * Fix: missing RCU read side critical sections
+
+2022-01-26 lttng-tools 2.13.4 (National Peanut Brittle Day)
+       * Build fix: hashtable: hashtable.cpp does not exist
+
+2022-01-26 lttng-tools 2.13.3 (National Peanut Brittle Day)
+       * Fix: _lttng_variant_statedump should expect lttng_ust_ctl_atype_variant_nestable
+       * Fix context mismatch across UST version due to legacy array context field
+       * Relicence all source and header files included in LGPL code
+       * 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.13.2 (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
+       * lttng: list valid condition / action names if missing or unknown
+       * lttng: mention argument number on unknown action / condition name
+       * lttng: fix argument numbers in add-trigger error messages
+       * argpar-utils: tweak unknown option error message
+       * argpar: sync with upstream - adjust to iterator API
+       * common: move append_str to string-utils
+       * lttng-create(1): specify that `--shm-path` only applies to UST channels
+       * Fix: sessiond: action-executor: misquoted strings in logging
+       * Tests: live kernel: no plan printed when non-root
+       * Fix: sessiond: assert on lttng_ht_add_unique_str on ltt_sessions_ht_by_name
+       * Fix: sessiond: snapshot: leak of trace chunk
+       * Fix: test: use BABELTRACE_BIN instead of babeltrace
+       * Fix: action executor: ref count imbalance for session object
+       * 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: tests: app unregistering is not guaranteed by app lifetime
+       * Fix: lttng-ctl: tracing_group memory leaks
+       * Fix: use <unistd.h> instead of <sys/unistd.h>
+       * 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
+       * Typo: occurences -> occurrences
+
+2021-10-18 lttng-tools 2.13.1 (National Chocolate Cupcake Day)
+       * 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
+       * Fix: sessiond: previously created channel cannot be enabled
+       * Build fix: Missing message in LTTNG_DEPRECATED invocation
+       * Fix: notification-thread: handling event from a removed tracer event src
+       * include: add missing "extern"
+       * 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: lttng: add-trigger: don't provide a default event rule type
+       * 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: common: error query for trigger action protocol error
+       * Fix: common: un-hide two rate policy functions
+       * Fix: include: remove unneeded declaration of lttng_session_descriptor_get_session_name
+       * 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
+       * Fix: runas: less-than-zero comparison of an unsigned value
+       * Fix: runas: supplementary groups are ignored on lttng save
+       * Docs: lttng-event-rule(7): --exclude does not exist, use --exclude-name
+       * sessiond: logging typo: {triger, triggger} -> trigger
+       * Fix: lttng: free sessions in cmd_destroy
+       * Fix: lttng: free domains and channels in get_session_stats_str
+
+2021-08-02 lttng-tools 2.13.0 (Ice Cream Sandwich Day)
+       * Tests fix: unix socket: leaked socket of connection to child
+       * Fix: sessiond: notification: missing unlock on client skip
+
+2021-07-16 lttng-tools 2.13.0-rc3 (World Snake Day)
+       * liblttng-ctl: hide logger_thread_name
+       * liblttng-ctl: hide MI trigger command variables
+       * Cleanup: rename `get_domain_str()` -> `lttng_domain_type_str()`
+       * .gitignore: Add hidden trigger test
+       * Test: unix socket: test credential passing
+       * Build fix: retrieve unix socket peer PID on non-unix platforms
+       * Fix: sessiond: notification: find_tracer_event_source returns NULL
+       * Tests: MI: add `diag` statements to test functions
+       * Cleanup: fix comments in `duplicate_{stream,channel}_object()`
+       * Tests: add hidden trigger visibility test
+       * Fix: sessiond: list-triggers: don't return internal triggers
+       * unix: receive pid on non-linux platforms
+       * Clean-up: sessiond: return an lttng_error_code from list_triggers
+       * notification-thread: remove fd from pollset on LPOLLHUP and friends
+       * Tests: fix: list triggers: bc missing on system
+       * Clean-up: event-expr: remove unreachable code
+       * Fix: lttng: remove-trigger: null dereference on MI initialization error
+       * Fix: lttng: list-trigger: leak of error query in query callbacks
+       * Fix: lttng: add-trigger: null dereference on MI initialization error
+       * lttng: add-trigger: print generated trigger name
+       * sessiond: generate trigger name: name triggers with the 'trigger' prefix
+       * Revert "lttng: add-trigger: print generated trigger name"
+       * lttng: add-trigger: print generated trigger name
+       * MI: xsd: bump to 4.1
+       * Tests: trigger: mi: use utils.sh xsd versions for xml diff
+       * Tests: utils: regroup xml utils to utils.sh
+       * Tests: MI: {add, list, remove}-trigger
+       * MI: xsd: add objects type definition related to trigger
+       * MI: xsd: sort output_type
+       * MI: xsd: sort command_string_type
+       * Add pretty_xml utils
+       * Move xml utils from mi subfolder to xml-utils folder
+       * Fix: lttng_triggers count is not equal to the size of the sorted trigger array
+       * MI: {add, list, remove} trigger
+       * MI: implement all objects related to trigger machine interface
+       * Move event-expr-to-bytecode to event-expr
+       * Move event-expr from liblttng-ctl to libcommon
+       * MI: support double element
+       * Fix: rotation client example: leak of handle on error
+       * Silence warnings on GCC 4.8 with -Wmaybe-uninitialized
+       * doc/man/common-footer.txt: add missing non-breaking space
+       * Rename "tracing session" -> "recording session"
+       * doc/man: use double quotes when referring to internal section
+       * doc/man: update type/domain options for common event rule spec.
+       * .gitreview: Set default branch to 'stable-2.13'
+       * Fix: use of uninitialised bytes valgrind warning
+       * Fix: build: libcommon fd-tracker dependency is not available
+       * Clean-up: mark lttng_error_query communication header as const
+       * Add condition-targeting error query
+       * action list: missing renames from previous name "group"
+       * Cleanup: ust-app: simplify ust_app_synchronize() error paths
+       * Fix: double mutex_unlock() if session is deleted
+       * Fix: out of sync lttng_ust_ctl_sigbug_handle() prototype
+       * Fix: appending unallocated data from beyond exclusion entries
+       * Tests: remove leftover temporary files
+       * lttng-disable-channel(1): fix typo
+       * lttng-concepts(7): remove reference to the section it's in
+       * lttng-concepts(7): fix typo
+       * Build fix: build without lttng-ust
+       * build: Add missing DEFINE_LTTNG_UST_SIGBUS_STATE();
+       * build: Pass --no-as-needed directly to the linker
+       * build: Use liblttng-sessiond-common.la instead of LIVE
+       * build: Use liblttng-sessiond-common.la instead of SESSIOND_OBJS
+       * build: Add the liblttng-sessiond-comm.la convenience library
+       * lttng-concepts(7): add missing "commands" word
+       * Tests: crash: remove redundant directory test
+       * Fix: bump minimal urcu dependency to 0.11
+       * condition: buffer usage: validation does not check for ratio and bytes threshold
+       * Remove LTTNG_EVENT_RULE_TYPE_KERNEL_FUNCTION
+       * Remove lttng_event_rule_tracepoint
+       * Test log level for newly introduced event rule type (*_logging, user_tracepoint)
+       * Introduce lttng_event_rule_python_logging
+       * Introduce lttng_event_rule_log4j_logging
+       * Introduce lttng_event_rule_jul_logging
+       * Introduce lttng_event_rule_user_tracepoint
+       * Introduce lttng_event_rule_kernel_tracepoint
+       * Rename lttng_event_rule_kernel_probe to lttng_event_rule_kernel_kprobe
+       * Rename lttng_event_rule_userspace_probe to lttng_event_rule_kernel_uprobe
+       * Rename lttng_event_rule_syscall to lttng_event_rule_kernel_syscall
+       * Rename *emission_site_type to *emission_site
+       * Rename lttng_event_rule_syscall_(set, get)_pattern to lttng_event_rule_syscall_(set, get)_name_pattern
+       * Rename *exclusion* to *name_pattern_exclusion*
+       * Rename lttng_event_rule_tracepoint_(set,get)_pattern to lttng_event_rule_tracepoint_(set, get)_name_pattern
+       * Build fix: cygwin: unknown type ssize_t
+       * Fix: consumer: unbalanced RCU read-side lock on error
+       * lttng-enable-event(1): add usage examples
+       * lttng-{enable,disable}-event(1): document default channel limitation
+       * doc/man: log level prefixes are not required
+       * Fix: sessiond: use of uninitialized memory in buffer-usage condition
+       * lttng-ctl: use lttng_action_path to specify error query actions
+       * error-query: add lttng_action_path to express the location of an action
+       * tests: Move tap-driver.sh out of the autotools aux directory
+       * lttng-enable-channel(1): add usage examples
+       * lttng-view(1): add usage examples
+       * lttng-untrack(1): add usage examples
+       * lttng-untrack(1): follow the style of lttng-track(1) for the example
+       * lttng-track(1): add usage examples
+       * lttng-stop(1): add usage examples
+       * lttng-start(1): add usage examples
+       * lttng-snapshot(1): add usage examples
+       * lttng-save(1): add usage examples
+       * lttng-rotate(1): add usage examples
+       * lttng-remove-trigger(1): add usage examples
+       * lttng-regenerate(1): add usage examples
+       * lttng-load(1): add usage examples
+       * lttng-list(1): add usage examples
+       * lttng-enable-rotation(1): add usage examples
+       * lttng-disable-rotation(1): add usage examples
+       * lttng-disable-event(1): add usage examples
+       * lttng-disable-channel(1): add usage examples
+       * lttng-destroy(1): add usage examples
+       * lttng-create(1): add usage examples
+       * lttng-clear(1): add usage examples
+       * lttng-add-trigger(1): DESCRIPTION: move up the link to "EXAMPLES"
+       * lttng-add-context(1): EXAMPLES: add internal links to relevant options
+       * lttng-disable-event(1): `--tracepoint` option is not the default
+       * Cleanup: tests: name all temporary files to better identify leakage
+       * Cleanup: tests: use find's `-name` option instead of grep
+
 2021-05-14 lttng-tools 2.13.0-rc2 (National Dance Like a Chicken Day)
        * Fix: expected procname should not have -ust suffix
        * Fix: Tests: leftover temporary files after tests
This page took 0.026698 seconds and 4 git commands to generate.