X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ChangeLog;h=58b31b6e59fd20b786fa08b1011fb181d33e808f;hb=refs%2Fheads%2Fstable-2.13;hp=c0e62c857d2a9e18dc14d943947d348125492026;hpb=8560004510f25095ea749eda582642097d3bbaee;p=lttng-tools.git diff --git a/ChangeLog b/ChangeLog index c0e62c857..58b31b6e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,432 @@ +2024-04-05 lttng-tools 2.13.13 (National Deep Dish Pizza Day) + * Fix: consumerd: leak of tracing buffers on relayd connectivity issue + * Fix: consumerd: wrong timer mentioned in error logging + * Fix: consumerd: type confusion in lttng_consumer_send_error + +2024-03-28 lttng-tools 2.13.12 (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 + * tests: Fix typo in tests/regression/kernel/test_ns_contexts + * 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 + * Fix: sessiond: crash when sending data_pending to an active session + * Tests: fix: list_triggers_cli: kallsyms contains prefixed symbols + * License: common: error_query: fix typo in SPDX specifier + +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 instead of + * 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 + * Fix: trigger: abort() when adding `--notify` action with python event rule matches + * Tests: move `list_triggers_matches_ok` to utils.sh + * Tests: Move python test app to `tests/utils/testapp` directory + * Fix: validate whether event notifiers are supported by UST application + * Fix: ust: keep using lttng-ust-sock-8 and lttng-ust-wait-8 filenames + * Fix: Handle SIGBUS in sessiond and consumerd + * Clean-up: rename double 'lttng' prefixed functions + * lttng-{enable-event(1),event-rule(7)}: `--filter` is not always avail. + * lttng(1)/lttng-create(1): document `--relayd-path` + * doc/man: document `LTTNG_SESSIOND_PATH` env. var. like `--sessiond-path` + * lttng-save(1): document `--all` option in "SYNOPSIS" and "DESCRIPTION" + * Fix: snapshot path have domain subdir duplicate "ust/ust" or "kernel/kernel" + * Fix: error: remove trailing period from error descriptions + * Make the subitems array a part of action_work_item + * Test: fix: firing policy name has changed + * lttng-add-trigger(1): add usage examples + * lttng-add-context(1): add usage examples + * list_triggers.c: replace "after every" -> "every" + * Fix: add_trigger.c: `goto error` with a wrong UID for `--owner-uid` + * lttng-add-context(1): use a description list to explain `--channel` + * doc/man/manpage.xsl: indent the body of formal (example) blocks + * doc/man: lttng(1) command pages: always include `common-footer.txt` + * doc/man: follow man-pages(7) for section names/order and for "SEE ALSO" + * Fix: action-executor: leak of `work_item::subitems` field + * lttng: change a few instances of trigger "id" to "name" + * Change "event rule hit" to "event-rule matches" in user interface strings + * Fix: relayd: live: data is missing between viewer attach and retry + * Build fix: filter-grammar-test: incorrect inclusion flag + * Tests: fix: test_tp_fail: bail out on non-existing relay daemon + * build system: support rotation example + * Add trigger on event rule matches application example + * Update the remaining manual pages for LTTng-tools 2.13 + * doc/man/manpage.xsl: do not indent the title of an admonition block + * Fix: lttng: add-trigger: invalid access past end of exclusions buffer + * Fix: tests: extra arguments are not passed to the remove trigger command + * Fix: lttng-ctl: erroneous check if user is part of the tracing group + * Build fix: kernel-consumerd: merge conflict left in file + * Clean-up: consumerd: use a specific status code for get_next_subbuffer + * 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 + * sessiond: remove commented-out logging + * sessiond: Remove [.*-thread] logging prefix + * run-as: reduce verbosity of fd sending error paths + * Set thread name of run-as worker process + * Use new ioctl macros with fixed ioctl direction + * Sync lttng-modules ABI in internal kernel-ioctl.h + * Fix: data reception is called event when only FDS are expected for reception + * Fix: FDs are added to payload despite not being received + * Fix: initialize temporary fd array element to -1 + * Fix: common: hide shm* util symbols + * Fix: mark channel as disabled even if the session is inactive + * Fix: condition: buffer-usage: use double instead of fixed point + * Tests: notification: fail on trigger unregistration failure + 2021-04-23 lttng-tools 2.13.0-rc1 (National Take a Chance (on me ?) Day) * Set the 2.13 release codename and description * Tests: fix: test_notification_notifier_discarded_count missing renames