2017-08-03 lttng-tools 2.9.6 (Watermelon Day) * Fix: uninitialized return value on error path * Fix: ensure kernel context is in a list before trying to delete it * Fix: ambiguous ownership of kernel context by multiple channels * Fix: ret is never used on error_open code path * Fix: use error code path instead of break when errors happen before execl * Fix: wrong variable assignment on error * Fix: missing error handling in use of print_tabs() * Fix: ret is used instead or err to set an error code * Fix: report error using fd instead of ret * Fix: NULL passed to memcpy in error path * Fix: lost packet accounting always lost on snapshot * Fix: report error on session listing * Fix live-comm: merge TCP socket write-write sequence in a single write * Fix: join consumer timer thread 2017-06-14 lttng-tools 2.9.5 (National Bourbon Day) * Fix: test_utils_expand_path passes NULL to sprintf * Fix: lttng list of channels should return errors * Fix: discard event/lost packet counters * Fix: missing errno.h include in time.h compat header * Fix: registry can be null on lookup * Test: Replace test relying on pselect6(2) man page ambiguity * Fix: use "flush empty" ioctl for snapshots * Fix: lttng-consumerd: cpu hotplug: send "streams_sent" command * Fix: lttng-sessiond: cpu hotplug: send channel to consumer only once * Fix: lttng-sessiond: cpu hotplug stream number mismatch * Fix: consumer_timer_signal_thread_qs waits on LTTNG_CONSUMER_SIG_SWITCH * Fix: thread exit vs futex wait/wakeup race * Fix: status_loc argument of waitpid() is used on error * Fix: COMPAT_EPOLL_PROC_PATH is available from Linux 2.6.28 * doc: how to trace consumerd with valgrind * Cleanup: initialize kernel ioctl ABI structures to 0 * Cleanup: initialize data to 0 * Fix: assert() on null index_file in lttng_index_file_write() * Fix: fail on relayd lookup when finding a relayd is expected 2017-02-20 lttng-tools 2.9.4 (Love Your Pet Day) * Port: Link with no-undefined on Windows * Port: win32 DLLs don't support hidden symbols * Port: add cygwin support to endian compat * Fix: Remove unused headers * Fix: tests: register thread for RCU operations. * Fix: Lazily initialize max poll set size in poll compat * Fix: null dereference on error path for create_ctx_type * Fix: test_ust_data dereference of null pointer * Fix: test_kernel_data dereference of null pointer * Man: move [SESSION] before options * Fix: consumerd: add missing put_subbuf for ust and kernel errors * Fix: sessiond: only send streams to consumer once * Fix: consumerd main: needs to be a registered RCU thread * Fix: thread_dispatch_ust_registration needs to be a RCU thread * Fix: don't abort metadata push on closed metadata * lttng-tools: remove bogus interpreter line from utils shell library 2017-01-09 lttng-tools 2.9.3 (National Cassoulet Day) * Fix: consumerd: order of metadata cache vs stream lock * Fix: add missing rcu_barrier before daemon teardown * Fix: Add missing pthread.h include * Fix: support for older versions of Babeltrace in test script * Fix: reverse channel and metadata cache lock nesting order 2017-01-07 lttng-tools 2.9.2 (National Bobblehead Day) * Fix: only lock the metadata_cache in userspace consumers * Fix: lock nesting order reversed 2017-01-06 lttng-tools 2.9.1 ("Wheel Of Fortune" debuts on NBC) * Fix: lttng-relayd: forcefully close stream on relayd shutdown * Fix: protect the channel's metadata stream using the metadata cache lock * Fix: double unlock of metadata mutex on error * Fix: add element length check in lttng_index_file_open * Fix: free previous instance of url (alloc_url) on default live url assignation * Fix: relayd vs consumerd compatibility * lttng-add-context(1): add missing man: prefix 2016-11-29 lttng-tools 2.9.0 (National Square Dance Day) * Add 2.9.0 release beer description * lttng-add-context(1): fix style * lttng-snapshot(1): fix style * lttng-metadata(1): fix style * doc/man: put short option's argument too * Remove `metadata` command from various help resources * List the `regenerate` command in various help resources * lttng-load(1): fix synopsis and style * Fix: truncate the metadata file in shm-path * Load: add message indication that a name override was carried out * Load: expose overrides elements in mi * Fix: assign values to path, ctrl and data uris during configuration load * Load: test that name override does not have side effects * Docs: remove invalid short option -U and move option descriptions * Fix: add missing refcount of loaded modules * Fix: only unload successfully loaded kernel modules * Fix: test cases now rely on explicit workloads * m4/pprint.m4: update with correct quoting * configure.ac: move warning to end of output for the end user * doc/man: only require asciidoc-attrs.conf when building the man pages * Test fix: increase test count in plan of test_perf_raw * Create a dedicated test suite for Perf * Tests: accommodate stricter mktemp implementations in tests * Add version info to lttng-relayd help * Fix: stop sessiond threads on health thread error * Fix: stop lttng-relayd threads on health thread error * Fix: report an error if unix socket address is too long * Fix: save: leak of configuration file fd 2016-10-07 lttng-tools 2.9.0-rc1 (National Frappé Day) * Set 2.9 codename and description * Fix: warn when a loaded session can't be set as the default * Warning fix: forward declare struct lttng_ust_calibrate * lttng-enable-channel(1): remove redundant --discard from synopsis * test: load --override-name * load: introduce --override-name * man: lttng-load fix up * Docs: grammar fix in load.h * lttng_ctl: add session_name to load override * Fix: test presence of override_attr before accessing its member * load: objects returned by getters do not need to be freed * Remove lttng_load_session_attr_get_override_path_url * Docs: change order of set functions in load.h to match get * Remove calibrate documentation * Remove calibrate from liblttng-ctl * Remove calibrate from lttng-sessiond * Remove calibrate from Python bindings * Remove calibrate from Bash completion script * Remove calibrate tests in Python bindings * Remove calibrate command from lttng CLI * Build fix: remove load-42-stream.lttng from dist target * Test: load --override-url * Add --override-url option to load command * Apply the overrides attributes during configuration load * Clean-up: remove copy-pasted comment from save.c * lttng-ctl: add override helper to load api * Rename override to overwrite for config_load_session * Fix: report truncation on snprintf * Fix: check for a session daemon before running load command * Fix: ignore SIGPIPE * Use lttng api for the load command * 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 * lttng-sessiond: auto-load lttng-probe-i2c module * Bump lttng-modules ABI minor version * Fix: handle backward compatibility with lttng-modules 2.7 * Clean-up: remove unnecessary autoconf variable substitution * Fix: honor negative (unlimited) app socket timeout * Build: Replace use of deprecated AM_PATH_XML2 * 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 * Build fix: macOS Sierra provides clock_gettime * Fix: time redefinition warnings on macOS builds * Clean-up: remove unused variable user * Cleanup: Remove fun from code base * Fix: remove in-place backup suffix argument provided to sed * Fix: pass a valid length to accept() on unix domain sockets * Log signals received by run_as worker * Missing word in worker_sighandler() comment * Clean-up snapshot command error reporting * Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs() * Use -M parameter instead of --manpath when invoking man(1) * OOT Build fix: reference the source directory's Python test app * Fix: pass NULL to config_load_session instead of an empty string * Tests: don't copy test_python_logging explicitly * OOT build fix: Missing include of src directory * Accomodate BSD sed in version.h generation * Port: Detect platforms where librt is required * Port: Add OSX clock_gettime compat * Port: Add OSX support to socket compat * Port: Add OSX support to poll compat * Port: Add OSX support to fcntl compat * Port: Add OSX compat to sessiond-comm/unix.c * Port: Add OSX endian.h compat * Port: Add OSX libuuid compat * Fix: zero-initialize fd_set * Clean-up: missing cast to fd_set* * Fix: usage of FD_SET on fd_set > 1024 results in corruption * Fix: erroneous usage of addr parameter in mmap() * Clean-up: remove useless assignment * Fix: missing unmap in test error handling * Tests: unchecked pthread_join return value * Clean-up: remove negative check against unsigned value * Fix: unchecked init_pipe return value * Tests: Unchecked pthread_create return value * Clean-up: remove useless assignment * Tests: Add tracepoints to libbar, libfoo and libzzz * Fix: Mark ASCIIDOC_ATTRS_CONF as a dependency of man page targets * Test the parsing of perf raw context * Enable perf PMU counters by raw ID * Run userspace perf tests on non-x86 platforms * Tests: adjust ust-dl planned test count * Test library load/unload events * Add missing ust_app_regenerate_statedump_all stub * Clean-up: remove unused ust_app_regenerate_metadata_all * Add regenerate command to MI schema * Manpage for the regenerate statedump command * Tests for the regenerate statedump command * Allow regenerating the statedump of a running session * Kernel ioctl to regenerate the statedump * UST command to regenerate the statedump * Rename the "metadata regenerate" command to "regenerate metadata" * Typo fix: uninitializez ->uninitialized * Fix: handle negative (unlimited) system stack size limits * Tests: adjust type declaration test count * Fix: protocol mismatch between UST and tools * ust-ctl: use fixed-size integer rather than enum * Test UST's autoincrementing enumeration values * Add support for UST's autoincrementing enum entries * Tests: eliminate process timeouts from Python tests * Fix: English syntax errors in 'lttng status' * Test for select, poll and epoll syscall overrides * Tests: tap.sh spams tests' output when no plan is set * Fix: Set thread stack size to ulimit soft value * Fix: location of various standard headers * Fix: missing include ctype.h for isdigit() * Fix: strerror_r behavior is glibc specific * Fix: error.h -> common/error.h * Fix: snapshot del-output with name on musl * Fix: sessiond ht_match_event() check if filter is NULL * configure.ac: fix --enable/disable-kmod option * Tests: spawn ht_cleanup thread in unit tests * Lazily initialize max poll set size * Revert "Assert that a valid clean-up pipe exists on ht_cleanup_push" * tests: test ust snapshot with discard buffers * tests: test kernel snapshot with discard buffers * Allow channel mode override in snapshot sessions * Fix: validate number of subbuffers after tweaking properties * Use bool type for save command options * Clean-up: harmonize popt option declarations in save.c * Clean-up: move mi_writer declaration with other declarations * Add name omission and output omission on save to lttng-ctl * Express overwrite attribute as a byte in communication protocol * Assert that a valid clean-up pipe exists on ht_cleanup_push * Fix: do not refer to objects as .o * Fix: do not link against libtool .o objects * Fix: Define MANPATH in config.h * Tests: Make warn_processes.sh more portable * Fix: add missing script to dist * 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 * Docs: fix comment typos in lttng-sessiond's main.c * Fix: lttng-relayd allow binding of privileged ports for non-root users * relayd: optimize receive throughput * Clean-up: harmonize kernctl API error checking * Introduce LTTNG_IOCTL_CHECK and LTTNG_IOCTL_NO_CHECK macros * Fix: enforce assumption that lttng-modules ioctl() return <= 0 * Fix: reduce scope of kconsumer consumed_pos and produced_pos * Docs: document safety of consumer_thread_is_ready access * Clean-up: unused ret values in thread_manage_health * Clean-up: remove dead code in sessiond's set_option() * Fix: set the logger level to prevent unexpected level inheritance * Typo: Stoping -> Stopping * Typo: occured -> occurred * Fix: only perform lttng_consumer_sync_trace_file() in local mode * Make lttng_consumer_sync_trace_file static * Fix: don't negate posix_fadvise return value to check error * Fix Solaris 10 build: use lttng_strnlen() wrapper * 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 * Tests: inverted condition in test_kernel_data * OOT build fix: asciidoc.conf is now a source file * lttng-create(1): use attributes for default ports * lttng-create(1): add xrefs to creation mode definitions * lttng-create(1): use the correct DATAPORT/CTRLPORT variables * lttng-create(1): use def list for net protocols * lttng-create(1): add relay mode * doc/man: put AsciiDoc attributes in their own file * test: UST tracing destroy flush behavior with tracefile rotation * test: kernel tracing destroy flush behavior with tracefile rotation * Add environment variable to allow abort on error * 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: configure.ac: allow --disable-python-bindings * Fix: merge tap tests stdout and stderr * 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 * Tests: abort() exclusion test on allocation failure * Fix: unchecked posix_fadvise() return value * Fix: unchecked return value in relayd live.c * Fix: unchecked return value in trace_clock_read64_monotonic * Clean-up: remove unnecessary blank line * Fix: initialize the cur_event variable before using it * Fix: Dereference after NULL check in consumer * Tests: abort test on memory allocation failure * Fix: pointer dereference after NULL check in test_create_ust_event_exclusion * Fix: NULL pointer dereference in relay_index_get_by_id_or_create * Clean-up verbosity incrementation in set_option * Fix: Deference after null check in sessiond set_option * Docs: clarify comment in parse_pid_string() * 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: Use distinct variables for ret and discarded_events * Fix: Don't try to show manpage when argv is null * Fix: Use secure_getenv() in get_man_bin_path * Fix: illegal memory access in test_create_ust_event_exclusion * Fix: illegal memory access in test_create_ust_event * Fix: illegal memory access in test_create_kernel_event * Fix: illegal memory access in test_create_ust_channel * Fix: illegal memory access in send_viewer_streams * Simplify rcu locking in viewer_list_sessions * 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 enable_event * Fix: illegal memory access in add_uri_to_consumer * Fix: illegal memory access in init_ust_event_from_agent_event * Simplify free() of channel attribute * Fix: illegal memory access in _cmd_enable_event * Implement lttng_strncpy safe string copy * Add missing symbol to preserve ABI compatibility of liblttng-ctl * 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 * Clarify kernel version check error messages * Tests: same event name with different descriptor on load * Fix: load event state (enabled/disabled) correctly * 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 * Test: expose session url bug on load with multiple domains * OOT build fix: asciidoc.conf is now generated at configure * Snapshot: record: use same datetime for snapshot folder output * Refactor: move the snapshot type check into output type check * ust-metadata.c: nest/indent enumeration entries * lttng.c: show basic help when no arguments are provided * Define command short descriptions in configure.ac * lttng-relayd(8): $HOME -> $LTTNG_HOME * doc/man: use propagated default values in man pages * Propagate default values from configure.ac to asciidoc.conf * Define default values in configure.ac * lttng-load(1): use lists to explain the input path behaviour * lttng-sessiond(8): fix load directories and behaviour * lttng-load(1): specify default search order * doc/man: use configured directories in man pages * doc/man/asciidoc.conf: add doctype-manpage conditions * doc/man: linklttng macro -> man macro * doc/man/Makefile.am: add failing dist-hook on --disable-man-pages * doc/man/Makefile.am: fix top comment * configure.ac: fix --enable-man-pages help string * Fix: standardize parser/lexer building * Fix: standardize man pages building/installing * configure.ac: check for an existing liburcu-cds symbol * configure.ac: use macro for wrong liburcu error message * Hide parse_application_context utility function * Re-add deprecated MI symbols to preserve ABI compatibility * Hide new MI symbols introduced as part of 2.8 * Re-add default size symbols which were erroneously exposed * Hide config symbols introduced in 2.8 * Hide internal _lttng_destroy_session symbol * Hide bytecode symbol iterator API symbols * Tests: wording of trace_matches is misleading * Test lttng-modules clock override plugin * Warning fix: uninitialized variable may be used * Tests: Replace prove by autotools tap runner * Drop installcheck target * Fix: distcheck requires that we clean version.h * Fix: configure: forbid Python bindings if shared libraries are disabled * Fix: tests: don't match command line arguments, match static build binary names * Fix: tests: skip tests on static build * Fix: tests: don't build dynamic lib tests if support disabled * bootstrap: Standardize on autoreconf -vi * Move unix.h wrapper from sessiond-comm to common * Fix: update tests following renaming of UST statedump event * Typo: catched -> caught * Add comment describing ioctl number duplication * Test: kill sessiond,relayd and background children on SIGTERM/SIGINT * Docs: Remove unnecessary exclamation mark * Docs: fix wording of dependency * Docs: fix "daemon" typo in README.md * Fix: Use get_domain_str on add context * Warning fix: possible use of uninitialized variable * doc/man: add FILES section * Test: xsd validation of long path (length > 255) * Fix: xsd: urls and paths are not of type name_type but string * Refactor: embed mi in "add_output "to remove code duplication * Refactor: embed mi in "del_record" to remove code duplication * Refactor: embed mi in "record" to remove code duplication * Refactor: embed mi in "list_output" to remove code duplication * 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 * Fix: doc/man: lttng-add-context(1): add missing option macro * doc/man: common-footer.txt: add CI link * doc/man: common-footer.txt: add GH organization link * doc/man: lttng(1): clarify UST domain and add links to languages * doc/man: add escwc macro and use it * doc/man: lttng(1): link from COMMAND (synopsis) to COMMANDS section * doc/man: use linkgenoptions macro * doc/man: add linkgenoptions AsciiDoc macro * .gitignore: ignore all generated files in doc/man * doc/man: fix external links * doc/man: xsl: move manpage-base.xsl -> manpage-callouts.xsl * doc/man: xsl: move manpage-ulinks.xsl -> manpage-links.xsl * doc/man: xsl: add after ulink text * doc/man: xsl: add (internal) link template * doc/man: lttng-enable-channel(1): move limitations to own section * Fix: doc/man: lttng-relayd(1) -> lttng-relayd(8) * doc/man: add nloption and genoption AsciiDoc macros * doc/man: add [role="term"] to terminal callouts * Clean-up shm directory tree after freeing the channel * Fix: Build man pages if --enable-build-man-pages is used * Fix: convey enum value signedness into metadata * doc/man: add notes about shell escaping * Fix: doc/man/Makefile.am for OOT builds * Generate man pages by default * Update version to 2.9.0-pre * Bump minor kernel tracer ABI version * Quote brewery names in release codename description * Fix: metadata regenerate, error if too many args * Fix: add missing sys/types.h header * Fix: build failure when __GLIBC_PREREQ is missing * configure.ac: beautify report * Update version codename and description to 2.8.0 - Isseki Nicho * doc/man: lttng.1.txt: sort commands in categories * Data pending message is printed when unnecessary * README.md: add CI/Coverity status badges * README.md: add lttng-crash in package contents * Show lttng-metadata man page in command's --help * Add an lttng-metadata man page * Remove untrack reference from snapshot man page * README.md: add optional dependency on man * doc/man: install lttng-health-check.3 * lttng-relayd: show man page with --help and remove usage * doc/man: convert lttng-relayd(8) to AsciiDoc * lttng-crash.c: show man page with --help and remove usage * doc/man: convert lttng-crash(1) to AsciiDoc * lttng-sessiond: show man page with --help and remove usage * doc/man: convert lttng-sessiond(8) to AsciiDoc * README.md: bolden all dependencies and versions * README.md: add asciidoc and xmlto build dependencies * lttng.c: sort commands to get a nice list output * doc/man: add README.md * lttng: add `help` command * lttng.c: show man page with --help and remove usage * lttng.c: CMD_UNDEFINED is used for invalid args too * lttng: remove usage strings from commands * lttng: show man page when using command's --help * lttng add-context: add --list option * doc/man: remove lttng.1 (built from lttng.1.txt) * doc/man: create lttng-disable-event(1) and update/fix content * doc/man: create lttng-enable-event(1) and update/fix content * doc/man: create lttng-snapshot(1) and update/fix content * doc/man: create lttng-help(1) and update/fix content * doc/man: create lttng-status(1) and update/fix content * doc/man: create lttng-untrack(1) and update/fix content * doc/man: create lttng-track(1) and update/fix content * doc/man: create lttng-calibrate(1) and update/fix content * doc/man: create lttng-list(1) and update/fix content * doc/man: create lttng-add-context(1) and update/fix content * doc/man: create lttng-disable-channel(1) and update/fix content * doc/man: create lttng-enable-channel(1) and update/fix content * doc/man: create lttng-view(1) and update/fix content * doc/man: create lttng-version(1) and update/fix content * doc/man: create lttng-stop(1) and update/fix content * doc/man: create lttng-start(1) and update/fix content * doc/man: create lttng-load(1) and update/fix content * doc/man: create lttng-save(1) and update/fix content * doc/man: create lttng-set-session(1) and update/fix content * doc/man: create lttng-destroy(1) and update/fix content * doc/man: create lttng-create(1) and update/fix content * doc/man: add common OPTIONS head for command man pages * doc/man: add Makefile.am for generating man pages * .gitignore: ignore generated man page artifacts * doc/man: add XSL files for man pages * doc/man: add asciidoc.conf * configure.ac: check for asciidoc and xmlto * doc/man: lttng(1): update and standardize content * doc/man: convert lttng(1) to AsciiDoc * Add builtin modules support to kmod modprobe * Add comments to kmod functions * Add libkmod rmmod support * Move libkmod ifdef to beginning of file * Drop optional control modules load and unload * Fix: live test header endianness * Document the live detach command * Test the viewer detach command * Use of bare attribute directives instead of LTTNG_PACKED * Live: command to detach a viewer session * Contexts for RT debugging * Optional test for the metadata regeneration * Add MI output to the metadata regenerate command * Tests for metadata regenerate * Add TAGS files to .gitignore * Fix: systematic overwrite of union values on add context * Mismatching signature of ust_metadata_session_statedump() stub * Fix: Initialize events discarded and packet lost counters to zero * Assert on unknown UST buffer type * Command metadata regenerate * Store the relay protocol version in the consumer_output * Store the version of the tracer in the UID registry * Store the instance id and packet_seq_num in indexes * kernctl commands to extract the stream instance id * Account the lost packets in snapshot mode * 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 * Display discarded and lost events at destroy and stop * Fix: tests: use SIGSTOP for crash extraction test * Test fix: ignore stderr at every step of randstring * Fix: session_find_by_id can return NULL legitimately * Fix: mark ltt_sessions_ht_destroy as static * Docs: Missing locking assumptions in function headers * Test fix: ignore stderr when generating random string * Fix: hold session list lock during delete_ust_app * Test: prevent the spawning of a daemonized sessiond * Missing void in function signature * CLI: Show filter expression associated to a syscall * Fix: missing dereference when computing extended info position * 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 * Initialize command header to zero * Rename filter string to filter expression in liblttng-ctl * Fix: use of unsigned variable to check for negative return * Clean-up: remove unreachable goto * Fix: missing static inline breaks --without-lttng-ust build * lttng enable-channel memsets lttng_channel to -1 * Change padding type from array to fixed-width integer * Clean-up: missing space between cast operator and operand * Ensure UST channel output mode is LTTNG_UST_MMAP * Extract the lost packets and discarded events counters * Send extended channel payload to client * Add channel discarded events and lost packets stats accessors * Add extended info to liblttng-ctl's struct lttng_channel * Reuse constant string instead of duplicate literal * Clean-up: simplify computation of string position * Optimization: lttng UI uses sprintf instead of strcpy * Fix: OOT build fails because of missing include path * Tests: Consider lttng mi namespace in test_load * MI: Remove boolean "exclusion" element * MI: add (event exclusion names) * CLI: show event exclusion names * Add new LTTNG_ERR_OVERFLOW error code * Add lttng_event_get_exclusion_name*() to liblttng-ctl * Tests: Consider lttng mi namespace in test_mi * MI: Implement event context schema change * MI: Add application context type to schema * MI: add schemaVersion attribute to command schema * MI: set machine interface XSD target namespace * Add schema information to XML MI output * Fix: libxml2 may return 0 because of buffering * Bump LTTng MI schema to 3.0 * MI: add (event filter expression) * Transfer UST exclusion names from sessiond to client * Fix: return negative error code in list_lttng_ust_global_events() * CLI: show agent event filter string * CLI: show event filter string * Add lttng_event_get_filter_string() to liblttng-ctl * Transfer filter strings from sessiond to client * Refactor setup_lttng_msg() to include cmd header * Add offset comments to struct lttng_event * Add command header to sessiond->client response msg * Add internal extended channel structure * Metadata for instance_id and packet_seq_num * Add a HT to lookup sessions by id * Explicitly stop the session on lttng destroy * Fix: per-pid ust buffers flush race with application unregister * Fix warning when building Python bindings * Add CONTRIBUTING.md * Revert "Python bindings: remove duplicate structure definitions" * Docs: clarify cross-version tracer compatibility * Cleanup: Remove unnecessary newline * Fix: Use ipv6 loopback adress in test_uri * Python bindings: remove duplicate structure definitions * Fix: test: handle env variables undefined * Fix: report already enabled event error to client * Docs: add comment to cmd_add_context() * Fix: application context leak when enabling context * Fix: string leak when processing of client message fails * Fix: missing return code initialization on error * Fix: unchecked return value in _lttng_variant_statedump() * Fix: Possible use-after-free in create_ctx_type() * Fix: filter tests now accept "." in identifiers * Fix: Don't notify agent of non-app context addition * Create agent on channel creation * Introduce application contexts to session configuration schema * Fix typos in error descriptions * Enable agent application contexts if filter has such dependencies * Compare provider and context names in trace_ust_match_context * Allow $app.provider:ctxname in filter, enum, variant identifiers * Add variant type support to ust registry and metadata * Notify java agent of enabled application contexts * Add app context support to lttng client * Enforce const-correctness in UNIX socket wrappers * Remove superflous domain check in context_ust_add * Remove superflous domain check in add_uctx_to_channel * Use lttng_domain_type enum instead of bare integer * Add application context support to lttng-ctl lttng_add_context * Cleanup comments in lttng-ctl.c * 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 * clock offset: print negative value in metadata for lttng-ust metadata * Fix: handle negative clock offset for lttng-ust metadata * Fix: test: append to LD_LIBRARY_PATH * Fix: test: use load_path instead of $1 * Bump lttng-ust protocol version to 6.1 * Add CTF enum type support for UST registry * Cleanup __lttng_print macro indentation * Fix: do not print error and bug messages when quiet (-q) is present * Fix: test_ust-dl requires bash * Fix: test script requires bash * Fix: missing $ in SED variable * Tests: fix make targets using objcopy * Build: fallback to AC_CHECK_LIBS when looking for popt and uuid * tests/unit: fix object files' location * configure.ac: fix static build * Tests: fix tracefile count when page_size is > 4k * configure.ac: use $withval with AC_ARG_WITH * Fix: close indexes when rotating the trace files in mmap mode * Fix: close indexes when rotating the trace files in splice mode * Clarify error message on "add context" failure * Fix: Don't spam session daemon logs on invalid UST context * Tests: getcpu_override: use event delay when launching with wrapper * Tests: getcpu: no events shall be emitted at the same timestamp * Tests: Switch test apps to use usleep_safe() * Tests: Add a test utils library * Fix: redefinition of _GNU_SOURCE * Tests: only call usleep if the test in configured to wait * Test: add UST dl helper test * Test: add UST baddr statedump test * lttng: add status command * lttng: factor out declaration of commands * make check: add warning when LTTng processes are running * Missing cpu id kernel context in the kernel tracer ABI * Use --without-lttng-ust in error message * Use --with/--without for lttng-ust support * Only compare "bison -y" to the basename of YACC variable * Tests: Add debug output to getcpu_override * Tests: Change description of clock-override test * Add event exclusion test for identical names * Warn when exclusion names are truncated * Truncate exclusion names to have a terminal '\0' * Ignore exclusion names order when matching events * sessiond-comm.h: fix whitespaces * Disallow duplicate event exclusion names * Add LTTNG_EVENT_EXCLUSION_NAME_AT() helper macro * Fix: lay out names in exclusion structure correctly * Fix: Check for NULL hash tables on relay daemon teardown * Fix: Verify directory's existence before calling mkdir * Clean-up: declare variables at beginning of scope * Load x86-exceptions lttng-modules probe * Load x86-irq-vectors lttng-modules probe * Agent: Make the agent protocol consistently network endian * Clean-up: Remove unused variables from default.c * Fix: Unchecked NULL string in logging statement * Fix: include the filter expression in agent events' primary key * Add the filter expression to the enable_event agent protocol message * Add some IDE project files to the gitignore * Fix live timer calculation error * Don't initialize defaults in library constructor * Initialize lttng_ht_seed on hashtable creation * Cleanup: Missing space after cast operator * Build: Switch from tar v7 to posix archive format * Fix: Retry poll on interruption * Port: Explicitly allocate realpath() resolved buffer * Select which binaries/extras to build at configure time * Move libconsumer under common/consumer/ * Fix: There is more tests than the plan * Remove dead check from configure.ac * Fix: Silence warning by casting *sin_addr to *sockaddr * Port: fix 'ERR' conflict with Solaris regset.h * Relay protocol: check string lengths * Fix: Silence warning of function having no return value * Fix: Silence warnings when using uid_t and pid_t with printf * Port: Add compat for platforms with no MSG_NOSIGNAL or SO_NOSIGPIPE * Port: Add Solaris compat to sessiond-comm/unix.c * Port: Add Solaris compat for netdb * Fix: Silence warning formating pid_t as int * Port: Add Solaris dirent compat * Port: Add Solaris paths compat * Rename config.h to session-config.h * Port: Remove _GNU_SOURCE, defined in config.h * Port: cleanup and portability fix to configure.ac * Port: Don't use SIGUNUSED which is not defined on Solaris * Port: Implement prctl wrapper * Port: Replace flock with fnctl * Port: make bootstrap script work on most shells * Port: removed unused clone() compat * Port: Add macro for socket linking on solaris * Port: Add Solaris support to mman compat * Port: Replace dirent->d_type by stat * Add missing include for memset() * Port: Add Solaris support to socket compat * Port: name clash on Solaris, rename sun to s_un * Port: move memset of anc_buf inside ifdef * Port: Add Solaris fls compat * Port: Add Solaris string compat * Port: Use LTTNG_PATH_MAX instead of PATH_MAX * Port: Use LTTNG_HOST_NAME_MAX instead of HOST_NAME_MAX * Port: Use LTTNG_NAME_MAX instead of NAME_MAX * Port: Add Solaris support to socket compat * Port: Add Solaris support to poll compat * Port: Add Solaris support to fcntl compat * Port: Add Solaris endian.h compat * Fix: Use 'echo' in a portable way * Fix: Use result of AC_PROG_* when using sed / grep * Cleanup: Remove commented-out constant * Fix: use start and stop sessiond from utils.sh * Fix: Remove dependency on glibc 2.12 caused by pthread_setname_np * Fix: Log and ignore SIGINT and SIGTERM in run_as worker * Add logging to the run_as worker * Fix: Handle EINTR of waipid in run-as worker * Fix: Handle EINTR of waitpid when spawning a session daemon * 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 * 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 * Clean-up: NULL free'd pointers in utils_partial_realpath * 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 * Remove dead code from filter grammar test * Remove dead code from ir generation filter visitor * Remove dead code from session daemon * Remove dead code from view command * Remove dead code from disable-channel command * Remove dead code from disable-event command * Fix: error on no/multiple domain options * Fix: lttng-crash: segfault when parsing options * Remove dead code from the calibrate command * Remove dead code from add-context command * 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: 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 * Document locking assumption of agent_find_event() * 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 * Clean up: Coding style conformance adjustments in lttng-crash.c * 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 * Silence undefined return value warning * Silence use-after-free static analysis warning * 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: 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 * Cleanup: privatize consumer_allocate_relayd_sock_pair * 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 * Data pending comment clarification in session daemon * 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 * Remove unneeded hash table existence check in agent_destroy * Remove unnecessary RCU read lock * Use type directly in sizeof instead of a dereferenced pointer * Prevent the addition of UST events to agent channels * Don't save log level in session configuration when unneeded * Remove unneeded RCU lock * Remove unneeded RCU lock * Fix: Propagate filter status of kernel events to client * Fix: Save kernel event filter when saving session configuration * Docs: there is no need to SHOUT in comments * Fix: Mention Python as part of enable-event's usage() * Grammar fix in comment * Fix: typo in error message * Add agent domains to lttng enable-event usage() * Docs: Add documentation explaining the meaning of "internal" events * Report memory allocation failure when copying filter bytecode * Fix: cmd_enable_event must return positive error codes * Ensure that a filter is always passed with its filter expression * Save filter expressions as part of agent events * Add agent domains to the enable-event section of LTTNG(1) * Use lttng_domain_type enumeration instead of bare integers * Prevent disable event on internal UST events * Remove unneeded RCU read lock * Skip internal events when saving a session configuration * Clean-up: Coding-style conformance adjustments * Docs: Clarify ominous comment wording * 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 * Remove unneeded RCU lock * Remove dead code in lttng-sessiond * Ensure event names are NULL terminated during validation * 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 * Clean-up: Rename lib_func to cmd_func * 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 * Cleanup: reuse tracker* element from config * Test: save/load: pid_tracker basic test * Clean-up: Remove statement which has no side-effect * 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 * Clean-up: Remove java-doc annotations from function header * Mi: track/untrack/listing * Fix: intialization of ust_metadata_poll_pipe to garbage value * Fix "allocator sizeof operand mismatch" warning * Clean-up: Remove java-doc style function header from session.h * Clean-up: remove extra space in comment * Fix: test_mi test * Tests: Java agent: Add configure switches to enable tests * Fix: incorrect script name in python logging test * Docs: Document Agent reply codes * Docs: Remove Java-specific comments from agent.h * Docs: Grammar fix in agent header * Return "Unknown" error instead of "Fatal" on unhandled agent replies * Log agent reply in disable_event() * Log agent reply in enable_event() * Log agent reply in list_events() * Add agent reply code logging helpers * Add a LOG() macro which handles dynamic severity levels * Fix: Discard disable event command filter payload * Fix: Use MSG_NOSIGNAL when calling sendmsg() * Send data pending status as part of payload instead of an invalid error * Log error code's value when sessiond replies to a client * Tests: Java agent: update after Java agent refactoring * Set registration done Agent command version back to 0 * Fix: Don't send agent disable event command twice * Tests: Python agent: update after Python agent refactoring * Clean-up: Remove redundant variable initialization * Fix: incorrect variable being checked in libc-wrapper test * Rename Python agent event name to omit "user" * Consolidate agent event names regardless of user privilege * Clean-up: Move agent_apps_ht_by_sock definition to main.c * Fix: Initialize global agent_apps_ht_by_sock on session daemon launch * Fix: set session should not set non-existent session * 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 * Comment grammar correction * 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 * Clean-up: spelling fix in a comment * 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 * Update master version to v2.8.0-pre 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 * Fix: Wrong fd used by kernel_wait_quiescent * Support new lttng-ust error code * Fix: Don't set filter if enable event fails * Fix: Wrong data port when listing session * Fix: Enable event after start command * Fix: Teardown of thread_manage_clients on failure of listen/create_poll * Add a timeout to UST application socket * Fix: Consumerd error socket connect race * Fix: Set CLOEXEC flag on every created sockets * Remove consumer poll timeout in data thread * Fix: RCU hash table seed * Fix: Do not install health tests helper libraries * Fix: Create default channel on add-context if none * Support new liblttng-ust-ctl error code * Fix: Add EPIPE error handling on buffer splice * Fix: Channel creation error return code was not set * Fix: Wrong poll events on UST application socket * Fix: Remove dependency to urcu-cds in tools tests * Fix: Missing librt dependency in configure check for lttng-ust-ctl * Fix: Don't append datetime to default session name * Fix: Deny session creation name 'auto' * Fix: Add space for stream name CPU number * Fix: Add output option to enable-channel command 2012-11-02 lttng-tools 2.1.0-rc6 * Tests: Add filtering tests for uncovered cases * Fix: Sync issue when deleting a data stream * Rename data_available to data_pending * Fix: consumer health state * Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0 * Fix: Bad return error code handling * Fix: Use after free() of the rundir string * Fix: Cleanup UST app session on ustctl create session error * Fix: add missing pthread_join in sessiond * Fix: free running directory string * Fix: UST app clean list node usage * Add liblttng-ctl destructor to cleanup memory * Fix: Cleanup URIs on teardown * Fix: relayd memleaks * Fix: Memory leaks of allocated URIs * Fix: consumer output memory leak on creation * Fix: missing addrlen initialization before accept(2) * Fix: relayd trace file padding memleak * Fix: Remove useless consumer subdir string concatenation * Fix: lttng create allocated path memleak * Fix: Cppcheck memleakOnRealloc mistake * Fix: Synchronization issue for data available command * Fix: consumer relayd cleanup on disconnect * Fix: Handle the unary bitwise negation operator (~) in the XML printer * Fix: Possible memory leaks when creating filter IR root node * Fix: Delete stream on write error in consumer * Fix: Error handling when sending relayd sockets to consumer * Add stream lock comment for nesting * Fix: Mutex and RCU lock nesting in consumer * Fix: Uninitialized ret code * Fix: Remove bad condition and fix overflow issue * Fix: consumerd pthread error flow * Fix: Set a single return point and mutex unlock * Fix: Remove useless NULL and zero assignment * Fix: segfault on create session with two URLs 2012-10-22 lttng-tools 2.1.0-rc5 * Fix: Remove network stream ID ABI calls * Tests: Add filtering tests * Wait for data availability when stopping a session * Relayd data available command support * Lib lttng-ctl data available command support * Consumer daemon data available command support * Add data structure for the data available command * Change the metadata hash table node * Make stream hash tables global to the consumer * Move add data stream to the data thread * Rename consumer threads and spawn them in daemon * Fix: relayd close stream command was not working * Fix: Relayd and consumerd socket leaks * Fix: Missing -ENODATA handling in the consumer * Fix: Empty metadata buffer(s) on HUP|ERR * ABI with support for compat 32/64 bits * Fix: Stream allocation and insertion consistency * Fix: output number of bytes written by relayd * Add hash table argument to helper functions * Fix: Add missing call rcu and read side lock * Tests: Fix LD_PRELOAD library lookup path for health tests * Fix: Add arbitrary wait period for kernel streaming test * Fix coding style and add/change debug statements * Fix: Build out of src tree * Tests: Add health check tests to configure * Tests: Add health check thread stall test * Tests: Add health check thread exit test * Tests: Add a health check utility program * Add testpoints in lttng-sessiond for each threads * New testpoint mechanism to instrument binaries for testing * Fix: off-by-one in comm proto between lttng-ctl and sessiond * Fix: Metadata stream leak when received in consumer * Fix: consumer_allocate_stream error handling * Fix: consumer should await for initial streams * Fix: Missing rcu read side lock in consumer 2012-09-26 lttng-tools 2.1.0-rc4 * Fix: Change sempahore to pthread conditions * Fix: relayd relay_send_version: handle sscanf return code * Fix relayd: NULL ptr deref * Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak * Tests: add print bytecode to filter grammar test * Cleanup: assign values to bytecode opcodes * Fix: Filter: Fix allocation length error * Fix: Filter: add missing ast free * Tests: Add high throughput with bandwidth limits test * Fix: Returned code when listing kernel channel * Tests: Rename helper functions to have consistent names * Tests: Cleanup redundant code and use printing helper functions * Tests: Add helper functions for printing status and banner * Tests: Add a check for color support when printing status * Fix: Lib lttng-ctl on error returns lttng code * Fix: lttng_set_event_filter() was returning bad error code * Fix: printing [no write] on lttng list -uf * Fix: Disable event on filter error with lttng * Fix: Wrong returned error code on UST enable event * Add consumer commands to lttng.1 man page * Add lttng_health_check(3) man page * Fix: Remove LPOLLNVAL from consumer metadata revents * Fix: Mismatch of field name between ust and tools * Add the written value when listing fields * Fix: Consumer return value check after mmap/splice * Don't send the subbuffer padding for streaming * Fix: Returned error code in consumer on read buffer 2012-09-12 lttng-tools 2.1.0-rc3 * Fix: Relayd fix ret value when adding a connection * Add new thread in consumer for metadata handling * Fix: consumer recv command error path * Fix filter: fix recent regressions * Update lttng-ust-abi.h from upstream lttng-ust * Fix: Accept bytecode of length 65536 bytes * Fix: Generation of bytecode longer than 32768 bytes fails * Fix: Filter bytecode alloc buffer size must be a power of 2 * Add lttng-ctl SWIG python bindings * Add C++ support to API header files * Librarify filter in liblttng-ctl and hide symbols * Set hidden visibility for calls used in lttng-ctl * Notify the user if a filter is already enabled * Install lttng-error.h and include it in lttng.h * Add lttng-error.h containing every API err. code * Fix: missing hostname context 2012-08-22 lttng-tools 2.1.0-rc2 * Fix: put back 2.0 output text for lttng create cmd * Fix: remove set subdir call that uses bad ptr * Filter: Handle the unary bitwise not operator (~) with an unsupported * Fix: missing mutex unlock on register consumer err * Remove underscore from ifndef of lttng.h * Remove unused define in lttng.h * Standardize lttng command line usage text * Merge duplicate code in consumer for destroy relayd * Merge duplicate code in consumer for add relayd * Fix: Possible buffer overflows in strncat() usage * Move code out of main.c and fix some issues 2012-08-17 lttng-tools 2.1.0-rc1 * Feature: Network Streaming * Add the lttng-relayd binary for network streaming * Support user space tracer filtering * Multiple fixes 2012-04-19 lttng-tools 2.0.1 * Fix: test script for kernel module validation * Fix: report error to client on consumerd error * Fix: add missing ht_destroy at consumer teardown * Fix: consumer fd recv thread should write into non-blocking pipe * Fix: work-around glibc __nptl_setxid vs clone hang * Fix: consumer fd recv poll should be sensitive to POLLPRI too * Fix consumer lttng_consumer_poll_socket poll revents check bug * Fix: increase consumer open files limit * Update README: document dep on modprobe for kernel tracing * Fix: wait for sessiond to stop in tests * Fix: remove unused return variable * Don't report back error on syscalls fail for -a -k * Fix: destroy context hash table being NULL * Fix: make lttng expand path for trace output opt * Fix: return value signedness * Fix: man page environment variable name error * Fix: check return value on getenv USER 2012-03-20 lttng-tools 2.0.0 * Fist STABLE version * Add version name: Annedd'ale 2012-03-20 lttng-tools 2.0.0-rc4 * Fix: add small detail to enable-channel man page * Fix: warned of arbitrary time for ust-nprocesses test * Fix. add limitation to man page * Fix: minor changes to lttng.1 * Fix: add exit values to lttng.1 man page * Fix: add delay before validating apps in test nproc * Fix: error handling in lttng enable-event * Fix: document structure init. to 0 in lttng.h * Fix: uninitialized variable * Keep track of FD used for UST applications (v2) * Fix: lttng view, error message and exit code * Small fixes to lttng man pages (v2) * Fix: handle EINTR for sendmsg syscall * Fix: lttng UI exit value and error message * Fix: session lock use after free * Fix kernel_list_events memleaks * Fix debug message use uninitialized variable * Fix: trace_ust_destroy_metadata should check for NULL pointer * Fix: various memleaks * Fix: hash table allocation out of order on error * fix: lttng_ht_destroy memleak 2012-03-16 lttng-tools 2.0.0-rc3 * Fix: missing headers for make dist * Fix: install lttng-consumerd in lib/lttng/libexec/ * Fix: Redefine MAP_STACK to 0 if not defined by the architecture * Fix: consumer CPU hotplug support * Fix: double PID registration race * Make libcompat independent not to confuse automake * Clarify the license of lttng-ust-abi.h * Fix: License header * Fix: wrong return value on consumer socket creation * Fix: test for UST invalid channel parameters at channel creation * Fix: recvmsg should handle EINTR * Fix: error.h non-static variables for liblttng-ctl * Fix: missing _GNU_SOURCE define * Fix: improve need root for kernel tracing error message * Fix: start/stop lttng message error 2012-03-02 lttng-tools 2.0.0-rc2 * Fix: meaningful error message * Fix: UST consumer need to iterate on streams, just change their key * Fix: add missing rcu read lock across RCU HT iteration * Fix: kernel session closes fd 0 after create * Fix: sendmsg EPIPE should be quiet by default (expected) * Fix: thread_registration_apps should set its local sock to -1 when passing it * Fix: clock -> sock typo * Fix: consumer race: should allow reuse of FD key * Fix: Use PERROR all across lttng-tools, never make it quiet * Fix: test all close return values in sessiond * Fix: All perror turned into PERROR to show file and line number * Fix: large audit of close() use in sessiond main.c * Fix: main.c client/apps sockets and kernel_trace_fd close(0) * Fix: incorrect close of fd 0 for syscall kernel event destroy * Fix: sessiond has incorrect missing 0 value in FD check * Fix: sessiond app listening: use posix-compliant poll flags * Fix: consumer printf type should match ssize_t (%zd) * Fix: make ust consumer posix compliant for poll flags * Fix security permission on lttng run directory * Fix: Display right loglevel_type in error message * Fix documentation in lttng.h * Fix: lttng UST and kernel consumer: fix ret vs errno mixup * Fix: restart consumerd and sessiond when interrupted in poll() * Fix: handling bad channel when sending to consumer * Fix useless variable * Fix add-context returned error * fix: add missing break in command handling * fix: command handling: do not check domain for commands not requiring domain * fix: if tracing group does not exist, do not report a client error * Fix: run_as error handling * Fix usage note on -a * Revert FreeBSD compatibility layer * Fix: documented number of subbuffers is incorrect * Document that num-subbuf and subbuf-size need to be power of 2 * Merge branch 'master' of git://git.lttng.org/lttng-tools 2012-02-20 lttng-tools 2.0.0-rc1 * Fix lttcomm_close_unix_sock to actually close the socket * lttng-sessiond: Set group permissions explicitly 2012-02-16 lttng-tools 2.0-pre23 * configure.ac: Fix consumerd64-libdir typo * Fix existing session daemon check * Fix missing session locks * Fix return value on ust app session create * Fix double start/stop trace * Fix ust app session started state on start trace * modprobe statedump, signal and timer lttng module * Fix hyphens in man pages 2012-02-14 lttng-tools 2.0-pre22 * Add the bash-completion file to the dist tarball * Add the LICENSE file too * Package used for the Ubuntu LTS (feature freeze) 2012-02-13 lttng-tools 2.0-pre21 * Fix licensing for hashtable/utils.c * Print loglevel value in list -u * Remove " from MSG() when no loglevel is selected * Initial import of man lttng.1 and lttng-sessiond.8 * Fix memory leak master 2012-02-09 lttng-tools 2.0-pre20 * New lttng view command * Multiple loglevel fixes * Fix list command * Fix session syscall listing * Multiple fixes across the code base 2012-02-02 lttng-tools 2.0-pre19 * Update lttng ust ABI/API copy * Implement UST calibrate and change default * Add MSG_WAITALL to recvmsg of sessiond-comm * Check kernel version for tests * Add a '--list-options' option to each command. * First import of extras/ with lttng bash completion * Remove default defines from lttng.h * Fix lttng sessiond spawn wait race * Add CMD_WARNING error code * Fix context mapping for UST and kernel * Add kernel work-around for boot_id * Rewrites lttng-ctl's set_session_daemon_path * Fix memory lean in all lttng cli commands * Update loglevel ABI * Add padding to all ABIs for future development. * Improve error handling of lttng cli * Multiple fixes across the code base (nothing critical) 2012-01-23 lttng-tools 2.0-pre18 * Complete change of the source directory tree * Move compat to common and create an internal lib * Rename lttngerr.h to error.h * Add kernel module version validation * Add UST version validation * Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond * Fix off-by-one and double list size instead of steady increment 2012-01-19 lttng-tools 2.0-pre17 * Add and support the new hash table library * Add lttng hash table support to liblttng-consumer * RCU support for consumer's hash tables * UST consumer close shm fd after mapping it * Remove CLONE_VM flag for runas making gdb debugging impossible * Make MSG() print on stdout instead of stderr * Don't init kernel tracer if not root (UID=0) * Multiple fixes found when reaching max. number of open files * Add some UST tests * Multiple segfaults and assert error fixed 2011-12-23 lttng-tools 2.0-pre16 * Per-user lttng-sessiond now fully functionnal * Fix nested double usage of hashtable iterators * Support creds passing between lttng and sessiond * Rename sessiond internal "uid" fields to "id" * Create all trace directories and files with client user credentials * Create output directory at session creation command * Only allow the user or group owning the session (or root) to control a session * Add disable kernel tracing option to sessiond 2011-12-13 lttng-tools 2.0-pre15 * (MAJOR) User-space tracing support for global domain (lttng-ust 2.0) * UST consumer 32/64 bit support * Multiple bug fixes * Multiple segfault, race and double lock fixes * API change for lttng_list_domains, lttng_start/stop and lttng_destroy * UST loglevel support * ABIs now support 256 char event names * Dependency on libpopt >= 1.13 * Dependency on URCU >= 0.6.7 * Rename kernel-ctl.c/.h to kernel.c/.h * Change malloc to zmalloc in lttng-sessiond code * RCU hashtable support for all UST data structure * New libconsumer for UST, kernel and one generic * Change "--all" option from lttng command line * Remove function entry option to discourage its use 2011-09-30 lttng-tools 2.0-pre14 * Syscall tracing support * Multiple bug fixes (nothing critical) * Add userspace RCU hash table to tree for dev * Update UST ABI * Fix epoll that did not handle EINTR * Liburcu >= 0.6.5 is needed from this release * Enabling all events also enable syscall tracing * Debug messages are now on stderr * Add basic data structure for UST support but not ready yet. 2011-08-25 lttng-tools 2.0-pre13 * Memory leaks fixes and double lock list * Add UST registration with sychronisation * Use poll/epoll compatibility layer for the sessiond * Major code cleanup of ltt-sessiond/main.c * Increase listen() connexion limit * Fix bad enable-channel command * Rename trace.c/.h to trace-kernel * Multiple fixes on the poll management with the new epoll API 2011-08-25 lttng-tools 2.0-pre12 * Multiple fixes * Fix kconsumerd handling custom channel output * Add lttng_register_consumer to register a custom consumer * Add multiples tests of the session daemon * Default kernel channel size/number changed * Support for UST application registration * Import LTTng UST 2.0 ABI * Send data to kconsumerd before tracing start * Export API of lib kernel consumer (liblttngkconsumerd) 2011-08-12 lttng-tools 2.0-pre11 * New lttng API using the lttng_handle * Multiple fixes of kernel consumer * Register the consuming function and add a library context * Kernel consumer fix mmap/munmap * lttng-sessiond-comm header has been privatize * Kernel traces are written in the kernel/ directory * Add underscore to enable-channel command options 2011-07-29 lttng-tools 2.0-pre6 * Fix enable multiple events * Add function entry feature 2011-07-28 lttng-tools 2.0-pre5 * Fix Add context command * Fix auto session path creation * Fix bad strncmp at channel creation 2011-07-23 lttng-tools 2.0-pre4 * Fix kprobe attributes * Fix channel creation when not found at event enable * Add safe list iteration * Add two tests into the git tree * Kernel consumer can be put in debug mode with -vv * Trace path is now created on the client side 2011-07-23 lttng-tools 2.0-pre3 * Fix perf hw cache counter config values 2011-07-22 lttng-tools 2.0-pre2 * Multiple fixes * New add-context options for perf counter and context * Using the install bin path from autotool for execl() call * Update quickstart guide 2011-07-20 lttng-tools 2.0-pre1 * First prerelease of lttng-tools. * Working with the LTTng v2.0-pre1 modules and Babeltrace v0.1