+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