Update version to v2.9.15
[lttng-tools.git] / ChangeLog
index 764a98bdb9e1609c47999f0136baac0a821d7caa..a4f95442ba41b51b8792ca1b016346b6e40e16cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,262 @@
+2020-04-16 lttng-tools 2.9.15 (National Eggs Benedict Day)
+       * doc: Fix bind address example for lttng-relayd
+
+2019-10-17 lttng-tools 2.9.14 (Wear Something Gaudy Day)
+       * Fix: sessiond: TOCTOU error on save of session configuration
+       * Fix: tests: replace truncation-prone logging helper
+
+2019-10-01 lttng-tools 2.9.13 (International Coffee Day)
+       * Fix: lttng: out-of-bound copy of arguments in 'view' command handler
+       * sessiond: fix: strncpy called with source length
+       * sessiond: 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: 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
+       * lttng-ctl: fix: lttng_data_pending confuses communication status
+       * Fix typo in regenerate statedump test util
+       * Fix: metadata stream is not marked as quiescent after packet commit
+       * Fix: sessiond: fs.protected_regular sysctl breaks app registration
+       * Fix: lttng-crash: detect truncated files
+       * Fix: use newly created event filter for condition check
+       * Fix: check validity of a stream before invoking ust flush command
+       * Fix: initialize syscall table when kernel tracer is lazily initialized
+
+2019-05-24 lttng-tools 2.9.12 (Asparagus Day)
+       * Update base test for binding
+       * Fix: python binding: expose domain buffer type
+       * Fix: logging: log_add_time() save/restore errno
+       * Fix relayd: initialize beacon to -1ULL
+       * Fix: relayd: handling of lttng_read errors >= 0
+       * Fix tests: NULL pointer dereference in ust channel unit tests
+       * Fix tests: NULL pointer dereference in ltt_ust_context unit tests
+       * Log the wait-shm's path on shm_open failure
+       * Fix: skip test when ust doesn't have perf support
+       * Fix: Properly sanitize input parameter
+       * 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
+       * Fix: consumer snapshot: handle unsigned long overflow
+       * Fix: wrong error code returned by kernel_snapshot_record()
+       * Docs: document the format of the lttng_session path member
+       * Fix: check illegal combinations of ctrl-url/data-url/ouput/set-url
+       * Tests: take multiple snapshots in streaming mode
+       * Fix: don't destroy the sockets if the snapshot was successful
+
+2019-01-22 lttng-tools 2.9.11 (Blonde Brownie Day)
+       * Fix: worker structure is leaked in run_as process
+       * Fix: leak of filter bytecode and expression on agent event re-enable
+       * Fix: only free trace_path when it is dynamically allocated
+       * Fix: tests: test_crash should start sessions
+       * Add *.exe to gitignore for Cygwin
+       * Fix: warning 'fd' may be used uninitialized
+       * Fix: max_t/min_t macros are missing cast on input
+       * Fix: Connect timeout arithmetic in inet/inet6 (v4)
+       * Fix: channel_ust_create: remove channel on agent error
+       * Always choose large event header for UST channels
+       * Fix: perform local data pending before checking data pending with relayd
+       * 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
+       * Fix: expand load path to an absolute path before daemonizing
+       * 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
+       * Fix: incorrect error message on regenerate missing argument
+       * Fix: incorrect error message on metadata missing argument
+       * Fix: snapshot command mishandles missing arguments
+       * Fix: passing null to closedir() on error
+       * Fix: unchecked access to pids array
+       * Fix: returned pids may be uninitialized
+       * Fix: lttng-save command producing wrong XML fields
+       * Fix: possible NULL dereference in uri_parse_str_urls()
+       * Set consumer's verbosity to the max level on --verbose-consumer
+       * Tests: added test_autoload to noinst_SCRIPTS
+
+2018-07-23 lttng-tools 2.9.10 (National Vanilla Ice Cream Day)
+       * Fix: missing context enum values in session xml schema
+       * Tests: add session auto-loading test cases
+       * Bash completion: ignore namespace for xmllint parsing
+       * Typo in ust consumer log message (channek -> channel)
+       * Fix: use signed variable for refcounting of consumer_relayd_sock_pair
+       * Fix: warning due to hash_key_str() being not const-correct
+       * Fix: calling ht_{hash, match}_enum with wrong argument
+       * Fix: probes should be compared strictly by events metadata
+       * Fix: test_ust-dl is generated at configure-time
+       * Fix: perform the initialization memory barrier out of loop body
+       * Port: fix format warnings on Cygwin
+       * Fix: don't wait for the load thread before serving client commands
+       * Fix: sessiond fails to launch on --without-ust configuration
+       * Fix: agent thread poll set creation failure results in deadlock
+       * Fix: test uses sizeof() on the wrong operand of strncpy
+
+2018-04-30 lttng-tools 2.9.9 (CERN announces WWW protocols will be free)
+       * Add DBG statement for TCP keep-alive options
+       * Fix: failure to launch agent thread is not reported
+       * Fix: agent may not be ready on launch
+       * Fix: lttng logs nanoseconds
+       * Fix: stream_per_chan_id_ht should allow duplicates
+       * Fix: relayd send_command() util not logging on failure
+       * Fix: kernel snapshot handling of EAGAIN
+       * Fix validate_trace_empty test check
+       * Fix: hold consumer socket lock for consumer_send_msg
+       * Fix: use off_t type for lseek function return value to avoid overflow
+
+2018-03-26 lttng-tools 2.9.8 (Purple Day)
+       * Fix: set errno with value from SO_ERROR on error.
+       * Fix: missing value handling for lttng_event_context_type
+       * Fix: Use SOL_SOCKET level for SO_KEEPALIVE on all platform
+       * Fix: error out on leftover arguments
+       * Fix: reply to version check even on protocol mismatch
+       * Fix: error handling on relay version check
+       * Document add-context limitation for started session
+       * Fix: add-context cannot be performed after a session has been started
+       * Fix: duplicated kernel consumer socket locking
+       * Fix: remove unused event types in MI XML schema
+       * Tests: cleanly exit from test apps on reception of SIGTERM
+       * Document consumer socket locking assumptions
+       * Fix: consumer socket lock not held during snapshot record
+       * Fix: set_relayd_for_snapshot does not acquire the consumer socket lock
+       * Document the locking assumptions of consumerd-relayd socket passing
+       * Assert that the consumer lock is held while sending FDs to consumerd
+       * Assert that the consumer socket lock is taken during communication
+       * Tests: refuse to run test suite if lttng processes are present
+       * Fix: metadata channel leak when using the snapshot tracing mode
+
+2018-02-05 lttng-tools 2.9.7
+       * Fix: do not flag consumer as disabled on relayd comm failure
+       * Fix: cleanup inactive FDs in the consumer polling thread
+       * man: document dead-peer detection for lttng-relayd
+       * lttng-relayd: use TCP keep-alive mechanism to detect dead-peer
+       * Fix: unknown consumer type considered a libc error
+       * Fix warning: src/bin/lttng/utils.c: cast incompatible pointer
+       * Fix: src/common/pipe.h: include <sys/types.h> for ssize_t and mode_t
+       * Fix: detect dlmopen() and disable corresponding tests if not available
+       * Fix: resolve full path of LTTNG_UST_CLOCK_PLUGIN
+       * lttng-enable-event(1): filtering: specify that `$ctx.cpu_id` is available
+       * Fix: Make version.h generation work with dash
+       * Fix: buffer overflow warning in python bindings
+       * Tests fix: BT2 does not output the metadata of a trace collection
+
+2017-08-03 lttng-tools 2.9.6 (Watermelon Day)
+       * Fix: uninitialized return value on error path
+       * Fix: ensure kernel context is in a list before trying to delete it
+       * Fix: ambiguous ownership of kernel context by multiple channels
+       * Fix: ret is never used on error_open code path
+       * Fix: use error code path instead of break when errors happen before execl
+       * Fix: wrong variable assignment on error
+       * Fix: missing error handling in use of print_tabs()
+       * Fix: ret is used instead or err to set an error code
+       * Fix: report error using fd instead of ret
+       * Fix: NULL passed to memcpy in error path
+       * Fix: lost packet accounting always lost on snapshot
+       * Fix: report error on session listing
+       * Fix live-comm: merge TCP socket write-write sequence in a single write
+       * Fix: join consumer timer thread
+
+2017-06-14 lttng-tools 2.9.5 (National Bourbon Day)
+       * Fix: test_utils_expand_path passes NULL to sprintf
+       * Fix: lttng list of channels should return errors
+       * Fix: discard event/lost packet counters
+       * Fix: missing errno.h include in time.h compat header
+       * Fix: registry can be null on lookup
+       * Test: Replace test relying on pselect6(2) man page ambiguity
+       * Fix: use "flush empty" ioctl for snapshots
+       * Fix: lttng-consumerd: cpu hotplug: send "streams_sent" command
+       * Fix: lttng-sessiond: cpu hotplug: send channel to consumer only once
+       * Fix: lttng-sessiond: cpu hotplug stream number mismatch
+       * Fix: consumer_timer_signal_thread_qs waits on LTTNG_CONSUMER_SIG_SWITCH
+       * Fix: thread exit vs futex wait/wakeup race
+       * Fix: status_loc argument of waitpid() is used on error
+       * Fix: COMPAT_EPOLL_PROC_PATH is available from Linux 2.6.28
+       * doc: how to trace consumerd with valgrind
+       * Cleanup: initialize kernel ioctl ABI structures to 0
+       * Cleanup: initialize data to 0
+       * Fix: assert() on null index_file in lttng_index_file_write()
+       * Fix: fail on relayd lookup when finding a relayd is expected
+
+2017-02-20 lttng-tools 2.9.4 (Love Your Pet Day)
+       * Port: Link with no-undefined on Windows
+       * Port: win32 DLLs don't support hidden symbols
+       * Port: add cygwin support to endian compat
+       * Fix: Remove unused headers
+       * Fix: tests: register thread for RCU operations.
+       * Fix: Lazily initialize max poll set size in poll compat
+       * Fix: null dereference on error path for create_ctx_type
+       * Fix: test_ust_data dereference of null pointer
+       * Fix: test_kernel_data dereference of null pointer
+       * Man: move [SESSION] before options
+       * Fix: consumerd: add missing put_subbuf for ust and kernel errors
+       * Fix: sessiond: only send streams to consumer once
+       * Fix: consumerd main: needs to be a registered RCU thread
+       * Fix: thread_dispatch_ust_registration needs to be a RCU thread
+       * Fix: don't abort metadata push on closed metadata
+       * lttng-tools: remove bogus interpreter line from utils shell library
+
+2017-01-09 lttng-tools 2.9.3 (National Cassoulet Day)
+       * Fix: consumerd: order of metadata cache vs stream lock
+       * Fix: add missing rcu_barrier before daemon teardown
+       * Fix: Add missing pthread.h include
+       * Fix: support for older versions of Babeltrace in test script
+       * Fix: reverse channel and metadata cache lock nesting order
+
+2017-01-07 lttng-tools 2.9.2 (National Bobblehead Day)
+       * Fix: only lock the metadata_cache in userspace consumers
+       * Fix: lock nesting order reversed
+
+2017-01-06 lttng-tools 2.9.1 ("Wheel Of Fortune" debuts on NBC)
+       * Fix: lttng-relayd: forcefully close stream on relayd shutdown
+       * Fix: protect the channel's metadata stream using the metadata cache lock
+       * Fix: double unlock of metadata mutex on error
+       * Fix: add element length check in lttng_index_file_open
+       * Fix: free previous instance of url (alloc_url) on default live url assignation
+       * Fix: relayd vs consumerd compatibility
+       * lttng-add-context(1): add missing man: prefix
+
+2016-11-29 lttng-tools 2.9.0 (National Square Dance Day)
+       * Add 2.9.0 release beer description
+       * lttng-add-context(1): fix style
+       * lttng-snapshot(1): fix style
+       * lttng-metadata(1): fix style
+       * doc/man: put short option's argument too
+       * Remove `metadata` command from various help resources
+       * List the `regenerate` command in various help resources
+       * lttng-load(1): fix synopsis and style
+       * Fix: truncate the metadata file in shm-path
+       * Load: add message indication that a name override was carried out
+       * Load: expose overrides elements in mi
+       * Fix: assign values to path, ctrl and data uris during configuration load
+       * Load: test that name override does not have side effects
+       * Docs: remove invalid short option -U and move option descriptions
+       * Fix: add missing refcount of loaded modules
+       * Fix: only unload successfully loaded kernel modules
+       * Fix: test cases now rely on explicit workloads
+       * m4/pprint.m4: update with correct quoting
+       * configure.ac: move warning to end of output for the end user
+       * doc/man: only require asciidoc-attrs.conf when building the man pages
+       * Test fix: increase test count in plan of test_perf_raw
+       * Create a dedicated test suite for Perf
+       * Tests: accommodate stricter mktemp implementations in tests
+       * Add version info to lttng-relayd help
+       * Fix: stop sessiond threads on health thread error
+       * Fix: stop lttng-relayd threads on health thread error
+       * Fix: report an error if unix socket address is too long
+       * Fix: save: leak of configuration file fd
+
 2016-10-07 lttng-tools 2.9.0-rc1 (National FrappĂ© Day)
        * Set 2.9 codename and description
        * Fix: warn when a loaded session can't be set as the default
This page took 0.025278 seconds and 4 git commands to generate.