X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ChangeLog;h=dc3d72957bf88371734782b0a8e3c883880f43aa;hb=refs%2Fheads%2Fstable-2.11;hp=3d92137bda3b77703bb794805e7f54a5ce7d07a3;hpb=f150e760ff0bbd9dbf0dab1b22bb2d5692a77a67;p=lttng-tools.git diff --git a/ChangeLog b/ChangeLog index 3d92137bd..dc3d72957 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,721 @@ +2021-10-18 lttng-tools 2.11.8 (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 + * 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: sessiond: ust session is inactive during ust_app_global_update + * Fix: man: lttng-rotate: trace file count/size limitation does not apply + * Fix: rotation client example: leak of handle on error + * Fix: use of uninitialised bytes valgrind warning + * Fix: bump minimal urcu dependency to 0.11 + * Fix: list_lttng_agent_events: unbalanced RCU read-side lock on error + * Fix: consumer: unbalanced RCU read-side lock on error + +2021-05-18 lttng-tools 2.11.7 (No Dirty Dishes Day) + * 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: 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: 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: sessiond: kernel: invalid error code check + * 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 + +2021-02-22 lttng-tools 2.11.6 (National Margarita Day) + * 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.11.5 (National Watermelon Day) + * 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 + * Cleanup: typo in DBG() statements + * Fix: relayd: send_viewer_streams sends stack data in padding + * 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: kernel metadata file outside of kernel/ directory + * 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 + * 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 + +2020-05-19 lttng-tools 2.11.4 (Dinosaur Day) + * Fix: common: abort on rotation after time manipulation + * Fix: tests: `-Wstringop-overflow` warning + * Fix: load: incomplete error handling for load_session_from_file + +2020-04-16 lttng-tools 2.11.3 (National Eggs Benedict Day) + * Fix: lttng-destroy: missing newline on session destruction message + * Fix: common: add `void` parameter to log_add_time declaration + * Fix: lttng-list: don't warn when the kernel domain has no channels + * Fix: sessiond: occasional badfd error on repeated SIGTERM + * Fix: lttng: incorrect domain list printed when no domain is provided + * directory-handle: print `errno` reason on `unlinkat()` error + * Fix: lttng-ctl: _handle can be NULL + * Silence `POSIX Yacc` warnings + * Fix: relayd: use of relay_session ref count before initialization + * Fix: lttng: uninitialized pointer free'd when no sessiond is present + +2020-02-12 lttng-tools 2.11.2 (Hug Day) + * Fix: sessiond: check for lttng-modules ABI 2.1 rather than 2.8 + * Tests: Fix: `wait_on_file()` returns too early + * Fix: Tests: utils.sh: fix unbound variable + * Tests: Fix typo: registerd -> registered + * Typo: 'toogle' -> 'toggle' + * Fix: force the use of our _FORTIFY_SOURCE definition + +2020-02-05 lttng-tools 2.11.1 (National Chocolate Fondue Day) + * Fix: sessiond: snapshot errors don't clear session's trace chunk + * Fix: sessiond: bounded snapshot record fails when no streams exist + * session-descriptor: fix comment typos in session-descriptor.h + * Fix: include stdlib.h in compat/string.h + * Fix: lttng: sanity check of `--probe` description + * Fix: update context types for Python bindings + * Fix: lttng: placing probe on symbol starting with `_` + * Fix: build failure with -fno-common + * doc: Fix bind address example for lttng-relayd + * Test: rotate_utils.sh: consider chunk archive with ust/ as empty + * Fix: consumer: do not flush on transition from NULL chunk + * Fix: consumer: honor "active" flush flag + * Fix: sessiond cmd.h: include missing lttng-sessiond.h + * Fix: sessiond: ust-app: per-pid buffers: Create empty ust/ directory + * Fix: utils: utils_stream_file_path separator + * Fix: consumerd: use packet sequence number for rotation position + * align.h: Implement ALIGN_FLOOR macro + * Fix: relayd: per-pid live: no new metadata vs close + * Fix: relayd: use packet sequence number for rotation position + * Fix: relayd stream.c: LTTNG_OPTIONAL_GET address confusion + * Fix: optional.h macro missing parentheses and guards + * dynamic-array: fix documentation of lttng_dynamic_pointer_array_get_pointer + * Fix: make dist fails on sdt-probe test with autotools v1.16+ + * Fix: tests: metadata presence on relayd is not deterministic + * Fix: move testpoint after state update + * doc: fix typo in lttng-enable-event man page + * Fix: sessiond: RCU read lock imbalance on get trace chunk id error + * Fix: build: ust -> kernel mix-up in noinst_SCRIPTS + * Fix: relayd: missing metadata stream causes all traces to be skipped + * configure.ac: Remove duplicated CMD_DESCR_ROTATE definition + * Fix: relayd: fully initialize viewer stream before publishing it + * Fix: relayd: don't send streams if there is no metadata + * Fix: update apps on untrack only when session is active + * Fix: consumerd: assert on null trace chunk on session restart + * Fix: sessiond: don't wait for a rotation from a null chunk to finish + * Fix: sessiond: duplicated rotation notification sent + * Fix: relayd: remove assert of non-null stream trace chunk on rotate + * Docs: verb/noun confusion in comment + * Fix: sessiond: no rotation performed from null chunk to new chunk + * Fix: invalid use of destructor in dynamic pointer array + * Fix: relayd: check for a trace chunk before writing a packet + * Fix: relayd: viewer session trace chunk not released on detach + * Require automake >= 1.12 + * Fix: relayd: session trace chunk is copied too late + * Fix: relayd: disallow 0-length session names for 2.4+ peers + * Fix: sessiond: ust: deadlock with per-pid buffers + * relayd: close viewer stream trace chunk earlier on release + * Fix: relayd: put chunk reference when closing stream + * Fix: relayd: tracefile rotation: viewer opening missing index file + * Tests: fix shellcheck warning + * Tests: base path: lttng load for session configuration + * Cleanup: remove unused internal lttng_session_descriptor_get_base_path + * Refactor: Move set session path to own function + * Fix: move set base_path of session to URI configuration + * Fix: lttng: initialize sessions pointer to NULL + * Fix: check for dtrace and sdt.h before enabling SDT uprobe tests + * Fix: consumerd: crash occurs when taking snapshot of ust channel + * Fix: trace-chunk: log the cause of file open failures + * Fix: relayd: live: crash when creating viewer streams + * Fix: relayd: live: crash on attach to a session without trace chunk + * Fix: relayd: live: some listed sessions are not attacheable + * Fix: relayd: don't put un-acquired trace chunk reference + * Fix: relayd: don't put un-acquired viewer trace chunk reference + * Fix: consumerd: NULL pointer dereference during metadata sync + * consumerd: clean-up: stream attribute accessed without locking stream + * Fix: check for lttng-ust >= 2.11 at configure + * Typo: occured -> occurred + * Fix typo 'Attemp' -> 'Attempt' + * Fix: sessiond: use system LTTng-UST headers when available + * doc/man: use specific revision date for each manual page + * lttng-rotate.1.txt: update voice and document the `archives` subdir. + +2019-10-17 lttng-tools 2.11.0 (Wear Something Gaudy Day) + * Fix: sessiond: unbalanced health register/unregister on error + * Fix: sessiond: NULL thread_state provided to pthread_cleanup callback + * Fix: sessiond: leak of trace chunk on destruction error + * common: cleanup error message mentioning mkdir + * Fix: sessiond: session destruction errors are unreported + * Fix: consumer: double unlock of rcu read lock on error + * Fix: sessiond: application channel creation failure stops start cmd + * sessiond: clean-up: enhance logging on event allocation failure + * Fix: sessiond: don't assert on event creation error + * Fix: lttng-elf.c: dereferencing pointer before null check + * Fix: sessiond: unbounded elf section data size allocation + * Fix: sessiond: double socket close on allocation failure + * Fix: sessiond: TOCTOU error on save of session configuration + * Fix: tests: replace truncation-prone logging helper + * Fix: relayd: Dereference after null check + * Fix: sessiond: app sock and notif shm not created by the main thread + * Fix: sessiond: client socket not created by the main thread + * Fix: relayd: Dereference before null check + * Fix: relayd: unchecked return values + * Fix: ust-consumer.c: Double unlock of channel lock + * Fix: sessiond: Dereference before null check + * Fix: sessiond: Dereference after null check + * Fix: relayd: Explicit null dereferenced + * Cleanup: relayd: Logically dead code + * Fix: enable_events.c: typo in `WARN()` message + * Cleanup: enable_events.c: fix erroneous comment + * Cleanup: relayd: identical code for different branches + * Fix: common: Unchecked return value of `closedir()` + * Fix: relayd: Dereference after null check + * Fix: Tests: test_session.c: Structurally dead code + * Fix: session-descriptor.c: Dereference before null check + * Fix: common: Dereference after null check + * Fix: test_utils_compat_poll.c: Unchecked return value + * Fix: liblttng-ctl: wrong variable used during argument validation + * Fix: liblttng-ctl: ABI-breaking size change of lttng_session struct + * Fix: liblttng-ctl: config and mi strings inadvertantly exported + * Fix: liblttng-ctl: compat_sync_file_range inadvertantly exported + * Fix: liblttng-ctl: poll compatibility symbols inadvertently exported + * Fix: lttng-ctl: unvalidated session destruction handle API arguments + * Docs: document the session destruction handle API + +2019-10-01 lttng-tools 2.11.0-rc4 (International Coffee Day) + * Fix: Tests: Segfault in `test_utils_expand_path()` + * Fix: lttng-ctl: missing __cplusplus closing brace + * Fix: trace chunk reported unknown before close command execution + * Fix: sessiond: leak of application socket on chmod failure + * sessiond: clean-up: silence warning that agent event is leaked + * Fix: tests: leak of prefix on error to register lttng namespace + * Fix: use newly created event filter for condition check + * Fix: lttng-crash: detect truncated files + * Fix: sessiond: fs.protected_regular sysctl breaks app registration + * relayd: clean-up: mix-up between LTTNG_PATH_MAX and LTTNG_NAME_MAX + * Fix: destroy command: put consumer output after destroy notifier + * Refactor: remove logically dead code + * Fix: Null check before destroying health_sessiond + * Fix: Move initialization of queue_pipe_fd after null check of handle + * Fix: release reference to new chunk on copy error + * Fix: Close socket handle on error + * Fix: lttng: out-of-bound copy of arguments in 'view' command handler + * Revert "lttng: fix: out-of-bounds copy of original 'view' command arguments" + * Fix: relayd: session destruction does not complete in live mode + * Add a copy method to the trace chunk interface + * relayd: move viewer stream chunk reference release to destroy + * relayd: move relay_session locking outside of make_viewer_streams + * Fix: release reference to trace chunk on index file creation failure + * trace-chunk: clean-up: mark close command properties as static const + * trace-chunk: clean-up: misleading label name + * ust-consumer: fix: metadata stream lock taken before destroy + * sessiond: fix: memory leak of section name in elf parser + * kconsumer: clean-up: initialize ctf_index before populating it + * sessiond: fix: strncpy called with source length + * sessiond: fix: possible unaligned access in packed structure + * relayd: clean-up: strncpy uses the length of the source as length + * lttng: fix: out-of-bounds copy of original 'view' command arguments + * lttng: clean-up: silence bogus string truncation warning + * sessiond: clean-up: mixed log levels enums used to look-up event + * sessiond: fix: possible unaligned access in packed structure + * sessiond: fix: possible unaligned access in packed structure + * sessiond: fix: possible unaligned access in packed structure + * sessiond: fix: possible unaligned access in packed structure + * lttng-ctl: fix: possible unaligned access in packed structure + * lttng-ctl rotate: fix: possible unaligned access in packed structure + * runas: fix: possible unaligned access in packed structure + * consumer: fix: possible unaligned access in packed structure + * inet: fix: possible unaligned access in packed structure (inet/inet6) + * consumer: fix: unaligned accesses to index fields + * lttng-sessiond: clean-up: set free'd pointer to NULL + * lttng: fix: potential 0-length allocation in pid list parsing + * Tests: fix: uninitialized session_id used on list_sessions failure + * Tests: fix: uninitialized values passed to close() on error + * Clean-up: assert that get_count_order() returns a positive value + * Clean-up: suppress bogus scan-build warning + * Tests: fix: leak caused by misuse of realloc in multi-lib-test + * sessiond: clean-up: init ret value of _session_set_trace_chunk_no_lock_check + * sessiond: fix: print_escaped_ctf_string mishandles empty string + * lttng-ctl: fix: lttng_data_pending confuses communication status + * relayd: fix: rotate_truncate_stream() assumes non-null next chunk + * Fix: dereference of NULL pointer in stream_write() + * Fix: report bytecode_push failure when pushing symbol + * Fix: only invoke PERROR() on failure to close sessiond_socket + * Clean-up: lttng: check status returned when checking rotation state + * Fix: communication error unreported in relay_rotate_session_streams + * Fix: unreported error in relay_close_trace_chunk + * Clean-up: remove dead assignment from ht cleanup thread launcher + * Clean-up: remove dead assignment from thread_rotation + * Clean-up: remove dead assignment in setup_channel_trace_path + * Clean-up: remove dead assignments while setting session trace chunk + * Fix: report path truncation on addition of local uri to consumer + * Clean-up: lttng: silence warning in regenerate command handler + * Clean-up: lttng: silence warning in metadata command handler + * Clean-up: remove NULL check on sesison_create mandatory arguments + * Fix: session may be NULL in relay_create_session error path + * Clean-up: silence erroneous leak warning + * Fix: leak of lttng_elf_shdr in lttng-elf.c + * Fix: leaked chunk reference in lttng_consumer_create_trace_chunk + * Clean-up: remove unused stream file creation and unlink functions + * Fix: use the trace chunk to truncate streams on late rotation + * Clean-up: format using remaining buffer len rather than total len + * Fix sessiond: report flush errors on session stop + * Fix: leak of trace_path on error in ust_app_snapshot_record + * Fix: uninitialized directory handle finalized on error path + * Fix: release reference to created chunk if it can't be published + * Fix: destroy chunk registry on element creation failure + * Fix: return NULL on trace chunk registry failure + * Fix: forward fatal error in evaluate_condition_for_client() + * Fix relayd: check for NULL in session_put + * Fix typo in regenerate statedump test util + +2019-09-06 lttng-tools 2.11.0-rc3 (Great Egg Toss Day) + * Fix: time constants already defined on macOS + * Fix: missing include strings.h for bcopy on Solaris 10/11 + * Fix: strndup does not exist on Solaris 10 + * Fix: strnlen is not defined on Solaris 10 + * Fix: redefinition of USEC_PER_SEC macro on macOS + * Fix: sessiond does not build without lttng-ust support + * Fix: sessiond: handle NULL control output in session descriptor base path getter + * Tests: metadata env scope values + * Support LTTNG_KERNEL_SESSION_SET_CREATION_DATETIME of lttng-modules + * Support LTTNG_KERNEL_SESSION_SET_NAME of lttng-modules + * Metadata: add env fields to ease lttng path hierarchy creation for viewer + * Fix: lttng_directory_handle_init fails on opening base relayd output + * Fix: init_session_output_path is valid for peer >= 2.11 only + * Fix: chunk state is not set when relayd does not support trace chunks + * Fix: check validity of a stream before invoking ust flush command + * Fix: namespace our gettid wrapper + * pprint.m4: add missing copyright header + * Fix: reintroduce lazy kernel modules load, fix empty syscall list + * Fix: check for lttng modules presence before testing + * sessiond: use epoll()/poll() instead of select() + * lttng-ctl: notifications: use epoll()/poll() instead of select() + * epoll/poll compat: expose interruptible API + * tests: invoke full_cleanup from script trap handlers, use modprobe -r + * Cleanup: test: don't stop relayd twice + * Fix: test: utils.sh: exit from process on full_cleanup + * Fix: utils.sh: handle SIGPIPE + * Fix: tests: error handling in high throughput limits test (v2) + * Improve handling of test SIGTERM/SIGINT (v2) + * Fix: incorrect conversion specifier used with size and padding + * Fix: incorrect conversion specifier used with packet size + * Fix: mismatch of ust_app_get_size_one_more_packet_per_stream prototype + * Fix: mismatch of ust_app_snapshot_record prototype + * Fix: lttcomm_consumer_close_trace_chunk_reply undefined without UST + * Fix: kernel/ust snapshot backward compat for 2.10 relay + * relayd protocol: reply path for close chunk and create session 2.11 + * Fix: streaming and snapshot backward compat for relayd < 2.11 + * Fix: relayd: create_index_file error handling + * Fix: don't use newlines in logging message + * Fix: relayd outputs traces of legacy sessionds to home dir + * relayd comm: add base path to create session + * tests: add base-path tests + * test utils: support URI in lttng_snapshot_add_output + * Fix: close consumer sockets before waiting for them + * Fix: consumer: put each chunk on teardown + * Fix: validate that session, host and basepath are legal + * Fix: honor base path for network URIs + * Fix: bindings import segfaults on missing hash_key_u64 + * Cleanup: typo: overriden -> overridden + * Fix: relay: relay_rotate_session_streams uninitialized return value + * Fix: test_kernel rotation: expect 60 rather than 64 + * Save registration time for app + * Fix: tests: update rotation ust number of tests + * Clean-up: missing word `lock` in comment + * Use case-scope error labels handling LTTNG_CONSUMER_ROTATE_CHANNEL + * Use case-scope error labels handling LTTNG_CONSUMER_PUSH_METADATA + * Use case-scope error labels when handling LTTNG_CONSUMER_GET_CHANNEL + * Use case-scope error labels handling LTTNG_CONSUMER_ROTATE_CHANNEL + * Use case-scope error labels handling LTTNG_CONSUMER_DESTROY_CHANNEL + * Use case-scope error labels handling LTTNG_CONSUMER_STREAMS_SENT + * Use case-scope error labels when handling LTTNG_CONSUMER_ADD_STREAM + * Clean-up: set stream's channel pointer to NULL after releasing ref + * Fix: mark consumer channels as logically deleted during deletion + * Cleanup: mark utils_get_home_dir as returning a const string + * Fix: use utils_get_home_dir for anonymous trace chunk path + * Fix: tests: typo in rotation util + * Fix: keep ust/kernel session items around for destroy notifier + * Tests: add a test for the "skip non-empy" rmdir flag + * Fix: rmdir recursive: skip non-empty directories with flag + * Fix: uninitialized variable returned by relay_rotate_session_streams + * Fix: allow quiet rotation at destroy of live session + * Fix: relayd: live: read index file header + * Fix: index: use parenthesis around define + * Fix: test_crash: don't kill first app twice + * Fix: perform a rotation to a null trace chunk on session destruction + * relayd: log destination trace chunk of ROTATE_STREAMS command + * Clean-up: declare dummy pipe payload as a char instead of a string + * Fix: consumer: assert that stream chunk != NULL (not channel) + * relayd fix: trace chunk is reclaimed before close command + * Fix: rotation of a stopped session hangs indifinitely + * Fix: initialize kernel stream max subbuffer size on creation + * Fix: use relay_id from ust_session or kernel_session consumer + * Fix: lttng-ctl: public session.h control API: restore 0 success return value + * Fix: remote kernel stream paths contain too much information + * Fix: destroy command: send credentials with command + * relayd: open live viewer files from the current stream's trace chunk + * Fix: don't perform an automatic session rotation in snapshot mode + * Fix: incorrect time unit used when waiting on destruction handle + * relayd: implement file and session rotation on top of trace chunks + * Fix: remove assertions of the existence of a trace chunk + * Fix: only create trace chunk if the output of a session supports it + * Fix: use stream's current tracefile count rather than the max + * relayd: use bool for is_metadata relay_stream attribute + * relayd: create stream files relative to a session's trace chunk + * Fix: leak of consumer_output when using an explicit snapshot output + * Fix: reception buffer of control connection is leaked + * Fix: ensure a newline is printed before exit on client destroy + * Send session creation time to relay daemon when supported + * relayd: remove unnecessary allocation in session path formatting + * relayd: add remote trace chunk close command + * Create userspace buffers using ua_sess effective credentials + * Use lttng_credentials instead of bespoke uid/gid members in ua_sess + * relayd: add remote trace chunk creation command + * Add .clang-format + * Don't allow slashes and dots in overriden trace chunk names + * relayd: Retrieve a relay_session's trace chunk on creation + * relayd: Transmit current trace chunk id in create_sesssion command + * Use a "comm" variant of the LTTNG_OPTIONAL helper in sessiond-comm + * Remove unused relay daemon commands + * relayd: create an implicit trace chunk on session creation + * relayd: create sessiond trace chunk registry on session creation + * Use directory handle to rename trace chunk directory + * Docs: add directory handle header documentation + * Add rmdirat and renameat to run-as commands + * Print the location of trace chunk produced at session destruction + * Docs: misleading documentation of compat_epoll_create + * Remove unused ust_sock member of command_ctx + * Tests: clarify the tap output of the kernel session rotation test + * Fix: wait for the completion of implicit session rotations + * Fix: don't hide EBADF error subbuffer write + * Tests: don't expect a UST directory after inactive per-PID rotation + * Tests: remove check for an empty chunk produced on destruction + * Fix: metadata stream is not marked as quiescent after packet commit + * Create stream files relative to a stream's current trace chunk + * Cleanup: remove duplicated code in snapshot record command + * Fix: run_as_mkdirat returns value of errno + * Fix: double close of directory fd in runas worker + * relayd: add the sessiond_trace_chunk_registry interface + * Move index initialization to ctf-index.h + * Export utils_stream_file_path outside of common/utils.c + * Add file creation/unlinking utils to directory handle + * relayd: send sessiond uuid and session id as part of create session + * Transmit sessiond uuid to consumerd on launch + * Add lttng_uuid_copy() util + * Add lttng_uuid_is_nil() util + * Add lttng_uuid_is_equal util to lttng_uuid + * Add a consumer daemon INIT command + * Generate a UUID on lttng-sessiond launch + * Remove unneeded creation of the UST domain sub-directory + * .gitignore: ignore ccls and clangd files + * Create an initial trace chunk on first start of an ltt_session + * Allow direct access to the dirfd of a directory handle + * Create a consumer daemon trace chunk registry on launch + * Add the trace chunk and trace chunk registry interfaces + * Add a time_to_iso8601_str() utility + * Add a method to create a directory handle relative to another one + * Maintain a channel-per-session_id hash table in the consumers + * Document lttng_directory_handle_init_from_dirfd + * Allow lttng_directory_handle to be moved + * Add a copy method to lttng_directory_handle + * Remove unused bitfield.h header + * Use uuid_to_str() when formatting metadata + * Add an internal uuid formatting utility + * Tests build fix: undefined MAGIC_VALUE macro + * Build fix: undeclared variable in poll compat + * Fix: error when listing sessions with no session + +2019-05-24 lttng-tools 2.11.0-rc2 (Asparagus Day) + * Update base test for binding + * Fix: python binding: expose domain buffer type + * Clean-up: correct typo from epoll to poll + * Clean code base from redundant verification + * Change lttng_poll_wait behaviour of compat-poll to match compat-epoll + * Fix: hang in thread_rotation when using compat-poll + * Adapt poll layer behaviour to match the epoll layer + * Change LTTNG_POLL_GETNB behaviour for poll flavor + * Add Unit test to poll compatibility layer + * Fix: lttng_poll_mod calls compat_(e)poll_add + * Fix: getenv can return null + * Bump LTTNG_UST_ABI to 8.0 + * Fix: directory handle credentials parameter is not const + * doc: Add reference to USDT probes + * Clean-up: Remove double buffer initialisation + * Fix: getgrnam is not MT-Safe, use getgrnam_r + * Fix: logging: log_add_time() save/restore errno + * Fix relayd: initialize beacon to -1ULL + * Fix: relayd: handling of lttng_read errors >= 0 + * Harmonize pprint macro across projects + * Update the ac_define_dir macro from the autoconf archive + * Harmonize rw_prog_cxx_works macro across projects + * Namespace check_sdt_works custom macro + * Update macros from the autoconf archive + * Fix: relayd not spawned on default-url live session creation + * Clean-up: remove empty line in lttng create command + * Add mkdirat utils and runas wrappers + * Clean-up: remove commented code from test + * Fix tests: NULL pointer dereference in ltt_session unit tests + * Fix tests: NULL pointer dereference in ust channel unit tests + * Fix tests: NULL pointer dereference in ltt_ust_context unit tests + * Fix tests: NULL pointer dereference in ltt_session unit tests + * Log the wait-shm's path on shm_open failure + * Generate session name and default output on sessiond's end + * Move completed trace archive chunks to an "archives" sub-folder + * Fix: lttng_rotate_session does not handle socket close + * Fix: hide internal libcommon time utilities + * lttng: make the configuration file interface const correct + * Fix: command reply message is leaked for variable-len replies + * Fix: skip test when ust doesn't have perf support + * Tests: check for lttng-modules presence + * Fix: Properly sanitize input parameter + * Fix tests: link libpause_consumer on liblttng-ctl + * tap-driver.sh: flush stdout after each test result + * Fix tests: snapshot size validation failure runs too many test cases + * Fix tests: the tree origin can be a symlink itself + * Fix tests: skip test_getcpu_override on single core systems + * Enforce DL_LIBS value instead of hard coded -ldl + * Fix: Add POPT_CFLAGS to lttng_CFLAGS + * Fix: consumer snapshot: handle unsigned long overflow + * Clean-up: hide internal kernel_consumer_add_channel() symbol + * Fix: no-output sessions do not enforce snapshot constraints + * Fix: wrong error code returned by kernel_snapshot_record() + * Clarify incorrect channel output type logging message + * Mark lttng_kconsumer_snapshot_channel as static + * Docs: clarify the meaning of the snapshot_mode flag in ltt_session + * lttng: clean-up the printout of snapshot outputs + * lttng: clean-up printout of session output destination + * Docs: document the format of the lttng_session path member + * Docs: lttng-ctl has no default live timer period + * Fix: missing include can cause structures to not be packed + * Fix: check illegal combinations of ctrl-url/data-url/ouput/set-url + * Fix: lttng_uri structure must be packed as it is used for IPC + * Fix: missing mentions of tracing session rotation in basic help + * Fix: release reference to ltt_session on error instead of free() + * Fix relayd: session leaked on communication error during creation + * Prevent channel buffer allocation larger than memory + * Fix: destroy called twice on quit pipe + * Remove duplicate check for dlopen + * Tests: take multiple snapshots in streaming mode + * Fix: don't destroy the sockets if the snapshot was successful + * Fix: run-as thread deadlock on itself in restart error path + * Fix: session list lock must be held on session put operation + * Support minute and hour as time suffixes + * Test fix: passing bool argument to va_start is undefined + * Fix: missing rcu read locking in trigger "unregister all" command + * Fix: create_kernel_session asserts on failure + * Fix: only free trace_path when it is dynamically allocated + * Fix: wrong error check on kernel session creation + * Fix: don't put() thread on shutdown failure + * Fix: dereference on NULL pointer on allocation failure + * Fix: leak of filter bytecode and expression on agent event re-enable + * Test fix: python logging test spams its output + * Fix: leak of lttng-consumerd global HTs in run-as worker + * Fix: leak of sessiond configuration on launch of run-as worker + * Fix: leak of rundir config string + * Fix: only synchronize application configuration on tracing start + * Fix: run_command_wait() handle partial write + * Fix: do not repurpose iterator while it is being used + * Fix: handle_notification_thread_command: handle partial read + * Fix: notification thread: free session trigger list on error + * Fix: notification thread: RCU-safe reclaim of hash table nodes + * Fix: error logged on partial recvmsg() in MSG_DONTWAIT + * Print UTF-8 SI suffix only when allowed by the locale + * Cleanup: duplicate LDADD of libcommon for utils unit tests + * Move time utils to their own time.c file + * Fix: sessiond: don't allocate buffers and files for inactive sessions + * Cleanup: ust start/stop trace + * Fix: relayd: rotation pending off-by-one + * Fix: tests: test_crash should start sessions + * Fix: missing session reference release on kernel poll update + * Fix: set client socket permissions after launch of client thread + * Fix: use assignment-suppression for unused sscanf arguments + * Fix: report initialization error of app registration thread + * Fix: report initialization error of client thread + * Cleanup: consumer socket creation debug msg always prints fd:-1 + * Cleanup: remove unused label + * Fix: may be used uninitialized warnings + * userspace-probe: tests: add testcase for unsupported instrumentation + * userspace-probe: Print error on binary not found + * userspace-probe: Print error for unsupported instrumentation mode + * Fix: use sys/types.h for ssize_t on Cygwin + * Add *.exe to gitignore for Cygwin + * Revert stubbing of runas functions + * Revert stubbing of unix socket functions + * Fix: warning 'fd' may be used uninitialized + * Fix: worker structure is leaked in run_as process + * Fix: ensure the ht clean pipe is empty before processing quit pipe + * Perform the clean-up of application notify sockets in main thread + * Clean-up: remove redundant exit labels from sessiond initialization + * Make the launch of the application registration thread blocking + * Stop the application registration thread before orphaned threads + * Rename ust-thread to notify-apps + * Teardown the notification thread after the sessiond clean-up + * Launch the consumer management thread using lttng_thread + * Stop sessions before destroying on teardown of session daemon + * Remove the sessiond "ready" counter mechanism + * Load session configurations from lttng-sessiond's main thread + * Launch the kernel management thread using lttng_thread + * Launch agent management thread using lttng_thread + * Mark lttng_pipe as const where possible + * Launch the application notification thread using lttng_thread + * Launch the application management thread with lttng_thread + * Launch application registration thread using lttng_thread + * Launch the ust registration dispatch thread using lttng_thread + * Launch the client management thread using lttng_thread + * Launch the timer thread using lttng_thread + * Launch the rotation thread using lttng_thread + * Fix: flush the rotation thread's job queue on exit + * Stop rotation pending check timer from the rotation thread + * Launch the notification thread using lttng_thread + * Launch the health management thread using lttng_thread + * Launch the ht-cleanup thread using lttng_thread util + * Add a thread utility class and thread list + * Don't perform an implicit rotation on session stop + * Wait for the destruction of sessions before tearing down main thread + * Fix: rotation_unavailable returned on failure to read time + * Fix: mark rotation pending check timer is never marked as disabled + * Acquire a reference to a session when a timer is active + * Reference count ltt_session objects + * Fix: session info reference is not put on unhandled condition type + * Fix: typo 'occured' -> 'occurred' + * Fix: typo 'retrive' -> 'retrieve' + * Fix: typo 'convet' -> 'convert' + * Fix: typo 'leat' -> 'least' + * Fix: max_t/min_t macros are missing cast on input + * Fix: Connect timeout arithmetic in inet/inet6 (v4) + * Fix: cmd_snapshot_record can return unexpected error codes + * Docs: document why a negative socket may be passed + * lttng-enable-event.1.txt: fix SDT acronym, add missing "are supported" + * lttng-enable-rotation.1.txt: --timer option should be fairly precise + * doc/man: remove AUTHORS section + * lttng-enable-event.1.txt: uprobe: update style and content + * doc/man: add links between man pages about session rotation + * lttng-enable-event.1.txt: document dynamic user space probes + * lttng-{enable,disable}-rotation.1.txt: both types can be specified + * lttng-disable-rotation.1.txt: remove LIMITATIONS section + * lttng-enable-rotation.1.txt: add that SIZE/PERIOD are approximations + * lttng-rotate.1.txt: lttng-relayd(8) also has --output option + * Fix: sessiond: ust_app_rotate_session error handling + * Fix: sessiond: snapshot: handle consumer return codes + * Fix: consumer: snapshot error return code + * Fix: sessiond: consumer.c: rotation error handling + * Fix: consumer: rotation error return codes + * Fix: create_channel_per_pid: remove channel on error + * Fix: channel errors on local stress-tests + * Fix: channel_ust_create: remove channel on agent error + * Fix: cmd_rotate_session() returns unexpected error codes + * Fix: session rotation logging statement references snapshot + * Clean-up: typo in logging message Totation -> Rotation + * Fix: rotation error may leave session in "ONGOING" state + * Fix: session_list lock must be held to launch a rotation + * Add an ASSERT_LOCKED(lock) macro + * Clean-up: move global sessiond symbols out of main.o + * Fix: split index and data file rotation logic + * Fix: trace_archive_id is not sent in add_stream command + * Fix: condition unsubscription error leaves session locked + * Fix: rotation thread does not unregister from RCU on init error + * Remove unused nr_stream_rotate_pending from consumer channel + * Fix: session destruction blocks indefinitely if rotation is ongoing + * Clean-up: remove non-existent function's declaration + * Always choose large event header for UST channels + * Fix relayd: stream index file created in the wrong directory + * relayd: add payload logging to session rotation commands + * relayd: rename stream prev_seq to prev_data_seq + * Fix: take index seq number into account for rotation pending check + * Fix: take index sequence number into account for data pending check + * relayd: keep track of prev_index_seq in relayd_stream + * Fix: session conditions not evaluated at subscription/registration + * Remove unnecessary check of output parameter + * Allow get_next_notification to return when interrupted + * Fix: register rotation thread as RCU thread + * Docs: comment typo fix (accomodates -> accommodates) + * Fix: uninitialized variable may be used in local rotation check + * Rename sessiond-timer.[hc] to timer.[hc] + * Fix: rotation may never complete in per-PID buffering mode + * Fix: perform local data pending before checking data pending with relayd + * Fix: missing header breaks the cygwin build + * Fix: double put on error path + * Fix: holding the stream lock does not equate to having data pending + * Fix: skip uid registry when metadata key is 0 + * Docs: document the meaning of a ust app channel key set to 0 + * Fix: acquire stream lock during kernel metadata snapshot + * Fix: skip closed session on viewer listing + * Fix: use LTTNG_VIEWER_ATTACH_UNK to report a closed session + * Doc: withinin -> within + * Fix: cleanup relayd sockets on rotation command communication error + * Fix: perform relayd socket pair cleanup on control socket error + * Fix: relayd control socket mutex is not destroyed + * Tests: do not bound test app iterations when in background mode + * Tests: add missing rotation and autoload tests to check target + * Tests: remove temporary folder + * Tests: remove mi result files when done + * Tests: Remove unused set +x + * Tests: Kill relayd after sessiond to ensure a clean tear down + * Tests: Remove unused variable + * Tests: Use stop relayd from utils.sh + * Tests: remove declaration already present in utils.sh + * Tests: added test_autoload to noinst_SCRIPTS + * Fix: Memory leak on run_as worker restart error path + * Fix: non-zero return of open handled as error + * Fix: global run_as worker lock released during restart + * Fix: runas worker attempts to send invalid fd to master + * Fix runas: don't attempt close negative fd + * Fix: tests: missing frame pointer for callstack test on some compiler + * Add release name and description to configure.ac + 2018-08-31 lttng-tools 2.11.0-rc1 (National Trail Mix Day) * Missing kernel test files in dist target * elf: support dynamic symbol table lookup