X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ChangeLog;h=01b91b7decb5c5178ef1afa6929afac1cfb00b58;hb=refs%2Fheads%2Fstable-2.7;hp=30b3b22e6b9292822c894fc856724bf899266291;hpb=c9d04d7963a60a3a78bf6304e951477621a0c62b;p=lttng-tools.git diff --git a/ChangeLog b/ChangeLog index 30b3b22e6..01b91b7de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,869 @@ +2016-12-01 lttng-tools 2.7.6 (National Pie Day) + * Fix: test cases now rely on explicit workloads + * 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.7.5 (National Frappé Day) + * Fix: check for a session daemon before running load command + * Fix: report truncation on snprintf + * Fix: ignore SIGPIPE + * Fix: use ssize_type for the return value of uri_parse_str_urls + * Docs: grammar fixes in load.h + * Fix: wrong api comments for load.h + * Fix: do not overwrite ret if already set and session found + * Fix: honor negative (unlimited) app socket timeout + * Tests: tap.sh spams tests' output when no plan is set + * Fix: location of various standard headers + * Test fix: set app and network socket timeouts to unlimited + * Test fix: test_fork can hang while waiting for child pids + * Test fix: test_daemon can hang while waiting for child pids + * Test fix: redirect python test subprocess output to /dev/null + * Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs() + * OOT Build fix: reference the source directory's Python test app + * Fix: pass NULL to config_load_session instead of an empty string + +2016-07-05 lttng-tools 2.7.4 (NASA's Juno spacecraft enters orbit of Jupiter) + * Tests: eliminate process timeouts from Python tests + * Fix: English syntax errors in 'lttng status' + * Fix: sessiond ht_match_event() check if filter is NULL + * configure.ac: fix --enable/disable-kmod option + * Fix: validate number of subbuffers after tweaking properties + * Fix: leak of UST app hash tables + * Fix: leak of reply buffer on data pending check + * Fix: call xmlCleanupParser to free global libxml2 allocations + * Fix: missing "void" parameter of lib constructor and destructor + * Fix: lttng-relayd allow binding of privileged ports for non-root users + * relayd: optimize receive throughput + * Fix: set the logger level to prevent unexpected level inheritance + * Port: Don't use SIGUNUSED which is not defined on Solaris + +2016-05-20 lttng-tools 2.7.3 (Bike-to-Work Day) + * Fix: use start and stop sessiond from utils.sh + * Clarify kernel version check error messages + * Fix: Error reported if no domain is provided for start/stop + * Handle unknown domain in MI + * Handle unknown domain on session start + * Fix: loading of live session within userspace domains + * 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: d_type validity is not guaranteed on all nfs versions + * Tests: same event name with different descriptor on load + * 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: add missing semicolons after MSG, DBG, ERR print macros + * 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 + * Tests: remove flaky '*' kernel wildcard test + * 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: Deference after null check in sessiond set_option + * Fix: Wrong sizeof argument in pid tracker + * Fix: tests: incorrect uri index + * 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 init_ust_event_from_agent_event + * 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 + +2016-04-19 lttng-tools 2.7.2 (Bicycle Day) + * Clean-up shm directory tree after freeing the channel + * Test: Add the lttng-runas worker process to the sessiond pids + * Limit the scope of IFS overwriting + * Do not overwrite IFS globally but only locally + * Fix: tests: use SIGSTOP for crash extraction test + * Fix: Only save kernel enablers in session configuration + * Fix: Only list kernel enablers when listing events + * Fix: syscalls hash table leaks when listing kernel events + * Test fix: ignore stderr at every step of randstring + * Test fix: ignore stderr when generating random string + * Fix: test: use load_path instead of $1 + * Fix warning when building Python bindings + * Test: prevent the spawning of a daemonized sessiond + * Fix: There is more tests than the plan + * Fix: per-pid ust buffers flush race with application unregister + * Fix: Use ipv6 loopback adress in test_uri + * Fix: report already enabled event error to client + * Tests fix: source utils.sh before using conf_proc_count + * Tests: use configured processor count in getcpu override tests + * Tests: use configured processor count in snapshot tests + * Tests: Introduce conf_proc_count() + * Tests: print a more precise test description in snapshot tests + * Fix: handle negative clock offset for lttng-ust metadata + * Fix: do not print error and bug messages when quiet (-q) is present + +2016-01-07 lttng-tools 2.7.1 (National Tempura Day) + * 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: Don't spam session daemon logs on invalid UST context + * Fix: Check for NULL hash tables on relay daemon teardown + * Fix: Verify directory's existence before calling mkdir + * Fix: Unchecked NULL string in logging statement + * Fix: include the filter expression in agent events' primary key + * Fix live timer calculation error + * Fix: Remove dependency on glibc 2.12 caused by pthread_setname_np + * Fix: Log and ignore SIGINT and SIGTERM in run_as worker + +2015-09-24 lttng-tools 2.7.0 (National Punctuation Day) + * Fix: Handle EINTR of waipid in run-as worker + * Fix: Handle EINTR of waitpid when spawning a session daemon + * Add a LOG() macro which handles dynamic severity levels + * Fix: tests: support systems where PAGE_SIZE is not 4096 + * Test: jul/log4j: use -a instead of '*' to disable all events + * Reword warning on event disable + * Clean-up: Remove unused test launchers + * Help: add -j -l -p option to help string + * man: update disable-event section + * Use empty event name on disable -a for ust and agent domain + * Fix: disable kernel event based on name and event type + * Tests: Clean-up test-crash on SIGTERM and SIGINT + * Fix: Possible dereference of null pointers + * Fix: Break out of loop when searching for a domain's agent + * Fix: int printed as uint + * Fix: add subdir-objects to Makefile.am + * Fix: tests: skip UST perf tests if not root + +2015-09-18 lttng-tools 2.7.0-rc2 + * Fix: Check use_clone() instead of worker in run_as + * Fix: Perform rcu barrier before tearing down the run-as worker + * Fix: Handle hang-up gracefully in run-as + * Fix: Only log app handle release on failure + * Fix: shm-path: handling of snprintf return value + * Fix: Wrong format specifier used in debug statement + * Tests: Swap usages of pidof for pgrep --full + * Tests: indefinitely wait for shm buffers to be unlinked + * Fix: Hide run-as functions + * Fix: Hide sessiond-comm functions + * Cleanup: remove duplicated implementation of rculfhash + * Fix: relayd: don't call lttng_ht_destroy in RCU read-side C.S. + * Fix: libc internal mutex races with run_as + * Fix: Hide readwrite symbols in common lib + * Fix: Hide pipe symbols in common lib + * Fix: Hide daemonize symbols in common lib + * Fix: Hide RCU hashtable wrapper symbols + * 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 + * Format utils.sh messages + * Tests: use functions from utils.sh + * Report error if any disable action fails + * Fix: disable all ust events + * Bring back event_ust_disable_all_tracepoints + * Fix: sessiond: disable: match app event by name + * lttng-crash: support symlink + * Test: lttng-crash and ust shm path + * Fix: dereferencing null index pointer + * Fix: leaking memory from strdup in lttng-crash + * Fix: memleak in utils_partial_realpath + * Fix: double free on enable-event + * Fix: error on no/multiple domain options + * Fix: lttng-crash: segfault when parsing options + * Print relayd stream indexes + * Enhance relayd error reporting + * Fix: relayd: handle consumerd crashes without leak + * Fix: LPOLLHUP and LPOLLERR when there is still data in pipe/socket + * Fix: Use 2.7 java JAR and class names + * Fix: double RCU unlock on event_agent_disable_all + * Fix: unbalanced RCU read-side lock in enable event command + * Add rcu_read_ongoing() assertions around process_client_msg + * Clean-up and simplify event_agent_disable_all + * Fix: disable agent events by name + * sessiond: add loglevels_match() + * Fix: include loglevel type in agent event's primary key + * Fix: include loglevel type in UST event's primary key + * sessiond: use `loglevel_value` and `loglevel_type` names + * Tests: kernel wildcards + * Tests: fix wildcard test path + * doc: document untrack command in lttng(1) + * doc: document track command in lttng(1) + * 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 + * Clearer error reporting when failing to launch session daemon + * Daemonize sessiond on `lttng create` + * Fix: consumer signal handling race + * Fix: list_ust_events(): dangling pointer + * Fix: MI: close domain when listing multiple agent domains + * Tests: expand UST wildcard tests, move to regression/tools + * Tests: kernel filtering + * Fix: use pid element instead of process element + * Fix: race between kconsumerd and sessiond on tear down + * Fix: Buggy string comparison in ust registry ht_match_event + * Fix: Bad cast of lttng_kernel_instrumentation to lttng_event_type + * Fix: Implicit cast from lttng_loglevel_type to lttng_ust_loglevel_type + * Fix: lttng-crash: remove tmp working directory + * Fix: lttng-crash: DIR leak in delete_trace() on error + * Fix: Possible passing of NULL pointer to memcpy() + * Fix: Overwrite of ret in relay_recv_metadata + * Fix: Wait for in-flight data before closing a stream + * Fix: unpublish stream on close + * Fix: lttng-crash: fd leak + * Fix: Invalid parameter error reported when untracking PID + * Fix: kernel track/untrack error handling + * Fix: Python agent tests are always skipped + * Tests: Java agent: Add configure switches to enable tests + * Tests: Java agent: update after Java agent refactoring + * 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: free metadata cache after grace period in consumer + * 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 + * 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 + * Only display agent loglevel if the loglevel type is not ALL + * Initialize default log level of events on load + * Don't assume that Log4j and JUL share the same log level mappings + * Allow the creation of JUL, Log4j and Python channels + * Fix: Save tracker as part of UST and Kernel domains only + * Fix: Memory leak of agent + * Fix: Memory leak of agent event internals + * Save filter expression as part of agent events and save them + * Fix: UTF-8 characters may be stored on up to 4 bytes + * Prevent the addition of UST events to agent channels + * Don't save log level in session configuration when unneeded + * Fix: Propagate filter status of kernel events to client + * Fix: Save kernel event filter when saving session configuration + * Fix: Mention Python as part of enable-event's usage() + * 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) + * Prevent disable event on internal UST events + * Skip internal events when saving a session configuration + * Hide internal events from session daemon clients + * Prevent the use of reserved UST event names + * Tag events created as side-effect of agent events as internal + * Fix: assert(0) when listing Python events with MI + * Fix: set GLOBAL buffer type for kernel domain in list + * Fix: take RCU read-side lock within hash table functions + * Tests: Adapt MI test to change in track/untrack behaviour + * Fix: Improve the error reporting of the track/untrack command + * Tests: Fix flacky clock-plugin test + * Build: look for python >= 3.0 when building python bindings + * Build: rename use_python to python_binding + * Fix: regression tests + * Fix: tests: stderr not correctly redirected + * Fix: TimeoutExpired in Python tests not defined globally + * Tests: ust: clock override plugin + * Test: save/load: pid_tracker basic test + * Save/load: pid_tracker feature. + * Test: mi: track/untrack feature + * Util: xml_extract: add node_exist option + * Mi: track/untrack: validation + * Docs: Grammar fixes in mi_lttng.xsd + * Fix: Ensure a valid command error code is returned by track/untrack + * Mi: track/untrack/listing + * Fix: intialization of ust_metadata_poll_pipe to garbage value + * Fix "allocator sizeof operand mismatch" warning + * Fix: incorrect script name in python logging test + * Tests: Python agent: update after Python agent refactoring + * Fix: Discard disable event command filter payload + * Fix: Use MSG_NOSIGNAL when calling sendmsg() + * Fix: test_mi test + * Set registration done Agent command version back to 0 + * 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: pids should be numbers only + * Fix: Mishandled NULL short options in lttng-sessiond + * Use popt "required_argument" and "no_argument" constants + * Fix: Mishandled NULL short options in utils_generate_optstring() + * Fix: only launch a new session daemon for the "create" command + * Fix 'daemon' typo in lttng-ctl-pc.in description + * Fix: clean-up agent app hash table from the main sessiond thread + * Fix: Remove undocumented session daemon short options + * Log userspace application hash table allocation failure + * 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 + * Document relay_add_stream RCU locking + * Fix: Unbalanced rcu_read_unlock() on stream file creation failure + * Fix: Unbalanced rcu_read_unlock() on directory creation failure + * Fix: Document the locking assumptions of ctf_trace_find_by_path() + * Fix: Memory leak in relay_add_stream error path + * Fix: set session should not set non-existent session + * Rename Python agent event name to omit "user" + +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 @@ -43,6 +909,16 @@ * 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