+2016-05-20 lttng-tools 2.6.3 (Bike-to-Work Day)
+ * Fix: use start and stop sessiond from utils.sh
+ * Fix: Missing semicolon after debug statement
+ * Clarify kernel version check error messages
+ * Docs: fix "daemon" typo in README.md
+ * Fix: do not return error on LTTNG_ERR_SNAPSHOT_NODATA
+ * Fix: Set loopback adress in set_ip_addr if gethostbyname2 fails
+ * Fix: load event state (enabled/disabled) correctly
+ * Fix: only perform lttng_consumer_sync_trace_file() in local mode
+ * Fix: don't negate posix_fadvise return value to check error
+ * Rename lttng_error_type to lttng_error_level
+ * Cleanup error.h __lttng_print() used for message printing
+ * Update coding style document for macro style
+ * Fix: coding style document has erroneous semicolon at end of macro
+ * Fix: Use get_domain_str on add context
+ * Tests: inverted condition in test_kernel_data
+ * Fix: ust-consumer: flush empty packets on snapshot channel
+ * Fix: WARN() should print as WARN level, not ERR
+ * Fix: error.h: add missing parenthesis around macro parameter
+ * Fix: bogus mask on error.h PRINT types
+ * Fix: kernel tracing: flush after stop
+ * Fix: UST should not generate packet at destroy after stop
+ * Fix: bad file descriptors on close after rotation error
+ * Fix: posix_fadvise wrapper returns -ENOSYS on FreeBSD
+ * Fix: Double free in utils_partial_realpath error path
+ * Fix: remove logically dead code in send_channel_uid_to_ust
+ * Fix: unchecked return value in low throughput test
+ * Fix: unchecked posix_fadvise() return value
+ * Fix: unchecked return value in relayd live.c
+ * Fix: unchecked return value in trace_clock_read64_monotonic
+ * Fix: initialize the cur_event variable before using it
+ * Fix: NULL pointer dereference in relay_index_get_by_id_or_create
+ * Fix: Integer overflowed argument
+ * Fix: macro compares unsigned to 0 (no effect)
+ * Fix: Free variable before strdup() in process_event_node
+ * Fix: Free variables before strdup()
+ * Fix: Add missing free() in spawn_viewer
+ * Fix: Add missing free() in utils_partial_realpath
+ * Fix: illegal memory access in test_create_kernel_event
+ * Fix: illegal memory access in send_viewer_streams
+ * Fix: illegal memory access in viewer_list_sessions
+ * Fix: illegal memory access in relayd_add_stream
+ * Fix: illegal memory access in relayd_create_session_2_4
+ * Fix: illegal memory access in session_create
+ * Fix: illegal memory access in consumer_set_subdir
+ * Fix: illegal memory access in syscall_init_table
+ * Fix: illegal memory access in write_pidfile
+ * Fix: illegal memory access in list_lttng_channels
+ * Fix: illegal memory access in cmd_snapshot_record
+ * Fix: illegal memory access in output_init
+ * Fix: illegal memory access in consumer_set_network_uri
+ * Fix: illegal memory access in cmd_snapshot_list_outputs
+ * Fix: illegal memory access in list_events
+ * Fix: illegal memory access in disable_event
+ * Fix: illegal memory access in add_uri_to_consumer
+ * Fix: illegal memory access in _cmd_enable_event
+ * Implement lttng_strncpy safe string copy
+ * Fix: loading a session prints an error message but the load is successful
+ * Snapshot warning if there are no events in one of the domains
+ * Snapshot: record: use same datetime for snapshot folder output
+ * Refactor: move the snapshot type check into output type check
+ * configure.ac: check for an existing liburcu-cds symbol
+ * configure.ac: use macro for wrong liburcu error message
+ * Tests: wording of trace_matches is misleading
+ * Typo: catched -> caught
+ * Fix: free ust channel object after grace period in consumer
+ * Test fix: ignore stderr at every step of randstring
+
+2016-04-19 lttng-tools 2.6.2 (Bicycle Day)
+ * Fix: add missing synchronization point for before app test case
+ * Fix warning when building Python bindings
+ * Tests: use configured processor count in tracefile count test
+ * Tests: use configured processor count in snapshot tests
+ * Tests: Introduce conf_proc_count()
+ * Test: prevent the spawning of a daemonized sessiond
+ * Fix: do not print error and bug messages when quiet (-q) is present
+ * Build: fallback to AC_CHECK_LIBS when looking for popt and uuid
+ * tests/unit: fix object files' location
+ * configure.ac: fix static build
+ * Fix: close indexes when rotating the trace files in mmap mode
+ * Fix: close indexes when rotating the trace files in splice mode
+ * Fix: use liburcu flavor header instead of local copy
+ * Fix: rculfhash should not include specific rcu flavor
+ * Fix live timer calculation error
+
+2015-09-24 lttng-tools 2.6.1 (National Punctuation Day)
+ * Revert "Fix: add missing test file to EXTRA_DIST"
+ * Fix: regression tests
+ * Fix: tests: stderr not correctly redirected
+ * Help: add -j -l -p option to help string
+ * Fix: Only log app handle release on failure
+ * Fix: prevent dangling pointer in utils_partial_realpath
+ * Fix: rcu_read_unlock without parentheses has no side-effect
+ * Fix: add missing test file to EXTRA_DIST
+ * Fix: disable all ust events
+ * Fix: sessiond: disable: match app event by name
+ * Fix: dereferencing null index pointer
+ * Fix: memleak in utils_partial_realpath
+ * Fix: error on no/multiple domain options
+ * Fix: relayd: handle consumerd crashes without leak
+ * Fix: LPOLLHUP and LPOLLERR when there is still data in pipe/socket
+ * Remove dot after enable-event message
+ * Fix: don't print the default channel name when enabling agent events
+ * Fix: fail gracefully on --exclude on unsupported domains
+ * Fix: initialize live_timer to 0 for snapshot session
+ * Fix: correct mismatched function signatures
+ * Fix: consumer signal handling race
+ * Fix: list_ust_events(): dangling pointer
+ * Fix: Buggy string comparison in ust registry ht_match_event
+ * Fix: Overwrite of ret in relay_recv_metadata
+ * Fix: Wait for in-flight data before closing a stream
+ * Fix: unpublish stream on close
+ * Tests: Fix flaky live test client
+ * Fix: Announce empty streams on live attach
+ * Fix: relayd: file rotation and live read
+ * Fix: relay: viewer_get_next_index handle null vstream
+ * Fix: relayd: make viewer streams consider metadata sent
+ * Fix: don't expose empty streams
+ * Fix: relayd: don't check new metadata on get packet
+ * Fix: relayd: don't check for new streams in get packet
+ * Fix: ask new streams HUP
+ * Fix: reply error if get packet vstream fails
+ * Fix: relayd reply error to client if cannot find viewer stream
+ * Fix: relayd reply with error if cannot find metadata
+ * Fix: ust-app: protect app socket protocol with lock
+ * Fix: add missing rcu_barrier at end of sessiond main
+ * Fix: add missing rcu_barrier at end of consumer main
+ * Fix: app cmd leak on sessiond exit
+ * Fix: relayd live don't send incomplete stream list
+ * Fix: consumer timer misses RCU thread registration
+ * Fix: sessiond consumer thread should register as RCU thread
+ * Fix: don't chain RCU free
+ * Fix: sessiond vs consumerd push/get metadata deadlock
+ * Fix: sessiond vs consumerd push/get metadata deadlock
+ * Fix: streamline ret/errno of run_as()
+ * Fix: Double unlock on error path
+ * Fix: Relay daemon ownership and reference counting
+ * Add run_as_unlink implementation
+ * Cleanup: Reduce scope of relayd connections in live thread
+ * Fix: Remove structurally dead code from relayd
+ * Cleanup: relayd: centralize thread stopping function
+ * Refactor relayd main/set_options/cleanup
+ * Cleanup: spaghetti function return path
+ * Accept uid and gid parameters in utils_mkdir()/utils_mkdir_recursive()
+ * Fix: reference counting of consumer output
+ * Fix: sessiond add missing socket close
+ * Fix: sessiond should not error on channel creation vs app exit
+ * Fix: sessiond ust-app session teardown race
+ * Initialize default log level of events on load
+ * Fix: Memory leak of agent
+ * Fix: Memory leak of agent event internals
+ * Fix: UTF-8 characters may be stored on up to 4 bytes
+ * Don't save log level in session configuration when unneeded
+ * Fix: typo in error message
+ * Add agent domains to lttng enable-event usage()
+ * Report memory allocation failure when copying filter bytecode
+ * Fix: cmd_enable_event must return positive error codes
+ * Save filter expressions as part of agent events
+ * Add agent domains to the enable-event section of LTTNG(1)
+ * Fix: set GLOBAL buffer type for kernel domain in list
+ * Fix: take RCU read-side lock within hash table functions
+ * Fix: TimeoutExpired in Python tests not defined globally
+ * Fix: intialization of ust_metadata_poll_pipe to garbage value
+ * Fix "allocator sizeof operand mismatch" warning
+ * Fix: Discard disable event command filter payload
+ * Fix: Use MSG_NOSIGNAL when calling sendmsg()
+ * Fix: test_mi test
+ * Fix: Don't send agent disable event command twice
+ * Fix: incorrect variable being checked in libc-wrapper test
+ * Fix: Initialize global agent_apps_ht_by_sock on session daemon launch
+ * Fix: clean-up agent app hash table from the main sessiond thread
+ * Fix: RCU read-side lock released too early in destroy_agent_app
+ * Fix: misleading logging statement in agent_find_event
+ * Fix: Unhandled domain option condition in list_agent_events
+ * Fix: Crash on lttng list -j/-l/-p when no events are present
+ * Fix: Unbalanced rcu_read_unlock() on stream file creation failure
+ * Fix: Unbalanced rcu_read_unlock() on directory creation failure
+ * Fix: Memory leak in relay_add_stream error path
+ * Fix: set session should not set non-existent session
+ * Fix: Follow struct dirent allocation guidelines of READDIR(3)
+ * Update comments regarding the power of 2 constraint on sub-buffer sizes
+ * Build: add Flex version check
+ * Build: add Bison version check
+ * Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
+ * Fix: metadata push -EPIPE should be recoverable
+ * Fix: destroy session removes the default config file
+ * Build: bump autoconf version requirement to 2.64
+ * Fix: Memory leak in setup of relayd_path
+ * Fix: update liburcu URL
+ * Fix: Memory allocated by xmlNodeGetContent() must be freed by xmlFree()
+ * Fix: get_cmdline_by_pid path length assumes a max pid of 65535
+ * Fix: Mark MI and Config string declarations as extern
+ * Fix: modprobe.c: fix tmp_list memory leak
+ * Fix: append_list_to_probes(): increment index
+ * Fix: live_test regression on large number of cpus
+ * Fix: set UST register timeout to -1 as test default
+ * Tests: Don't rely on implicit scalar expression dereference
+ * Fix python bindings' Makefile for out-of-tree builds
+ * Fix: zero memory passed to create channel kernel ioctl
+ * Fix: possible evaluation of garbage values in fini_validation_ctx()
+ * Fix: Possible call to execvp with NULL argument on allocation failure
+ * Docs: connection_find_by_sock() must be called with rcu_read_lock
+ * Fix: test: log4j: missing static test files for dist and out of tree build
+ * Fix: test: java-jul:missing static test files for dist and out of tree build
+ * Fix: out-of-tree build: missing xsd file for mi test execution
+ * Fix: out-of-tree build: missing xsd file for save-load test execution
+
+2015-01-26 lttng-tools 2.6.0 (Paul the Octopus is born)
+ * Tests: Run health check test_thread_ok as part of root_regression
+ * Fix: deadlock between UST registry lock and consumer lock
+ * Fix: uninitialized return value
+ * Fix: build failure using disable-lttng-ust configure option
+ * Fix: grab more than one packet for snapshots
+ * Fix: per-uid flush and ust registry locking
+ * Fix: add missing synchronization point for before app test case
+ * Fix: tests: wait output hide Terminate errors
+ * Fix: tests: remove killall, add missing SIGTERM handlers
+ * Fix: high throughput test: reset bw limit on sigterm
+ * Fix: tests: add missing wait, document missing synchro
+ * Document test anti-patterns
+ * Fix: test flaky sleep and wait patterns
+ * Fix: tests: don't use pidof to wait for test apps
+ * Docs: Grammar fixes in the lttng manpage
+ * Fix: add missing UST perf counter support check
+ * Fix: tests: integer too large for long type
+ * Fix: undefined operation on last_relay_viewer_session_id
+ * Fix: print format type mismatch
+ * Fix: print format type mismatch
+ * Fix: Remove unused argument in debug statement
+ * Cleanup: Remove unused label
+ * Fix: exit threads not only on goto restart
+ * Fix: poll: show the correct number of fds
+ * Fix: compat poll: add missing empty revents checks
+ * Fix: various compat poll/epoll issues
+ * Fix: mi: snapshot: missing error handling for session name
+ * Fix: ust-app: per-PID app unregister vs tracing stop races
+ * Fix: data pending: allow empty streams
+ * Fix: ust snapshot: cleanup after error
+ * Fix: add missing RCU read unlock
+
+2014-12-12 lttng-tools 2.6.0-rc4 (International Day Of Heavy Metal)
+ * Fix: don't destroy the sockets if the snapshot was successful
+ * Fix: Missing RCU read locks in syscall_list_channel()
+ * Fix: Missing RCU read lock in kernel_destroy_session()
+ * Fix: channel names are not validated
+ * Fix: Apply consumer URI changes to all domains
+ * Test fix: Don't invoke the system's lttng client
+ * Tests: Add a test to check disabled events are loaded in the correct state
+ * Fix: Don't leave events enabled if they were saved in a disabled state
+ * Fix: "Any" loglevel's value is -1 and not 0
+ * Test fix: LTTNG_SESSION_CONFIG_XSD_PATH expects an absolute path
+ * Fix: Memory leak on error in alloc_argv_from_user_opts()
+ * Fix: Unreachable error logging in set_option()
+ * Fix: OOM leaks in sessiond modprobe.c
+ * Fix: test_utils_expand_path.c: out of memory error handling
+ * Fix: test test_ust_data.c: check OOM
+ * Fix: test libc-wrapper: check malloc OOM
+ * Fix: lttng-ctl: use zmalloc(), missing OOM check
+ * Fix: filter-parser.y: use zmalloc(), missing OOM check
+ * Fix: utils.c: check str*dup OOM
+ * Fix: rculfhash: use zmalloc()
+ * Fix: ini.c: use zmalloc()
+ * Fix: lttng lttng.c: check strdup OOM
+ * Fix: lttng conf.c: use zmalloc()
+ * Fix: lttng view.c missing strdup OOM check
+ * Fix: use zmalloc() in lttng view.c
+ * Fix: use zmalloc() in lttng list.c
+ * Fix: oom error check, realloc oom leak
+ * Fix: use zmalloc in lttng enable_events.c
+ * Fix: missing strdup oom check in lttng create.c
+ * Fix: lttng add_context.c: use zmalloc
+ * Fix: add missing str*dup oom check in sessiond main.c
+ * Fix: add missing sessiond kernel-consumer missing str*dup oom checks
+ * Fix: add missing strdup OOM check
+ * Fix: Live tracing does not honor live timer after first tracefile with tracefile rotation
+ * Fix: Handle empty daemon configuration file lines
+ * Docs: Add -f/--config option to lttng-sessiond man page
+ * Fix: relayd: unbalanced RCU read-side lock/unlock
+ * Fix: relayd: unbalanced RCU read lock/unlock
+ * Fix: lttng-relayd: unhandled out of memory error
+ * Fix: relayd viewer stream: unhandled out of memory error
+ * Fix: Missing rcu_read_lock in cmd_list_events()
+ * Fix: Missing rcu_read_lock in list_lttng_agent_events()
+ * Fix: Missing rcu_read_lock in cmd_list_channels()
+ * Fix: Missing rcu_read_locks in cmd_list_domains()
+ * Fix: Missing rcu_read_lock in cmd_snapshot_list_outputs()
+ * Fix: Missing rcu_read_lock in save_domains()
+ * Fix: Missing rcu_read_lock in ust_app_get_nb_stream()
+ * Fix: UST subbuffers silently dropped on moderate trace traffic
+ * Fix: Missing rcu_read_lock in get_session_max_subbuf_size()
+ * Fix: create/destroy a splice_pipe per stream
+ * Fix: return EINVAL if agent registration fails
+ * Note find_ust_app_context must be called with RCU read lock
+ * Fix: check userspace perf counter name when looking up contexts
+ * Fix: empty indexes_ht before destroying it.
+ * Fix: removed useless key from relay_index
+ * Fix: Ambiguous agent event filter bytecode ownership
+ * Fix: filter bytecode and string memory leak on error
+ * Fix: HT must not be destroyed with a rcu_read_lock held
+ * Fix: agent events HT should be destroyed from the cleanup thread
+ * Fix: missing rcu_read_lock in trace_ust_destroy_session()
+ * Fix: missing rcu_read_lock when calling trace_ust_find_agent()
+ * Fix: missing rcu_read_lock in cmd_start_trace()
+ * Fix: filter attach vs event enable race
+ * Fix: Mark libxml2 as a mandatory dependency
+ * Fix: Warn the user when enabling an event in a new domain
+ * Fix: Don't report an error when listing a session with no channels
+ * Fix: Add missing URCU_TLS access to error_log_time
+ * Update maintainer section of the man pages
+ * Update maintainer section of README.md
+
+2014-11-04 lttng-tools 2.6.0-rc3
+ * Fix: add README.md to documentation files
+ * Fix: UST consumer sync all available metadata
+ * Test: remove bogus argument from prove invocation
+
+2014-10-21 lttng-tools 2.6.0-rc2
+ * Use lttng-modules ABI version ioctl
+ * Fix: syscall list ioctl number conflict
+
+2014-10-20 lttng-tools 2.6.0-rc1 (Harry Belafonte records Banana Boat Song)
+ * Machine Interface added to lttng command line (--mi)
+ * Java Log4j agent support (--log4j)
+ * Kernel per syscall tracing
+ * Multiple fixes.
+
+2014-07-16 lttng-tools 2.5.0 (Take Your Poet to Work Day)
+ * Fix: validate file path creds in autoload mode
+ * Fix: change session file loading order
+ * Fix: add Loading Sessions section to lttng-sessiond.8
+ * Fix: add default session conf. dir to manpage
+ * Fix: on session load, add it to the .lttngrc
+ * Fix: clarify session conf. directory in man
+ * Fix: filter error path could free invalid ptr
+ * Fix: Create a lock file to prevent multiple session daemons
+ * Fix: relayd stream set close_flag on stream close
+ * Fix: ustctl_get_stream_id without UST support
+ * Fix: avoid freeing invalid ptr in filter bytecode
+ * Fix: get the stream_id when generating live beacons
+ * Fix: use biggest subbuffer size for snapshot max-size
+ * Fix: Possible memory leak when multiple config files are loaded
+ * Fix: Clamp verbosity value read from config file
+ * Fix: Unchecked strdup return values in set_option
+
+2014-06-27 lttng-tools 2.5.0-rc2
+ * Test: add JUL disable event tests
+ * Fix: disable JUL event on UST side
+ * Fix: accept override flag even without a load path
+ * Fix: bad error code path when loading session
+ * Fix: set session in output mode if URL are set afterwards
+ * Fix: add a kernel context list to the channel
+ * Fix: Add vpid, vppid and vtid info in add-context help
+ * Fix: wrong behavior of save command when no session name is provided
+ * Fix: missing context type string in save for ust context
+ * Fix: wrong casting of return value
+ * Fix: add dependency to libcommon for python binding
+ * Fix: remove the default GIT_VERSION
+
2014-05-28 lttng-tools 2.5.0-rc1 (International Hamburger Day)
* Save/load session feature
* Daemon configuration file support
* Kernel tracer probe user define list
* Multiple fixes! The diff is just too big to put here.
+2014-07-16 lttng-tools 2.4.2 (Take Your Poet to Work Day)
+ * Fix: Create a lock file to prevent multiple session daemons
+ * Fix: relayd stream set close_flag on stream close
+ * Fix: ustctl_get_stream_id without UST support
+ * Fix: get the stream_id when generating live beacons
+ * Fix: missing include for getpwuid()
+ * Fix: add a get HOME dir fallback to getpwuid
+ * Fix: don't set enabled flag is session start fails
+ * Fix: logger name dropped from filter condition when loglevels are used
+ * Fix: memory leak in lttng_enable_event_with_exclusions
+ * Fix: check malloc return value
+ * Fix: static array larger than necessary
+ * Fix: set session in output mode if URL are set afterwards
+ * Fix: Add vpid, vppid and vtid info in add-context help
+ * Fix: alignment problems on targets not supporting unaligned access.
+ * Fix: possible use after free in consumer
+ * Fix: improve and update lttng.h comments
+ * Fix: JUL filtering for event *
+ * Fix: deny overwrite mode and num subbuf less than 2
+ * Fix: remove bad option in enable channel --help
+ * Fix: implicit conversion from enumeration
+ * Fix: clarify man page lttng.1
+ * Fix: Copy-pasted PERROR messages may be misleading
+ * Fix: incorrect printf format
+ * Fix: handle ENOENT when creating a kernel event
+ * Fix: move JUL filter creation to a function
+ * Fix: JUL filtering done on the UST level
+ * Fix: Don't include the binary in the live test's EXTRA_DIST
+ * Fix: add JUL filter to UST event on logger_name
+ * Fix: Racy event validation in tests
+ * Fix: rework utils_parse_size_suffix
+
2014-04-08 lttng-tools 2.4.1 (OpenSSL heartbleed day)
* Fix: don't delete stream from connection recv list
* Fix: use after free of a relayd stream