X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=ChangeLog;h=e7b97cfe2549f4ae30b8c286749b1ddea327722f;hp=b9fc2889171e503eeed32f1e870e657e5808c685;hb=c8fea79c745d42ea8143b7020ae11b4fc2da0d8a;hpb=8802e4bd6e15eb61453b73fa0dc9ba1c32d5433a diff --git a/ChangeLog b/ChangeLog index b9fc28891..e7b97cfe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,942 @@ +2015-07-15 lttng-tools 2.7.0-rc1 (Pet Fire Safety Day) + * Update version to v2.7.0-rc1 + * Tests: lttng-ust-getcpu-override-test cache and error-check sysconf() + * Tests: lttng-ust-getcpu-override coding-style adjustments + * Add CPU_ID LTTng-UST context to enum lttng_ust_context_type + * Bump LTTNG_UST_ABI_MAJOR_VERSION to 6 + * Tests: Ust getcpu override plugin + * 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: test: use "$@" to pass and quote argument + * Refactor: test: wrapper for lttng_snapshot_del_output + * Refactor: test: wrapper for lttng_snapshot_add_output + * Refactor: test: wrapper for destroy_lttng_session + * Refactor: test: wrapper for stop_lttng_tracing + * Refactor: test: wrapper for start_lttng_tracing + * Refactor: test: wrapper for enable_ust_lttng_event + * Refactor: test: wrapper for enable_ust_lttng_channel + * Refactor: test: wrapper for create_lttng_session + * Fix: Memory allocated by xmlNodeGetContent() must be freed by xmlFree() + * Save/load: add support for shared memory path + * Fix: get_cmdline_by_pid path length assumes a max pid of 65535 + * Clean-up: Remove ifdef-ed out lttng list options + * Test: mi: test for greater or equal to a minimum of events on ust listing. + * Fix: update regression tests involving UST + * Clean-up: Remove ifdef-ed out function:entry feature + * Fix: Mark MI and Config string declarations as extern + * Clean-up append_list_to_probes() + * Fix: modprobe.c: fix tmp_list memory leak + * Fix: append_list_to_probes(): increment index + * Docs: LTTNG(1) filtering is now supported by the kernel tracer + * Fix: live_test regression on large number of cpus + * Fix: set UST register timeout to -1 as test default + * Man page: reference lttng-crash under --shm-path option + * Tests: Don't rely on implicit scalar expression dereference + * man pages: use standard NAME format + * Fix python bindings' Makefile for out-of-tree builds + * Fix: use LIBS instead of AM_LDFLAGS for dl and c linking + * Fix: Add missing -ldl when checking for lttng-ust + * clock plugin: increase offset measurement accuracy + * Implement UST clock override plugin support + * Fix: ownership of filter and filter_expression + * Fix: zero memory passed to create channel kernel ioctl + * Fix: Check that lttng create --live's time is not zero + * Fix: Validate lttng_create_session_live's timer is > 0 + * UI: Only show live timer when the session is in live mode + * UI: Only show tracker PID state when enabled + * Implement kernel filter support + * syscall tracing: update tests + * Support lttng-modules syscall wildcards + * Implement lttng-modules tracepoint wildcard support + * Fix build when configuring with --disable-lttng-ust + * Fix: add missing function prototype to trace-ust.h header + * Implement PID tracker content listing + * Implement UST PID tracker + * Cleanup: Remove unimplemented UST domains + * Implement PID tracking for kernel tracing + * Fix: leak on error in lttng-crash + * Man page fixes: missing --version option and typo + * Docs: add lttng-crash(1) man page + * Docs: lttng-crash refers to "lttng" + * Fix: possible use of uninitialized data in loglevel conversion funcs + * Fix: possible evaluation of garbage values in fini_validation_ctx() + * Cleanup: Remove stale #ifdef-ed-out code from spawn_viewer() + * Fix: Possible call to execvp with NULL argument on allocation failure + * Fix: Possible call to strtoul() with NULL argument + * Docs: clarify lttng.1 shm-path section + * Fix: Missing return value check in extract_trace_recursive() + * Fix: recursive_rmdir: empty all empty subdir + * Move file creation/unlink from liblttng-ust-ctl to consumerd + * lttng-crash: support recursive traces + * shm-path: remove directory hierarchy on destroy + * Implement --shm-path option for UST sessions (per-uid channels) + * Cleanup: Reduce scope of connections in main relayd thread + * Cleanup: Reduce scope of relayd connections in live thread + * Docs: connection_find_by_sock() must be called with rcu_read_lock + * Rename current release as 2.7.0-pre + * Docs: grammar fix in Makefile + * Change release name to master + * configure: add type availability checking + * configure: add check for compiler inline keyword support + * configure: missing check for needed header + * configure: missing check of functions + * 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 + * Cleanup: remove unused end_no_session label in ust_app_flush_session() + * Cleanup: Remove unused "end" label in push_metadata() + * 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 + * Cleanup: Remove unused variable + * Fix: setuid/setgid daemons should not get sensitive env. var./args + * Fix: grab more than one packet for snapshots + * Fix: per-uid flush and ust registry locking + * Docs: Missing optional dependency on lttng-ust in README.md + * 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 structurally dead code from relayd + * Cleanup: Remove logically dead code + * Cleanup: Remove unused label + * Fix: Remove unused argument in debug statement + * Fix: exit threads not only on goto restart + * Fix: poll: show the correct number of fds + * Fix: call lttng_poll_set_max_size before start threads + * Fix: compat poll: add missing empty revents checks + * Fix: various compat poll/epoll issues + * Add debugging output to ht-cleanup thread + * 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: Mismatching return type in ust_app_ht_alloc() stub + * Cleanup: lock file already taken is error, not warning + * Fix: ust-app null pointer check needed for main refactoring + * Cleanup: relayd: centralize thread stopping function + * Cleanup: Replace all perror() uses by the PERROR macro + * Refactor relayd main/set_options/cleanup + * Refactor consumerd main/cleanup + * Refactor sessiond main/cleanup/ht-cleanup + * Missing error handling: consumer_signal_init should return its error status + * Cleanup: consumerd: lines over 80 columns + * Cleanup: consumerd: use PERROR rather than perror + * Cleanup: lttng-consumerd: remove stale TODO comment + * Misleading error handling: utils_create_pid_file() should return 0 on success + * Missing error handling: consumerd parse_args should return errors to caller + * Missing error handling: ust_app_ht_alloc should return error status + * Fix: ust app leak on UST buffer creation error + * Fix: leak on UST buffer registry creation error + * Fix: agents ht leaks on destroy session + * Fix: add missing RCU read unlock + * Fix: help message for Python agent mentions Java + * 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 + * Cleanup: Missing whitespace + * Fix: Apply consumer URI changes to all domains + * Cleanup: Fix a typo in the MI tests + * 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() + * Cleanup: Unchecked close() return value in utils_create_lock_file() + * Cleanup: No check of the return value of lttng_ht_del() + * Cleanup: Mixed enums used for return code in send_sessiond_channel() + * Cleanup: Cast poll() return value to void + * Fix: Unreachable error logging in set_option() + * Fix: OOM leaks in sessiond modprobe.c + * Cleanup: sessiond modprobe.c: coding style + * Cleanup: test_utils_expand_path.c prototypes + * 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 + * Cleanup: test libc-wrapper: main parameters + * Fix: lttng-ctl: use zmalloc(), missing OOM check + * Fix: filter-parser.y: use zmalloc(), missing OOM check + * Fix: utils.c: check str*dup OOM + * Cleanup: implement zmalloc as static inline + * 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 + * Cleanup: add missing static to function modprobe_remove_lttng() + * 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: 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 + * 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 + * Cleanup: spaghetti function return path + * 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 + * Build fix: Apps defining _LGPL_SOURCE must link to urcu-bp + * Define _LGPL_SOURCE in test apps' tracepoint provider files + * Define _LGPL_SOURCE in test applications + * 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 + * Note find_ust_app_context must be called with RCU read lock + * 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: define _LGPL_SOURCE in C files + * 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() + * Cleanup: remove "disabled" flag for new release cycle + * 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 + * Bypass 0 byte allocation when no domains are enabled + * Fix: Add missing URCU_TLS access to error_log_time + * Fix: check userspace perf counter name when looking up contexts + * Update maintainer section of the man pages + * Update maintainer section of README.md + * Fix: add README.md to documentation files + * Fix: UST consumer sync all available metadata + * Test: remove bogus argument from prove invocation + * Fix: typo in pythong test Makefile + * Fix: memory leak in libconfig + * Add Python agent support + * Fix: return EINVAL if agent registration fails + * Use lttng-modules ABI version ioctl + * Fix: syscall list ioctl number conflict + * Update master ChangeLog with 2.5.1 release + +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-10-20 lttng-tools 2.5.1 + * Fix: handle sysconf possible negative returned value + * Fix: channel deref. after NULL check in kernel consumer + * Fix: check for kernel session metadata during init + * Fix: incorrect cast in ust consumer assert + * Fix: bad handling of incoming data in consumer thread + * Fix: disable event for JUL domain + * Fix: send disable ALL command code if event is * + * Fix: make sure no index is in flight before using inactivity beacons + * Fix: Parenthesize previous statement when adding conditions to a filter + * Fix: parse_prob_opts return the actual success of the function + * Fix: Man page typos + * Fix: disable JUL event on destroy + * Fix: unbalanced ustconsumer32_data.pid_mutex lock + +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 + * UST perf counter support with add-context + * 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 + * Fix: don't print stream name in error message + * Fix: take session list lock when listing tp + * Fix: add consumer wake up pipe to avoid race + * Fix: don't spawn relayd if URL is provided + * Fix: don't ask data pending if session was not started + * Fix: missing test file in EXTRA dist + * Fix: allow empty URL for live session creation + * Fix: missing valid return code when adding an URI to consumer + * Fix: syntax error in lttng.1 + * Fix: check relayd fd leak in lttng cmdline + * Fix: remove unused tp in high-throughput test + * Use autoconf AM_MAINTAINER_MODE. + * Fix: clang 'constant-out-of-range-compare' warning + * Fix: Unchecked session pointer when destroying a connection in relayd + +2014-02-28 lttng-tools 2.4.0 (Public Sleeping Day) + * Fix: improve lttng with live by spawning relayd + * Fix: relayd should listen for viewers on localhost only by default + * Fix: handle loglevel range ALL in list command + * Tests: add JUL test for multiple loglevel + * Fix: index JUL event by name *and* loglevel + * Fix: JUL to enable user and root tracepoints + * Fix: handle the registration done command for JUL + * Test fix: use temp file sync. of test app + * Fix: keep metadata channel attr in UST session + * Tests fix: Missing waitpid in fork test + * Fix: add loglevel type to lttng list + * Fix: minor rephrasing of the lttng.1 man page + * Fix: Warn user if JUL port is already being used + * Fix: add some sane default values to --live opt + * Fix: possible NULL deref. in sessiond error path + * Fix: flag that kernel streams FDs has been sent + * Fix: forbid session name creation if contains / + * Fix: don't start session if no channel + * Fix: add missing relayd option to man page + * Fix: report error if consumer can't be spawned + * Fix: lttng list -u should only list UST + * Fix: kernel channel destroy on consumer if sent + * Fix: only create UST metadata on start trace + * Revert "Fix: wrong condition on startup for low-activity streams" + * Fix: missing big endian conversion for one index field + * Fix: wrong condition on startup for low-activity streams + * Fix: perror on index directory creation error + * Comments fix: lttngerr.h -> error.h (./Changelog:754) + * Fix: consumerd errors on exit + * Fix: scanf unbounded input + * Fix: miscellaneous memory handling fixes + * Fix: add missing VALGRIND ifdef checks and documentation + +2014-02-14 lttng-tools 2.4.0-rc5 + * Fix: steal channel key in the consumer to avoid race + * Fix: change ERR statement to DBG in kernel read subbuffer + * Fix: handle snapshot ENODATA in live timer + * Fix: relayd leak on error in consumer splice() + * Fix: protect close_write_flag with the rotation lock + * Man: clarify loglevel for JUL domain + * Fix: Define __STDC_LIMIT_MACROS to fix C++ builds + * Fix: bad indentation of lttng list in man page + * Fix: wrong data structure used in commit df41f83 + * Fix: add missing optional dependency to babeltrace in README + * Fix: cleanup inconsistent use of spaces/tabs in README + * Fix: only set the new_streams flag if a viewer is attached + * Fix: lttng-live documentation + * Fix: remove dead code in relayd live code + * Fix: use after free error code path + * Fix: wrong sizeof argument in live viewer create session + * Fix: zero out the reply structure in viewer_connect + * Fix: write index only if fd is valid + * Fix: cleanup relayd on any I/O error in read subbuffer mmap + * Fix: memory/fd leak when cleaning streams in channel + * Fix: destroy streams in consumer del channel + * Fix: add missing urcu wfqueue headers in relayd + * Fix: in lttng_read/write deny count bigger than the possible returned value + * Fix: fd leak when closing metadata stream + * Fix: read subbuffer mmap/splice signedness issue + * Doc: live protocol clarifications + * Fix: remove unused create_viewer_session option + * Fix: don't sleep(1) on the consumer ready flag + * Fix: free viewer session in connection_free() + * Fix: add missing ctf trace delete before destroy + * Fix: don't delete ctf trace while in snapshot mode + * Fix: add flag to create session command and fix tests + * Fix: cleanup indef guards following the rename + * Fix: merge issue with thread quit pipe + * Fix: use uint32_t for metadata_flag in viewer's ABI + * Fix: check for new streams in all attached sessions + * Fix: Move static functions up in the code + * Fix: allow attach command to multiple sessions + * Fix: handle session hang up in get_new_streams + * Fix: force the client to create a viewer session before attaching + * Fix: Namespace lttng-viewer-abi + * Fix: relayd connection object refactor + * Fix: big relayd cleanup and refactor + * Fix: code refactoring of viewer streams in relayd + * Fix: handle new streams in live mode in relayd + * Fix: notify the viewer if new streams got added + * Fix: send the streams sent message after metadata + * Add extern C to the health-check header + * Fix: memory leak in unit test + * Man: add JUL DOMAIN section to lttng.1 + * Fix: handle invalid URL passed to lttng_create_session_live + * Fix: add --jul-tcp-port to sessiond man page + * Fix: measure UST clock offset with best sample (v2) + * Fix: remove free in unit test not needed anymore + * Fix: relay create session for version before 2.4 + * Fix: memory leak when UST events are enabled with exclusions + +2014-01-29 lttng-tools 2.4.0-rc4 + * Fix: add -b, --background option + * health check tests: test relayd and consumerd + * tests: Add stop_lttng_relayd_nocheck + * Fix: add missing JUL loglevel handling + * relayd: add testpoints + * relayd: use same pipe for live and main + * Cleanup relayd live comment + * Fix: relayd: add LPOLLERR to events + * Fix: relayd: notify parent of readiness when all threads ready + * Fix: tests: start relayd in background mode (-b) + * lttng-relayd: implement background cmd line option + * sessiond: add missing testpoints + * tests: use --background for session daemon + * sessiond: add --background argument + * Use lib common daemonize + * Fix: sessiond: wait for health check readiness + * Fix: relayd: initialize lttcomm inet + * Consumer: add testpoints + * Fix: consumerd: HT init/teardown with program + * Cleanup: lttng-ctl-health comment + * Add daemonize() to libcommon + * Fix: tests: wait for consumerd to complete + * Fix: consumerd: use DBG rather than DBG2 + * Fix: consumerd: only return readiness when health is ready + * Fix: consumerd should initialize lttcomm + * Fix health check: signal parent before exit testpoint + * Test health: add test_thread_ok + * health check: change --relayd-path arg to --relayd-path=arg + * relayd: add LTTNG_RELAYD_HEALTH env var + * Add sessiond/SESSIOND_ prefix to sessiond testpoints + * Fix: zero out data structure before using it + * Fix: delete metadata stream before destroying it + * Fix: report to client when snapshot will be empty + +2014-01-14 lttng-tools 2.4.0-rc3 + * Fix: metadata stream should be always flagged as ready + * Fix: wrong check before destroying the viewer metadata stream + * Fix: race with the viewer and readiness of streams + * Fix: missing reset when listing UST fields for multiple PIDs + * Fix: filter: check binary op nesting + * Fix: relayd cmd line option for live port + * Fix: remove break in epoll loop of apps. thread + * Fix: wrong comment in snapshot public API + * Fix: clear the CTF traces when all the streams are closed + +2013-12-10 lttng-tools 2.4.0-rc2 + * Fix: close connection on incompatible version check + * Fix: fields alignements in live protocol + * Tests: add regression test for Java JUL support + * Fix: possible use after free + * Fix: remove unused code in session daemon + * Fix: string format with unsigned value + * Fix: remove useless assert + * Fix: bad logical check of error codes + * Fix: resource leak in enable-event command + * Fix: unchecked return value in ust app delete + * Fix: dereference after null check in UST registry + * Fix: Resource leak in ust registry + * Fix: backported from urcu commit 92af1a30 + * Tests: fix racy tests and misleading output messages + * Tests: fix bad argument parsing in test app + * Fix: remove assert on fd in the read/write layer + * Fix: missing lock/unlock when sending index + * Fix: update back the metadata len sent on failure + * Fix: don't fail on push metadata if no channel + * Rename LTTng index in CTF index + * Fix: set the enable all event command type + * Fix: implicit conversion of enum types in sessiond + * Fix: implicit conversion of enum types in consumer + * Fix: comparison of unsigned enum expression >= 0 + * Fix: comparison of unsigned value agains < 0 + * Fix: create a fast and a long UST snapshot test + * Tests: fix racy UST snapshot post mortem test + * Tests: remove useless sleep when spawning sessiond + * Add travis-ci configuration file + * Add libuuid as dependency in README + * Tests: add valid test cases to test_utils_expand_path + * Tests: add symlink tests for test_utils_expand_path + * Fix: utils_expand_path now works for paths that ends with '/.' or '/..' + * Fix: comment indentation + * Add missing copyright to utils.c + * Fix: use non block waitpid to lookup child state + +2013-11-15 lttng-tools 2.4.0-rc1 + * Live streaming support + * Health check support in consumer and relayd + * Event exclusion support + * Java Util Logging support + * Multiple fixes! The diff is just too big to put here. + +2013-11-13 lttng-tools 2.3.1 + * Fix: typo in --sig-parent help + * Fix: application SIGBUS when starting in parallel with sessiond + * Fix: missing LTTNG_OK return value for snapshot + * Fix: arguments in the wrong order for fd-limit + * Fix: Some corrections to the lttng man page + * Fix: recv creds comm should handle partial receive + * Fix: set app socket timeout just after accept() + * Fix typo in lttng snapshot add-output example of lttng(1) + +2013-09-03 lttng-tools 2.3.0 + * Fix: remove periodical flush test from make check + +2013-08-30 lttng-tools 2.3.0-rc3 + * Fix: hashtable: take split_count_order into account + * Fix: remove wrong doing asserts in sessiond + * Tests: fix periodical flush tests to stop app + * Fix: correctly close metadata on sessiond thread shutdown + * Fix: delete the trace directory used for the test + * Fix: remove bad check after epoll wait in consumer + * Fix: missing data pending signess conversion + * Fix: consumer data pending for empty streams + * Fix: hash table growth (for small tables) should be limited (v2) + * Fix: run_as gid/uid test should return result to parent + * Fix: missing check for metadata data pending + * Tests: change buffers UID test to PID + * Tests: fix health tests to use custom socket timeout + * Fix: remove health test from fast regression + * Use socket timeout value for tcp timeout if available + * Fix: set the health delta tcp timeout aware + * Get the maximum TCP timeout in sessiond + * Fix: don't report error if UST app dies + * Fix: support VPATH build for tests + * Improve comments after review + * Rename consumer socket fd to fd_ptr + * Lock consumer data before fd check during destroy + * Use single callsite for send/recv ops. for consumer in sessiond + * Use consumer fd reference in consumer socket obj + * Update bash completion + * Add --list-commands option to the snapshot command + * Reorder functions _lttng_cmd_* functions in bash completion + * Use parse_size_suffix in snapshot + * Fix: snapshot record error handling + * Fix: improve error message when UST support is disabled + * Fix: add missing short filter option in help + * Fix: typo in configure.ac for version check + * Fix: remove calibrate syscall option from code + * Fix: snapshot should fail if no successful snapshot is taken + * Fix: check UST float field mantissa length + * Fix: add UST context in the same order the user enabled them + * Introduce configure --with-lttng-system-rundir + * Add .dirstamp to gitignore file + * Fix: snapshot with multiple UIDs + * Prepare for automake deprecation of missing subdir-objects + * Fix: typos in --help and manpage + * Fix: add-context without -c apply to all channels + * Fix: channels can be _enabled_ after tracing is started, but not created + * Fix filter parser segmentation fault with bison 3.0 + * Fix: typo in error msg + * Fix: imprecise error message about root sessiond/tracing group + * Fix: don't skip chmod if tracing group is not found + * Tracepoint probes don't need extern C + * Fix: Snapshot should be taken asap in core handler script + * Fix: reset out_fd_offset when we rotate the trace file + * Fix: LTTNG_ERR_NEED_ROOT_SESSIOND error message + * inet/inet6 sockets: apply timeout + * Implement timeout for connect ipv4/ipv6 + * Introduce LTTNG_NETWORK_SOCKET_TIMEOUT env. var + * bash completion: add calls to _lttng_complete_sessions + * bash completion: Fix copy-paste typo + * Extras: Remove deprecated consumer commands in bash completion + * bash completion: Remove underscores in handler function names + * bash completion: Remove --event for add-context + * Update gitignore + * relayd: use version macros from build rather than scanf + * sessiond: use version major/minor from build for communication with relayd + * build: export major/minor/patchlevel numbers + * Fix: Dead code when checking return value from (ust_app|kernel)_snapshot_record + * Test: enable kernel events after start + * Fix: kernel ctl error codes are based on errno + * Fix: format string mismatch + * test: test_periodical_metadata_flush shrink timer period, kill app + * Fix: format string type mismatch + * snapshot howto: update text + * Add snapshot howto + +2013-07-19 lttng-tools 2.3.0-rc2 + * Add core-handler README to dist tarball + * extras: core-handler: simplify, allow usage from tracing group + * Cleanup: add missing dot + * Fix: documentation: create name and options + * Add core dump snapshot handler script + * Fix: sym name len (kernel) + * Fix: tests: provide channel name when a non-default channel exists: per-pid + * Fix: tests: provide channel name when a non-default channel exists + * Fix: data pending race + * Fix hang in make check snapshots/test_ust + * Cleanup: ust-consumer: wrong indentation + * Fix: print dots while waiting for data availability + * Fix: remove sleep(1) added by "Fix: (slight UI change) refuse missing -c if non-default channel exists" + * Fix: (slight UI change) refuse missing -c if non-default channel exists + * Fix: push metadata on stop for per-UID buffers + * README: update python documentation + * Manpage: other layout cleanups + * Manpage: cleanup layout of view + * Manpage: cleanup layout of version + * Manpage: cleanup layout of stop + * Manpage: cleanup layout of start + * Manpage: cleanup layout of snapshot + * Manpage: cleanup layout of set-session + * Manpage: cleanup layout of list + * Manpage: cleanup layout of disable-event + * Manpage: cleanup layout of disable-channel + * Manpage: cleanup layout of enable-event + * Manpage: cleanup layout of enable-channel + * Manpage: cleanup layout of destroy + * Manpage: cleanup layout of create + * Manpage: cleanup layout of calibrate + * Manpage: cleanup layout of add-context + * Documentation: create --snapshot in manpage + +2013-07-17 lttng-tools 2.3.0-rc1 + * Fix: add missing snapshot header to dist tarball + * Documentation: fix thread quit pipe comment + * Test for presence of bison and flex when building from git + * Test UST snapshot with large metadata + * Add test application with large metadata + * Cleanup: remove redundant assignment + * Fix: use per-uid buffer registry for UID buffer snapshots + * cmd.c: fix typos in snapshot commands + * Test snapshot per-uid post-mortem + * Remove leftover fprintf + * Fix deadlock: don't take channel lock in timer + * Introduce channel timer lock + * document lttng_ustconsumer_request_metadata locking constraints + * consumer: remove unused lttng_ustconsumer_push_metadata + * Document metadata_socket_lock nesting + * lttng_ustconsumer_recv_metadata does not need all those locks + * document metadata_switch_timer() deadlock + * Fix: add missing metadata socket lock + * document metadata_switch_timer() locking constraints + * consumer: remove timeout for UST metadata + * Introduce pipe for UST metadata cache and stream + * consumer: replace DBG2() instances by DBG() + * Introduce utils_create_pipe_cloexec_nonblock() + * ust consumer: data_pending check is endpoint active + * Fix: kernel consumer: data_pending check if endpoint active + * consumer: explicitly set endpoint status to active at init + * document consumer_metadata_cache_flushed use of consumer_data.lock + * consumer: introduce channel lock + * Merge branch 'master' of git://git.lttng.org/lttng-tools + * Fix: update lttng snapshot help output + * Man: fix part of snapshot documentation + * Fix: set tracefile size test with PID buffers + * Fix: Babelstats fail to parse output with no process name or pid + * Missing NULL pointer init in tap.c + * Fix: Unchecked asprintf/vasprintf return values + * Add snapshots test to fast regression + * Fix: kernel data unit test + * Fix: snapshot returned valid LTTNG_ERR code + * Add the number of snapshot taken to the output path + * Fix: RCU read side lock unbalanced + * Fix: zeroed snapshot output at init + * Support del-output with an output name + * Update man page with snapshot command + * New UST default buffers is now per UID + * Bump UST ABI major version for 2.3 release + * Add snapshot mode to lttng list session + * Fix: support temporary snapshot max size and name + * Support snapshot max-size limitation + * Tests: per-UID UST snapshot + * Fix: snapshot support for UST and kernel in same session + * Implement lttng create --snapshot command + * Add create session snapshot API in lttng-sessiond + * Add snapshot output init call that uses URIs + * Fix: consumer err_sock cloexec + * Callsite: add "ip" context + * Fix: possible consumer sockets double close on cleanup + * Automatically load kvm-x86 and kvm-x86-mmu probes. + * Fix: consumer: use uint64_t for all sessiond_id + * Fix: add gpl and lgpl files to tarball + * Fix: don't install libtap system wide + * Fix: close consumer sockets in sessiond cleanup + * Fix: set globally visible flag to kernel stream + * Fix: lttng: memory leak in snapshot record command + * Fix: kernel-consumer: double-close + * Fix: consumer: incorrect size zmalloc + * Fix: don't try to send stream to relayd if not in streaming + * Fix: relayd refcount updates for stream + * Fix: don't send error to sessiond on orderly shutdown + * Fix: bad pathname used when sending kernel stream to relayd + * Fix: add globally visible flag in stream + * Fix: destroy metadata stream on setup metadata error path + * Fix: send kernel stream to relayd only if needed + * Fix: destroy streams for kernel snapshot sessions as well + * Fix: close and destroy metadata stream after a kernel snapshot + * Fix: print errno message on connect() error + * Fix: possible double-close on stream out_fd + * Fix: session ID signess to uin64_t in sessiond + * Tests: fix validation trace path in kernel snapshot + * Tests: Add UST snapshot local and streaming + * Add UST snapshot support + * Fix: consumer_add_relayd_socket() report errors to sessiond + * Fix: add missing enum lttcomm_return_code entries + * Fix: UST per-UID channels persist across application teardown + * Fix: kernel snapshot metadata handling and error paths + * Fix: coding style and debug statement + * Fix: put subbuffer back in kernel snapshot error path + * Fix: overflow in uri_to_str_url + * Fix: detect the correct version of LTTng-UST + * Fix: sessiond: use uint64_t for all session ids + * Tests: add kernel snapshot streaming to root regression + * Tests: remove debug output from test + * Tests: Add kernel snapshot streaming + * Fix: use snapshot consumer output for kernel + * Fix: periodical flush check trace before stop + * Fix: consumer: 64-bit index for relayd rather than 32-bit (v2) + * Fix UST channel/stream output assignation + * Fix: send per-pid session id in channel creation + * Fix: consumer double-close on error + * Update URCU detection to correctly check for a 0.7 version + * Fix: snapshot path + * Add utils function to format current time as a string + * Fix: set hidden attribute to utils_* calls + * Fix: consumer handling of metadata for relayd + * Add kernel snapshot support + * Support flight recorder mode for a session + * Implement snapshot commands in lttng-sessiond + * Add snapshot command to lttng UI + * Initial import of the snapshot ABI/API in lttng-ctl + * Use the consumer stream API in consumer_del_stream() + * Add consumer-stream.c/.h in libconsumer + * Move multiple URLs parsing fct from lttng-ctl to uri.c + * Add a lttng-ctl header to facilitate code separation + +2013-06-25 lttng-tools 2.2.0 (National Catfish Day) + * STABLE VERSION + * Fix: if relayd is unreachable, disable consumer for the session + * Fix: possible infinite loop in disable ust event + * Fix: don't enable a channel if a session was already started + * Fix: bad type for the relayd id + * Fix: add debug statement in kernel flush metadata + * Fix: destroy default created channel if add-context fails + * Fix: clarify tracefile size/count in lttng.1 man + * Fix: don't stop a session that was not previously started + * Fix: update lttng.1 man page + * Fix: bad protocol flow between sessiond and consumerd + * Fix: kernel memory leak in error path + +2013-06-20 lttng-tools 2.2.0-rc3 + * Multiple memory and fd leak fixes in sessiond and consumerd + * Test: stress test added to the repository but not in make check + * Using LTTNG_HOME environment variable if exists, with fallback to HOME + * Implement health check for app registration dispatch + * Implement health check for app notification thread + * Revert "Improve channel listing output format" + * Fix: use lttng pipe to send new stream to thread + * Change consumer_metadata_pipe to be a lttng_pipe + * Change consumer_data_pipe to be a lttng_pipe + * Add wrappers for pipe + * Add --version command-line option to lttng. + * Add --with-lttng-ust-prefix config option. + * Fixes from coverity scan. + * Stability fixes + * RCU hash table are now destroyed in a seperate thread in sessiond + +2013-05-09 lttng-tools 2.2.0-rc2 + * Fix: split UST per UID/PID default values + * Fix: don't start the relayd with a wrong --output dir + * Fix: Erroneous automatic session name when streaming + * Fix: wrong data port when listing session's URI + * Fix: don't create a channel on an enable channel + * Tests: Add missing test_utils_parse_size_suffix to unit tests + * Fix: print lttng strerror on enable event with filter + * Fix: change relayd protocol version to 2.2 + * Fix: reset current size for tracefile rotation + * Fix: remove extra -I for python bindings + * lttng UI: round up trace file size to subbuf size if needed + * Fix lttng UI: fix arg parsing, round size to next power of two + * Fix: check errors in lttng command argument values + * Implement get_count_order in lttng utils + * lttng cli: Accept human readable sizes for --subbuf-size + * Unit tests: don't rebuild units under test + * Fix: consumerd metadata channel/cache/timer races + * Fix: consumerd channel destroy race + * Cleanup: document RCU read-side lock better + * consumer relayd interaction: fix segfaults + * Fix: change order of fd get to fix error path + * Fix: fd leak when creating UST metadata channel + * Fix: fd leak on error + * Fix consumerd fd leak + * Fix RCU-related hangs: incorrect lttng_ht_destroy use + * rculfhash: check for callers from RCU read-side C.S. + * Fix: don't call hash table destroy under rcu read-side c.s. + * Documentation: import updated comments from urcu + * Fix: segfault in buffer_reg_channel_destroy() + * Fix: add missing goto error in UST consumer + * Fix: no need to use run_as_open in the relayd + * Fix: typo in enable-channel man and help + * Fix: add some missing hidden attribute + * Fix: per-uid buffers should only be flushed once on stop + * Cleanup: Use own mutex within timer setup/teardown + * Fix: channel management thread should hold a refcount + * Fix: move metadata cache setup before ownership passing + * Fix: consumer metadata switch timer error handling + * Fix: set ptr to NULL to suppress old gcc warnings + * Fix: linking order of libraries + * Fix: multiple type mismatch in debug statement + * Fix: remove mention of trace directory layout in quickstart doc + * Fix: remove unused path variables from session obj + * Fix: update lttng.1 man and enable-channel help with read timer size + * Fix: use channel per domain default values + * Fix: typos in the code base + * Fix: deny multiple event types with enable-event + * Fix: deny the same port for data and control URL + * Fix: reset consumer destination when changing URIs + * Fix: don't allow different control and data destination + * Fix: typos in error strings + * Improve channel listing output format + * Fix: enable-channel accepts mismatched option + * Fix: validate buffer type for UST channel creation + +2013-03-28 lttng-tools 2.2.0-rc1 + * Add UST per UID buffers support + * UST metadata generation are created on the sessiond side + * Move LTTng-UST buffer ownership from application to consumer + * Add a UST registry of events and channel in the sessiond + * UST periodical metadata flush + * Refactor tests to use prove and tap + * Support for trace file rotation for the relayd and on disk + * Support per-context filtering + * Add channel wakeup fd to monitor close + * Deprecate enable/disable-consumer + * Multiple fixes and memory leak fix. + +2012-12-20 lttng-tools 2.1.0 (13th Baktun) + * STABLE VERSION 2.1.0-stable - "Basse Messe" + * Multiple minor fixes + * Multiple memory and fd leaks + * Fix: Off by one in seq num for data pending command + * Fix: flag metadata stream on quiescent control cmd + * Fix: prioritize control socket communication in relayd + * Fix: poll and epoll fd set reallocation + * Fix: add missing goto pending if data is inflight + * Fix: remove ua_sess->started assert on stop trace + * Set classes of traffic in high_throughput_limit + * Fix: use the poll wait ret value when iterating on fd(s) + * Fix: force the poll() return value to be nb_fd + * Fix: Wrong check of node when cleaning up ht + * Fix: set started flag of ust app after ustctl + * Fix: memory leak in add relayd socket error path + * Fix: add packed attribute to filter structure + * Fix: Add missing health code update for consumer command + * Add LTTNG_PACKED macro + * Fix data pending for inflight streaming + * Map session id of relayd and sessiond in consumer + * Add the relayd create session command + * Make the consumer sends a ACK after each command + * Remove MSG_WAITALL on every recvmsg() socket typ + * Fix: Add missing relayd ht cleanup and ht destroy + * Fix: Relayd and sessiond version check + * Fix: protect consumer_find_channel with rcu locking + * Fix: don't steal key when adding a metadata stream + * Consumer hold stream mutex for add stream + +2012-12-03 lttng-tools 2.1.0-rc9 + * Fix: set the stream ht static in consumer file + * Update sessiond man page with new env var + * Update lttng.1 man page + * Fix: enable-consumer for all domains missing dir + * Fix: Add missing fct prototypes when disabling UST + * Fix a typo in lttng-probe-module name + * Assign values to enum lttcomm_sessiond_command + * Fix: run health test only if root + * Clarify empty string/NULL filter errors + * Fix: add missing padding for UST filter + +2012-11-22 lttng-tools 2.1.0-rc8 + * Fix: Uninit. variable in lttng view + * Add already enabled UST event error code + * lttng.h API update: set filter becomes enable event with filter + * Change the UST event hash table match function + * Pass lttng_event struct to the set_filter API call + * Adding context to an event is no longer possible + * Add UST overlap tests + * Add filter sequence number to UST + * Fix: Typo from a previous patch in an assert() + * Fix: Warn if session is running with lttng view + * Fix: Add bash requirement to README for make check + * Fix: add the notion of domain to lttng.1 man page + * Enable additional kernel probes + * Update CodingStyle + * Use the new functions for default subbuf sizes + * Add default subbuf sizes getter functions + * Add max() and min() macro in common + 2012-11-13 lttng-tools 2.1.0-rc7 * Fix: Add pointer check when freeing poll events * Fix: FD leak on thread error