Update version to v2.8.4
[lttng-tools.git] / ChangeLog
CommitLineData
baab46b4
JG
12017-01-06 lttng-tools 2.8.4 ("Wheel Of Fortune" debuts on NBC)
2 * Fix: lttng-relayd: forcefully close stream on relayd shutdown
3 * Fix: protect the channel's metadata stream using the metadata cache lock
4 * Fix: double unlock of metadata mutex on error
5 * Fix: add element length check in lttng_index_file_open
6 * Fix: free previous instance of url (alloc_url) on default live url assignation
7 * Fix: relayd vs consumerd compatibility
8
8b4d39f2
JG
92016-12-01 lttng-tools 2.8.3 (National Pie Day)
10 * Fix: truncate the metadata file in shm-path
11 * Fix: add missing refcount of loaded modules
12 * Fix: only unload successfully loaded kernel modules
13 * Fix: test cases now rely on explicit workloads
14 * m4/pprint.m4: update with correct quoting
15 * configure.ac: move warning to end of output for the end user
16 * doc/man: only require asciidoc-attrs.conf when building the man pages
17 * Add version info to lttng-relayd help
18 * Fix: stop sessiond threads on health thread error
19 * Fix: stop lttng-relayd threads on health thread error
20 * Fix: report an error if unix socket address is too long
21 * Fix: save: leak of configuration file fd
22
48262f11
JG
232016-10-07 lttng-tools 2.8.2 (National Frappé Day)
24 * Fix: report truncation on snprintf
25 * Fix: check for a session daemon before running load command
26 * Fix: ignore SIGPIPE
27 * Fix: use ssize_type for the return value of uri_parse_str_urls
28 * Docs: grammar fixes in load.h
29 * Fix: wrong api comments for load.h
30 * Fix: do not overwrite ret if already set and session found
31 * Fix: handle backward compatibility with lttng-modules 2.7
32 * Clean-up: remove unnecessary autoconf variable substitution
33 * Fix: honor negative (unlimited) app socket timeout
34 * Build: Replace use of deprecated AM_PATH_XML2
35 * Tests: tap.sh spams tests' output when no plan is set
36 * Fix: location of various standard headers
37 * Fix: missing include ctype.h for isdigit()
38 * Fix: error.h -> common/error.h
39 * Test fix: set app and network socket timeouts to unlimited
40 * Test fix: test_fork can hang while waiting for child pids
41 * Test fix: test_daemon can hang while waiting for child pids
42 * Test fix: redirect python test subprocess output to /dev/null
43 * Fix: pass a valid length to accept() on unix domain sockets
44 * Fix: RCU lock imbalance on error in cmd_snapshot_list_outputs()
45 * Use -M parameter instead of --manpath when invoking man(1)
46 * OOT Build fix: reference the source directory's Python test app
47 * Fix: pass NULL to config_load_session instead of an empty string
48 * Fix: Mark ASCIIDOC_ATTRS_CONF as a dependency of man page targets
49
d11e0dba
JG
502016-07-05 lttng-tools 2.8.1 (NASA's Juno spacecraft enters orbit of Jupiter)
51 * Tests: eliminate process timeouts from Python tests
52 * Fix: English syntax errors in 'lttng status'
53 * Fix: sessiond ht_match_event() check if filter is NULL
54 * configure.ac: fix --enable/disable-kmod option
55 * Fix: validate number of subbuffers after tweaking properties
56 * Fix: do not refer to objects as .o
57 * Fix: do not link against libtool .o objects
58 * Fix: Define MANPATH in config.h
59 * Tests: Make warn_processes.sh more portable
60 * Fix: add missing script to dist
61 * Fix: leak of UST app hash tables
62 * Fix: leak of reply buffer on data pending check
63 * Fix: call xmlCleanupParser to free global libxml2 allocations
64 * Fix: missing "void" parameter of lib constructor and destructor
65 * Fix: lttng-relayd allow binding of privileged ports for non-root users
66 * relayd: optimize receive throughput
67 * Fix: enforce assumption that lttng-modules ioctl() return <= 0
68 * Fix: reduce scope of kconsumer consumed_pos and produced_pos
69 * Fix: set the logger level to prevent unexpected level inheritance
70 * Typo: Stoping -> Stopping
71 * Typo: occured -> occurred
72
a0f518a0
JG
732016-05-20 lttng-tools 2.8.0 (Bike-to-Work Day)
74 * Fix: only perform lttng_consumer_sync_trace_file() in local mode
75 * Make lttng_consumer_sync_trace_file static
76 * Fix: don't negate posix_fadvise return value to check error
77 * Fix Solaris 10 build: use lttng_strnlen() wrapper
78 * Rename lttng_error_type to lttng_error_level
79 * Cleanup error.h __lttng_print() used for message printing
80 * Update coding style document for macro style
81 * Fix: coding style document has erroneous semicolon at end of macro
82 * Fix: add missing semicolons after MSG, DBG, ERR print macros
83 * Tests: inverted condition in test_kernel_data
84 * OOT build fix: asciidoc.conf is now a source file
85 * lttng-create(1): use attributes for default ports
86 * lttng-create(1): add xrefs to creation mode definitions
87 * lttng-create(1): use the correct DATAPORT/CTRLPORT variables
88 * lttng-create(1): use def list for net protocols
89 * lttng-create(1): add relay mode
90 * doc/man: put AsciiDoc attributes in their own file
91 * test: UST tracing destroy flush behavior with tracefile rotation
92 * test: kernel tracing destroy flush behavior with tracefile rotation
93 * Add environment variable to allow abort on error
94 * Fix: ust-consumer: flush empty packets on snapshot channel
95 * Fix: WARN() should print as WARN level, not ERR
96 * Fix: error.h: add missing parenthesis around macro parameter
97 * Fix: bogus mask on error.h PRINT types
98 * Fix: kernel tracing: flush after stop
99 * Fix: UST should not generate packet at destroy after stop
100 * Tests: remove flaky '*' kernel wildcard test
101 * Fix: bad file descriptors on close after rotation error
102 * Fix: configure.ac: allow --disable-python-bindings
103 * Fix: merge tap tests stdout and stderr
104 * Fix: posix_fadvise wrapper returns -ENOSYS on FreeBSD
105 * Fix: Double free in utils_partial_realpath error path
106 * Fix: remove logically dead code in send_channel_uid_to_ust
107 * Fix: unchecked return value in low throughput test
108 * Tests: abort() exclusion test on allocation failure
109 * Fix: unchecked posix_fadvise() return value
110 * Fix: unchecked return value in relayd live.c
111 * Fix: unchecked return value in trace_clock_read64_monotonic
112 * Clean-up: remove unnecessary blank line
113 * Fix: initialize the cur_event variable before using it
114 * Fix: Dereference after NULL check in consumer
115 * Tests: abort test on memory allocation failure
116 * Fix: pointer dereference after NULL check in test_create_ust_event_exclusion
117 * Fix: NULL pointer dereference in relay_index_get_by_id_or_create
118 * Clean-up verbosity incrementation in set_option
119 * Fix: Deference after null check in sessiond set_option
120 * Docs: clarify comment in parse_pid_string()
121 * Fix: Wrong sizeof argument in pid tracker
122 * Fix: tests: incorrect uri index
123 * Fix: Integer overflowed argument
124 * Fix: macro compares unsigned to 0 (no effect)
125 * Fix: Free variable before strdup() in process_event_node
126 * Fix: Free variables before strdup()
127 * Fix: Add missing free() in spawn_viewer
128 * Fix: Add missing free() in utils_partial_realpath
129 * Fix: Use distinct variables for ret and discarded_events
130 * Fix: Don't try to show manpage when argv is null
131 * Fix: Use secure_getenv() in get_man_bin_path
132 * Fix: illegal memory access in test_create_ust_event_exclusion
133 * Fix: illegal memory access in test_create_ust_event
134 * Fix: illegal memory access in test_create_kernel_event
135 * Fix: illegal memory access in test_create_ust_channel
136 * Fix: illegal memory access in send_viewer_streams
137 * Simplify rcu locking in viewer_list_sessions
138 * Fix: illegal memory access in viewer_list_sessions
139 * Fix: illegal memory access in relayd_add_stream
140 * Fix: illegal memory access in relayd_create_session_2_4
141 * Fix: illegal memory access in session_create
142 * Fix: illegal memory access in consumer_set_subdir
143 * Fix: illegal memory access in syscall_init_table
144 * Fix: illegal memory access in write_pidfile
145 * Fix: illegal memory access in list_lttng_channels
146 * Fix: illegal memory access in cmd_snapshot_record
147 * Fix: illegal memory access in output_init
148 * Fix: illegal memory access in consumer_set_network_uri
149 * Fix: illegal memory access in cmd_snapshot_list_outputs
150 * Fix: illegal memory access in list_events
151 * Fix: illegal memory access in disable_event
152 * Fix: illegal memory access in enable_event
153 * Fix: illegal memory access in add_uri_to_consumer
154 * Fix: illegal memory access in init_ust_event_from_agent_event
155 * Simplify free() of channel attribute
156 * Fix: illegal memory access in _cmd_enable_event
157 * Implement lttng_strncpy safe string copy
158 * Add missing symbol to preserve ABI compatibility of liblttng-ctl
159 * Fix: loading a session prints an error message but the load is successful
160 * Snapshot warning if there are no events in one of the domains
161 * Clarify kernel version check error messages
162 * Tests: same event name with different descriptor on load
163 * Fix: load event state (enabled/disabled) correctly
164 * Fix: Error reported if no domain is provided for start/stop
165 * Handle unknown domain in MI
166 * Handle unknown domain on session start
167 * Fix: loading of live session within userspace domains
168 * Test: expose session url bug on load with multiple domains
169 * OOT build fix: asciidoc.conf is now generated at configure
170 * Snapshot: record: use same datetime for snapshot folder output
171 * Refactor: move the snapshot type check into output type check
172 * ust-metadata.c: nest/indent enumeration entries
173 * lttng.c: show basic help when no arguments are provided
174 * Define command short descriptions in configure.ac
175 * lttng-relayd(8): $HOME -> $LTTNG_HOME
176 * doc/man: use propagated default values in man pages
177 * Propagate default values from configure.ac to asciidoc.conf
178 * Define default values in configure.ac
179 * lttng-load(1): use lists to explain the input path behaviour
180 * lttng-sessiond(8): fix load directories and behaviour
181 * lttng-load(1): specify default search order
182 * doc/man: use configured directories in man pages
183 * doc/man/asciidoc.conf: add doctype-manpage conditions
184 * doc/man: linklttng macro -> man macro
185 * doc/man/Makefile.am: add failing dist-hook on --disable-man-pages
186 * doc/man/Makefile.am: fix top comment
187 * configure.ac: fix --enable-man-pages help string
188 * Fix: standardize parser/lexer building
189 * Fix: standardize man pages building/installing
190 * configure.ac: check for an existing liburcu-cds symbol
191 * configure.ac: use macro for wrong liburcu error message
192 * Hide parse_application_context utility function
193 * Re-add deprecated MI symbols to preserve ABI compatibility
194 * Hide new MI symbols introduced as part of 2.8
195 * Re-add default size symbols which were erroneously exposed
196 * Hide config symbols introduced in 2.8
197 * Hide internal _lttng_destroy_session symbol
198 * Hide bytecode symbol iterator API symbols
199 * Tests: wording of trace_matches is misleading
200 * Test lttng-modules clock override plugin
201 * Warning fix: uninitialized variable may be used
202 * Tests: Replace prove by autotools tap runner
203 * Drop installcheck target
204 * Fix: distcheck requires that we clean version.h
205 * Fix: configure: forbid Python bindings if shared libraries are disabled
206 * Fix: tests: don't match command line arguments, match static build binary names
207 * Fix: tests: skip tests on static build
208 * Fix: tests: don't build dynamic lib tests if support disabled
209 * bootstrap: Standardize on autoreconf -vi
210 * doc/man: add notes about shell escaping
211 * Fix: doc/man/Makefile.am for OOT builds
212 * Move unix.h wrapper from sessiond-comm to common
213 * Fix: update tests following renaming of UST statedump event
214 * Typo: catched -> caught
215 * Add comment describing ioctl number duplication
216 * Test: kill sessiond,relayd and background children on SIGTERM/SIGINT
217 * Docs: Remove unnecessary exclamation mark
218 * Docs: fix wording of dependency
219 * Docs: fix "daemon" typo in README.md
220 * Fix: Use get_domain_str on add context
221 * Warning fix: possible use of uninitialized variable
222 * doc/man: add FILES section
223 * Test: xsd validation of long path (length > 255)
224 * Fix: xsd: urls and paths are not of type name_type but string
225 * Fix: do not return error on LTTNG_ERR_SNAPSHOT_NODATA
226 * Fix: Set loopback adress in set_ip_addr if gethostbyname2 fails
227 * Fix: d_type validity is not guaranteed on all nfs versions
228 * Fix: doc/man: lttng-add-context(1): add missing option macro
229 * doc/man: common-footer.txt: add CI link
230 * doc/man: common-footer.txt: add GH organization link
231 * doc/man: lttng(1): clarify UST domain and add links to languages
232 * doc/man: add escwc macro and use it
233 * doc/man: lttng(1): link from COMMAND (synopsis) to COMMANDS section
234 * doc/man: use linkgenoptions macro
235 * doc/man: add linkgenoptions AsciiDoc macro
236 * .gitignore: ignore all generated files in doc/man
237 * doc/man: fix external links
238 * doc/man: xsl: move manpage-base.xsl -> manpage-callouts.xsl
239 * doc/man: xsl: move manpage-ulinks.xsl -> manpage-links.xsl
240 * doc/man: xsl: add <URL> after ulink text
241 * doc/man: xsl: add (internal) link template
242 * doc/man: lttng-enable-channel(1): move limitations to own section
243 * Fix: doc/man: lttng-relayd(1) -> lttng-relayd(8)
244 * doc/man: add nloption and genoption AsciiDoc macros
245 * doc/man: add [role="term"] to terminal callouts
246 * Clean-up shm directory tree after freeing the channel
247 * Fix: Build man pages if --enable-build-man-pages is used
248 * Fix: convey enum value signedness into metadata
249 * Generate man pages by default
250
ff8fd4ba
JG
2512016-03-18 lttng-tools 2.8.0-rc1 (Awkward Moments Day)
252 * Bump minor kernel tracer ABI version
253 * Quote brewery names in release codename description
254 * Fix: metadata regenerate, error if too many args
255 * Fix: add missing sys/types.h header
256 * Fix: build failure when __GLIBC_PREREQ is missing
257 * configure.ac: beautify report
258 * Update version codename and description to 2.8.0 - Isseki Nicho
259 * doc/man: lttng.1.txt: sort commands in categories
260 * Data pending message is printed when unnecessary
261 * README.md: add CI/Coverity status badges
262 * README.md: add lttng-crash in package contents
263 * Show lttng-metadata man page in command's --help
264 * Add an lttng-metadata man page
265 * Remove untrack reference from snapshot man page
266 * README.md: add optional dependency on man
267 * doc/man: install lttng-health-check.3
268 * lttng-relayd: show man page with --help and remove usage
269 * doc/man: convert lttng-relayd(8) to AsciiDoc
270 * lttng-crash.c: show man page with --help and remove usage
271 * doc/man: convert lttng-crash(1) to AsciiDoc
272 * lttng-sessiond: show man page with --help and remove usage
273 * doc/man: convert lttng-sessiond(8) to AsciiDoc
274 * README.md: bolden all dependencies and versions
275 * README.md: add asciidoc and xmlto build dependencies
276 * lttng.c: sort commands to get a nice list output
277 * doc/man: add README.md
278 * lttng: add `help` command
279 * lttng.c: show man page with --help and remove usage
280 * lttng.c: CMD_UNDEFINED is used for invalid args too
281 * lttng: remove usage strings from commands
282 * lttng: show man page when using command's --help
283 * lttng add-context: add --list option
284 * doc/man: remove lttng.1 (built from lttng.1.txt)
285 * doc/man: create lttng-disable-event(1) and update/fix content
286 * doc/man: create lttng-enable-event(1) and update/fix content
287 * doc/man: create lttng-snapshot(1) and update/fix content
288 * doc/man: create lttng-help(1) and update/fix content
289 * doc/man: create lttng-status(1) and update/fix content
290 * doc/man: create lttng-untrack(1) and update/fix content
291 * doc/man: create lttng-track(1) and update/fix content
292 * doc/man: create lttng-calibrate(1) and update/fix content
293 * doc/man: create lttng-list(1) and update/fix content
294 * doc/man: create lttng-add-context(1) and update/fix content
295 * doc/man: create lttng-disable-channel(1) and update/fix content
296 * doc/man: create lttng-enable-channel(1) and update/fix content
297 * doc/man: create lttng-view(1) and update/fix content
298 * doc/man: create lttng-version(1) and update/fix content
299 * doc/man: create lttng-stop(1) and update/fix content
300 * doc/man: create lttng-start(1) and update/fix content
301 * doc/man: create lttng-load(1) and update/fix content
302 * doc/man: create lttng-save(1) and update/fix content
303 * doc/man: create lttng-set-session(1) and update/fix content
304 * doc/man: create lttng-destroy(1) and update/fix content
305 * doc/man: create lttng-create(1) and update/fix content
306 * doc/man: add common OPTIONS head for command man pages
307 * doc/man: add Makefile.am for generating man pages
308 * .gitignore: ignore generated man page artifacts
309 * doc/man: add XSL files for man pages
310 * doc/man: add asciidoc.conf
311 * configure.ac: check for asciidoc and xmlto
312 * doc/man: lttng(1): update and standardize content
313 * doc/man: convert lttng(1) to AsciiDoc
314 * Add builtin modules support to kmod modprobe
315 * Add comments to kmod functions
316 * Add libkmod rmmod support
317 * Move libkmod ifdef to beginning of file
318 * Drop optional control modules load and unload
319 * Fix: live test header endianness
320 * Document the live detach command
321 * Test the viewer detach command
322 * Use of bare attribute directives instead of LTTNG_PACKED
323 * Live: command to detach a viewer session
324 * Contexts for RT debugging
325 * Optional test for the metadata regeneration
326 * Add MI output to the metadata regenerate command
327 * Tests for metadata regenerate
328 * Add TAGS files to .gitignore
329 * Fix: systematic overwrite of union values on add context
330 * Mismatching signature of ust_metadata_session_statedump() stub
331 * Fix: Initialize events discarded and packet lost counters to zero
332 * Assert on unknown UST buffer type
333 * Command metadata regenerate
334 * Store the relay protocol version in the consumer_output
335 * Store the version of the tracer in the UID registry
336 * Store the instance id and packet_seq_num in indexes
337 * kernctl commands to extract the stream instance id
338 * Account the lost packets in snapshot mode
339 * Test: Add the lttng-runas worker process to the sessiond pids
340 * Limit the scope of IFS overwriting
341 * Do not overwrite IFS globally but only locally
342 * Display discarded and lost events at destroy and stop
343 * Fix: tests: use SIGSTOP for crash extraction test
344 * Test fix: ignore stderr at every step of randstring
345 * Fix: session_find_by_id can return NULL legitimately
346 * Fix: mark ltt_sessions_ht_destroy as static
347 * Docs: Missing locking assumptions in function headers
348 * Test fix: ignore stderr when generating random string
349 * Fix: hold session list lock during delete_ust_app
350 * Test: prevent the spawning of a daemonized sessiond
351 * Missing void in function signature
352 * CLI: Show filter expression associated to a syscall
353 * Fix: missing dereference when computing extended info position
354 * Fix: Only save kernel enablers in session configuration
355 * Fix: Only list kernel enablers when listing events
356 * Fix: syscalls hash table leaks when listing kernel events
357 * Initialize command header to zero
358 * Rename filter string to filter expression in liblttng-ctl
359 * Fix: use of unsigned variable to check for negative return
360 * Clean-up: remove unreachable goto
361 * Fix: missing static inline breaks --without-lttng-ust build
362 * lttng enable-channel memsets lttng_channel to -1
363 * Change padding type from array to fixed-width integer
364 * Clean-up: missing space between cast operator and operand
365 * Ensure UST channel output mode is LTTNG_UST_MMAP
366 * Extract the lost packets and discarded events counters
367 * Send extended channel payload to client
368 * Add channel discarded events and lost packets stats accessors
369 * Add extended info to liblttng-ctl's struct lttng_channel
370 * Reuse constant string instead of duplicate literal
371 * Clean-up: simplify computation of string position
372 * Optimization: lttng UI uses sprintf instead of strcpy
373 * Fix: OOT build fails because of missing include path
374 * Tests: Consider lttng mi namespace in test_load
375 * MI: Remove boolean "exclusion" element
376 * MI: add <exclusions> (event exclusion names)
377 * CLI: show event exclusion names
378 * Add new LTTNG_ERR_OVERFLOW error code
379 * Add lttng_event_get_exclusion_name*() to liblttng-ctl
380 * Tests: Consider lttng mi namespace in test_mi
381 * MI: Implement event context schema change
382 * MI: Add application context type to schema
383 * MI: add schemaVersion attribute to command schema
384 * MI: set machine interface XSD target namespace
385 * Add schema information to XML MI output
386 * Fix: libxml2 may return 0 because of buffering
387 * Bump LTTng MI schema to 3.0
388 * MI: add <filter_expression> (event filter expression)
389 * Transfer UST exclusion names from sessiond to client
390 * Fix: return negative error code in list_lttng_ust_global_events()
391 * CLI: show agent event filter string
392 * CLI: show event filter string
393 * Add lttng_event_get_filter_string() to liblttng-ctl
394 * Transfer filter strings from sessiond to client
395 * Refactor setup_lttng_msg() to include cmd header
396 * Add offset comments to struct lttng_event
397 * Add command header to sessiond->client response msg
398 * Add internal extended channel structure
399 * Metadata for instance_id and packet_seq_num
400 * Add a HT to lookup sessions by id
401 * Explicitly stop the session on lttng destroy
402 * Fix: per-pid ust buffers flush race with application unregister
403 * Fix warning when building Python bindings
404 * Add CONTRIBUTING.md
405 * Revert "Python bindings: remove duplicate structure definitions"
406 * Docs: clarify cross-version tracer compatibility
407 * Cleanup: Remove unnecessary newline
408 * Fix: Use ipv6 loopback adress in test_uri
409 * Python bindings: remove duplicate structure definitions
410 * Fix: test: handle env variables undefined
411 * Fix: report already enabled event error to client
412 * Docs: add comment to cmd_add_context()
413 * Fix: application context leak when enabling context
414 * Fix: string leak when processing of client message fails
415 * Fix: missing return code initialization on error
416 * Fix: unchecked return value in _lttng_variant_statedump()
417 * Fix: Possible use-after-free in create_ctx_type()
418 * Fix: filter tests now accept "." in identifiers
419 * Fix: Don't notify agent of non-app context addition
420 * Create agent on channel creation
421 * Introduce application contexts to session configuration schema
422 * Fix typos in error descriptions
423 * Enable agent application contexts if filter has such dependencies
424 * Compare provider and context names in trace_ust_match_context
425 * Allow $app.provider:ctxname in filter, enum, variant identifiers
426 * Add variant type support to ust registry and metadata
427 * Notify java agent of enabled application contexts
428 * Add app context support to lttng client
429 * Enforce const-correctness in UNIX socket wrappers
430 * Remove superflous domain check in context_ust_add
431 * Remove superflous domain check in add_uctx_to_channel
432 * Use lttng_domain_type enum instead of bare integer
433 * Add application context support to lttng-ctl lttng_add_context
434 * Cleanup comments in lttng-ctl.c
435 * Tests fix: source utils.sh before using conf_proc_count
436 * Tests: use configured processor count in getcpu override tests
437 * Tests: use configured processor count in snapshot tests
438 * Tests: Introduce conf_proc_count()
439 * Tests: print a more precise test description in snapshot tests
440 * clock offset: print negative value in metadata for lttng-ust metadata
441 * Fix: handle negative clock offset for lttng-ust metadata
442 * Fix: test: append to LD_LIBRARY_PATH
443 * Fix: test: use load_path instead of $1
444 * Bump lttng-ust protocol version to 6.1
445 * Add CTF enum type support for UST registry
446 * Cleanup __lttng_print macro indentation
447 * Fix: do not print error and bug messages when quiet (-q) is present
448 * Fix: test_ust-dl requires bash
449 * Fix: test script requires bash
450 * Fix: missing $ in SED variable
451 * Tests: fix make targets using objcopy
452 * Build: fallback to AC_CHECK_LIBS when looking for popt and uuid
453 * tests/unit: fix object files' location
454 * configure.ac: fix static build
455 * Tests: fix tracefile count when page_size is > 4k
456 * configure.ac: use $withval with AC_ARG_WITH
457 * Fix: close indexes when rotating the trace files in mmap mode
458 * Fix: close indexes when rotating the trace files in splice mode
459 * Clarify error message on "add context" failure
460 * Fix: Don't spam session daemon logs on invalid UST context
461 * Tests: getcpu_override: use event delay when launching with wrapper
462 * Tests: getcpu: no events shall be emitted at the same timestamp
463 * Tests: Switch test apps to use usleep_safe()
464 * Tests: Add a test utils library
465 * Fix: redefinition of _GNU_SOURCE
466 * Tests: only call usleep if the test in configured to wait
467 * Test: add UST dl helper test
468 * Test: add UST baddr statedump test
469 * lttng: add status command
470 * lttng: factor out declaration of commands
471 * make check: add warning when LTTng processes are running
472 * Missing cpu id kernel context in the kernel tracer ABI
473 * Use --without-lttng-ust in error message
474 * Use --with/--without for lttng-ust support
475 * Only compare "bison -y" to the basename of YACC variable
476 * Tests: Add debug output to getcpu_override
477 * Tests: Change description of clock-override test
478 * Add event exclusion test for identical names
479 * Warn when exclusion names are truncated
480 * Truncate exclusion names to have a terminal '\0'
481 * Ignore exclusion names order when matching events
482 * sessiond-comm.h: fix whitespaces
483 * Disallow duplicate event exclusion names
484 * Add LTTNG_EVENT_EXCLUSION_NAME_AT() helper macro
485 * Fix: lay out names in exclusion structure correctly
486 * Fix: Check for NULL hash tables on relay daemon teardown
487 * Fix: Verify directory's existence before calling mkdir
488 * Clean-up: declare variables at beginning of scope
489 * Load x86-exceptions lttng-modules probe
490 * Load x86-irq-vectors lttng-modules probe
491 * Agent: Make the agent protocol consistently network endian
492 * Clean-up: Remove unused variables from default.c
493 * Fix: Unchecked NULL string in logging statement
494 * Fix: include the filter expression in agent events' primary key
495 * Add the filter expression to the enable_event agent protocol message
496 * Add some IDE project files to the gitignore
497 * Fix live timer calculation error
498 * Don't initialize defaults in library constructor
499 * Initialize lttng_ht_seed on hashtable creation
500 * Cleanup: Missing space after cast operator
501 * Build: Switch from tar v7 to posix archive format
502 * Fix: Retry poll on interruption
503 * Port: Explicitly allocate realpath() resolved buffer
504 * Select which binaries/extras to build at configure time
505 * Move libconsumer under common/consumer/
506 * Fix: There is more tests than the plan
507 * Remove dead check from configure.ac
508 * Fix: Silence warning by casting *sin_addr to *sockaddr
509 * Port: fix 'ERR' conflict with Solaris regset.h
510 * Relay protocol: check string lengths
511 * Fix: Silence warning of function having no return value
512 * Fix: Silence warnings when using uid_t and pid_t with printf
513 * Port: Add compat for platforms with no MSG_NOSIGNAL or SO_NOSIGPIPE
514 * Port: Add Solaris compat to sessiond-comm/unix.c
515 * Port: Add Solaris compat for netdb
516 * Fix: Silence warning formating pid_t as int
517 * Port: Add Solaris dirent compat
518 * Port: Add Solaris paths compat
519 * Rename config.h to session-config.h
520 * Port: Remove _GNU_SOURCE, defined in config.h
521 * Port: cleanup and portability fix to configure.ac
522 * Port: Don't use SIGUNUSED which is not defined on Solaris
523 * Port: Implement prctl wrapper
524 * Port: Replace flock with fnctl
525 * Port: make bootstrap script work on most shells
526 * Port: removed unused clone() compat
527 * Port: Add macro for socket linking on solaris
528 * Port: Add Solaris support to mman compat
529 * Port: Replace dirent->d_type by stat
530 * Add missing include for memset()
531 * Port: Add Solaris support to socket compat
532 * Port: name clash on Solaris, rename sun to s_un
533 * Port: move memset of anc_buf inside ifdef
534 * Port: Add Solaris fls compat
535 * Port: Add Solaris string compat
536 * Port: Use LTTNG_PATH_MAX instead of PATH_MAX
537 * Port: Use LTTNG_HOST_NAME_MAX instead of HOST_NAME_MAX
538 * Port: Use LTTNG_NAME_MAX instead of NAME_MAX
539 * Port: Add Solaris support to socket compat
540 * Port: Add Solaris support to poll compat
541 * Port: Add Solaris support to fcntl compat
542 * Port: Add Solaris endian.h compat
543 * Fix: Use 'echo' in a portable way
544 * Fix: Use result of AC_PROG_* when using sed / grep
545 * Cleanup: Remove commented-out constant
546 * Fix: use start and stop sessiond from utils.sh
547 * Fix: Remove dependency on glibc 2.12 caused by pthread_setname_np
548 * Fix: Log and ignore SIGINT and SIGTERM in run_as worker
549 * Add logging to the run_as worker
550 * Fix: Handle EINTR of waipid in run-as worker
551 * Fix: Handle EINTR of waitpid when spawning a session daemon
552 * Fix: tests: support systems where PAGE_SIZE is not 4096
553 * Test: jul/log4j: use -a instead of '*' to disable all events
554 * Reword warning on event disable
555 * Clean-up: Remove unused test launchers
556 * Help: add -j -l -p option to help string
557 * man: update disable-event section
558 * Use empty event name on disable -a for ust and agent domain
559 * Fix: disable kernel event based on name and event type
560 * Tests: Clean-up test-crash on SIGTERM and SIGINT
561 * Fix: Possible dereference of null pointers
562 * Fix: Break out of loop when searching for a domain's agent
563 * Fix: int printed as uint
564 * Fix: add subdir-objects to Makefile.am
565 * Fix: tests: skip UST perf tests if not root
566 * Fix: Check use_clone() instead of worker in run_as
567 * Fix: Perform rcu barrier before tearing down the run-as worker
568 * Fix: Handle hang-up gracefully in run-as
569 * Fix: Only log app handle release on failure
570 * Fix: shm-path: handling of snprintf return value
571 * Fix: Wrong format specifier used in debug statement
572 * Tests: Swap usages of pidof for pgrep --full
573 * Tests: indefinitely wait for shm buffers to be unlinked
574 * Fix: Hide run-as functions
575 * Fix: Hide sessiond-comm functions
576 * Cleanup: remove duplicated implementation of rculfhash
577 * Fix: relayd: don't call lttng_ht_destroy in RCU read-side C.S.
578 * Fix: libc internal mutex races with run_as
579 * Fix: Hide readwrite symbols in common lib
580 * Fix: Hide pipe symbols in common lib
581 * Fix: Hide daemonize symbols in common lib
582 * Fix: Hide RCU hashtable wrapper symbols
583 * Clean-up: NULL free'd pointers in utils_partial_realpath
584 * Fix: prevent dangling pointer in utils_partial_realpath
585 * Fix: rcu_read_unlock without parentheses has no side-effect
586 * Fix: add missing test file to EXTRA_DIST
587 * Format utils.sh messages
588 * Tests: use functions from utils.sh
589 * Report error if any disable action fails
590 * Fix: disable all ust events
591 * Bring back event_ust_disable_all_tracepoints
592 * Fix: sessiond: disable: match app event by name
593 * lttng-crash: support symlink
594 * Test: lttng-crash and ust shm path
595 * Fix: dereferencing null index pointer
596 * Fix: leaking memory from strdup in lttng-crash
597 * Fix: memleak in utils_partial_realpath
598 * Fix: double free on enable-event
599 * Remove dead code from filter grammar test
600 * Remove dead code from ir generation filter visitor
601 * Remove dead code from session daemon
602 * Remove dead code from view command
603 * Remove dead code from disable-channel command
604 * Remove dead code from disable-event command
605 * Fix: error on no/multiple domain options
606 * Fix: lttng-crash: segfault when parsing options
607 * Remove dead code from the calibrate command
608 * Remove dead code from add-context command
609 * Print relayd stream indexes
610 * Enhance relayd error reporting
611 * Fix: relayd: handle consumerd crashes without leak
612 * Fix: LPOLLHUP and LPOLLERR when there is still data in pipe/socket
613 * Fix: double RCU unlock on event_agent_disable_all
614 * Fix: unbalanced RCU read-side lock in enable event command
615 * Add rcu_read_ongoing() assertions around process_client_msg
616 * Clean-up and simplify event_agent_disable_all
617 * Document locking assumption of agent_find_event()
618 * Fix: disable agent events by name
619 * sessiond: add loglevels_match()
620 * Fix: include loglevel type in agent event's primary key
621 * Fix: include loglevel type in UST event's primary key
622 * sessiond: use `loglevel_value` and `loglevel_type` names
623 * Tests: kernel wildcards
624 * Tests: fix wildcard test path
625 * doc: document untrack command in lttng(1)
626 * doc: document track command in lttng(1)
627 * Remove dot after enable-event message
628 * Fix: don't print the default channel name when enabling agent events
629 * Fix: fail gracefully on --exclude on unsupported domains
630 * Fix: initialize live_timer to 0 for snapshot session
631 * Fix: correct mismatched function signatures
632 * Clearer error reporting when failing to launch session daemon
633 * Daemonize sessiond on `lttng create`
634 * Fix: consumer signal handling race
635 * Fix: list_ust_events(): dangling pointer
636 * Fix: MI: close domain when listing multiple agent domains
637 * Tests: expand UST wildcard tests, move to regression/tools
638 * Tests: kernel filtering
639 * Fix: use pid element instead of process element
640 * Fix: race between kconsumerd and sessiond on tear down
641 * Fix: Buggy string comparison in ust registry ht_match_event
642 * Fix: Bad cast of lttng_kernel_instrumentation to lttng_event_type
643 * Fix: Implicit cast from lttng_loglevel_type to lttng_ust_loglevel_type
644 * Fix: lttng-crash: remove tmp working directory
645 * Clean up: Coding style conformance adjustments in lttng-crash.c
646 * Fix: lttng-crash: DIR leak in delete_trace() on error
647 * Fix: Possible passing of NULL pointer to memcpy()
648 * Fix: Overwrite of ret in relay_recv_metadata
649 * Silence undefined return value warning
650 * Silence use-after-free static analysis warning
651 * Fix: Wait for in-flight data before closing a stream
652 * Fix: unpublish stream on close
653 * Fix: lttng-crash: fd leak
654 * Fix: Invalid parameter error reported when untracking PID
655 * Fix: kernel track/untrack error handling
656 * Fix: Python agent tests are always skipped
657 * Tests: Fix flaky live test client
658 * Fix: Announce empty streams on live attach
659 * Fix: relayd: file rotation and live read
660 * Fix: relay: viewer_get_next_index handle null vstream
661 * Fix: relayd: make viewer streams consider metadata sent
662 * Fix: don't expose empty streams
663 * Fix: relayd: don't check new metadata on get packet
664 * Fix: relayd: don't check for new streams in get packet
665 * Fix: ask new streams HUP
666 * Fix: reply error if get packet vstream fails
667 * Fix: relayd reply error to client if cannot find viewer stream
668 * Fix: relayd reply with error if cannot find metadata
669 * Fix: ust-app: protect app socket protocol with lock
670 * Cleanup: privatize consumer_allocate_relayd_sock_pair
671 * Fix: add missing rcu_barrier at end of sessiond main
672 * Fix: add missing rcu_barrier at end of consumer main
673 * Fix: app cmd leak on sessiond exit
674 * Fix: relayd live don't send incomplete stream list
675 * Fix: consumer timer misses RCU thread registration
676 * Fix: sessiond consumer thread should register as RCU thread
677 * Fix: don't chain RCU free
678 * Fix: free metadata cache after grace period in consumer
679 * Fix: sessiond vs consumerd push/get metadata deadlock
680 * Fix: streamline ret/errno of run_as()
681 * Fix: Double unlock on error path
682 * Data pending comment clarification in session daemon
683 * Fix: Relay daemon ownership and reference counting
684 * Accept uid and gid parameters in utils_mkdir()/utils_mkdir_recursive()
685 * Fix: reference counting of consumer output
686 * Fix: sessiond add missing socket close
687 * Fix: sessiond should not error on channel creation vs app exit
688 * Fix: sessiond ust-app session teardown race
689 * Only display agent loglevel if the loglevel type is not ALL
690 * Initialize default log level of events on load
691 * Don't assume that Log4j and JUL share the same log level mappings
692 * Allow the creation of JUL, Log4j and Python channels
693 * Fix: Save tracker as part of UST and Kernel domains only
694 * Fix: Memory leak of agent
695 * Fix: Memory leak of agent event internals
696 * Save filter expression as part of agent events and save them
697 * Fix: UTF-8 characters may be stored on up to 4 bytes
698 * Remove unneeded hash table existence check in agent_destroy
699 * Remove unnecessary RCU read lock
700 * Use type directly in sizeof instead of a dereferenced pointer
701 * Prevent the addition of UST events to agent channels
702 * Don't save log level in session configuration when unneeded
703 * Remove unneeded RCU lock
704 * Remove unneeded RCU lock
705 * Fix: Propagate filter status of kernel events to client
706 * Fix: Save kernel event filter when saving session configuration
707 * Docs: there is no need to SHOUT in comments
708 * Fix: Mention Python as part of enable-event's usage()
709 * Grammar fix in comment
710 * Fix: typo in error message
711 * Add agent domains to lttng enable-event usage()
712 * Docs: Add documentation explaining the meaning of "internal" events
713 * Report memory allocation failure when copying filter bytecode
714 * Fix: cmd_enable_event must return positive error codes
715 * Ensure that a filter is always passed with its filter expression
716 * Save filter expressions as part of agent events
717 * Add agent domains to the enable-event section of LTTNG(1)
718 * Use lttng_domain_type enumeration instead of bare integers
719 * Prevent disable event on internal UST events
720 * Remove unneeded RCU read lock
721 * Skip internal events when saving a session configuration
722 * Clean-up: Coding-style conformance adjustments
723 * Docs: Clarify ominous comment wording
724 * Hide internal events from session daemon clients
725 * Prevent the use of reserved UST event names
726 * Tag events created as side-effect of agent events as internal
727 * Remove unneeded RCU lock
728 * Remove dead code in lttng-sessiond
729 * Ensure event names are NULL terminated during validation
730 * Fix: assert(0) when listing Python events with MI
731 * Fix: set GLOBAL buffer type for kernel domain in list
732 * Fix: take RCU read-side lock within hash table functions
733 * Tests: Adapt MI test to change in track/untrack behaviour
734 * Clean-up: Rename lib_func to cmd_func
735 * Fix: Improve the error reporting of the track/untrack command
736 * Tests: Fix flacky clock-plugin test
737 * Build: look for python >= 3.0 when building python bindings
738 * Build: rename use_python to python_binding
739 * Fix: regression tests
740 * Fix: tests: stderr not correctly redirected
741 * Fix: TimeoutExpired in Python tests not defined globally
742 * Tests: ust: clock override plugin
743 * Cleanup: reuse tracker* element from config
744 * Test: save/load: pid_tracker basic test
745 * Clean-up: Remove statement which has no side-effect
746 * Save/load: pid_tracker feature.
747 * Test: mi: track/untrack feature
748 * Util: xml_extract: add node_exist option
749 * Mi: track/untrack: validation
750 * Docs: Grammar fixes in mi_lttng.xsd
751 * Fix: Ensure a valid command error code is returned by track/untrack
752 * Clean-up: Remove java-doc annotations from function header
753 * Mi: track/untrack/listing
754 * Fix: intialization of ust_metadata_poll_pipe to garbage value
755 * Fix "allocator sizeof operand mismatch" warning
756 * Clean-up: Remove java-doc style function header from session.h
757 * Clean-up: remove extra space in comment
758 * Fix: test_mi test
759 * Tests: Java agent: Add configure switches to enable tests
760 * Fix: incorrect script name in python logging test
761 * Docs: Document Agent reply codes
762 * Docs: Remove Java-specific comments from agent.h
763 * Docs: Grammar fix in agent header
764 * Return "Unknown" error instead of "Fatal" on unhandled agent replies
765 * Log agent reply in disable_event()
766 * Log agent reply in enable_event()
767 * Log agent reply in list_events()
768 * Add agent reply code logging helpers
769 * Add a LOG() macro which handles dynamic severity levels
770 * Fix: Discard disable event command filter payload
771 * Fix: Use MSG_NOSIGNAL when calling sendmsg()
772 * Send data pending status as part of payload instead of an invalid error
773 * Log error code's value when sessiond replies to a client
774 * Tests: Java agent: update after Java agent refactoring
775 * Set registration done Agent command version back to 0
776 * Fix: Don't send agent disable event command twice
777 * Tests: Python agent: update after Python agent refactoring
778 * Clean-up: Remove redundant variable initialization
779 * Fix: incorrect variable being checked in libc-wrapper test
780 * Rename Python agent event name to omit "user"
781 * Consolidate agent event names regardless of user privilege
782 * Clean-up: Move agent_apps_ht_by_sock definition to main.c
783 * Fix: Initialize global agent_apps_ht_by_sock on session daemon launch
784 * Fix: set session should not set non-existent session
785 * Fix: pids should be numbers only
786 * Fix: Mishandled NULL short options in lttng-sessiond
787 * Use popt "required_argument" and "no_argument" constants
788 * Fix: Mishandled NULL short options in utils_generate_optstring()
789 * Fix: only launch a new session daemon for the "create" command
790 * Fix 'daemon' typo in lttng-ctl-pc.in description
791 * Fix: clean-up agent app hash table from the main sessiond thread
792 * Fix: Remove undocumented session daemon short options
793 * Comment grammar correction
794 * Log userspace application hash table allocation failure
795 * Fix: RCU read-side lock released too early in destroy_agent_app
796 * Fix: misleading logging statement in agent_find_event
797 * Fix: Unhandled domain option condition in list_agent_events
798 * Fix: Crash on lttng list -j/-l/-p when no events are present
799 * Clean-up: spelling fix in a comment
800 * Document relay_add_stream RCU locking
801 * Fix: Unbalanced rcu_read_unlock() on stream file creation failure
802 * Fix: Unbalanced rcu_read_unlock() on directory creation failure
803 * Fix: Document the locking assumptions of ctf_trace_find_by_path()
804 * Fix: Memory leak in relay_add_stream error path
805 * Update master version to v2.8.0-pre
806
34f69498
JG
8072015-07-15 lttng-tools 2.7.0-rc1 (Pet Fire Safety Day)
808 * Update version to v2.7.0-rc1
809 * Tests: lttng-ust-getcpu-override-test cache and error-check sysconf()
810 * Tests: lttng-ust-getcpu-override coding-style adjustments
811 * Add CPU_ID LTTng-UST context to enum lttng_ust_context_type
812 * Bump LTTNG_UST_ABI_MAJOR_VERSION to 6
813 * Tests: Ust getcpu override plugin
814 * Fix: Follow struct dirent allocation guidelines of READDIR(3)
815 * Update comments regarding the power of 2 constraint on sub-buffer sizes
816 * Build: add Flex version check
817 * Build: add Bison version check
818 * Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
819 * Fix: metadata push -EPIPE should be recoverable
820 * Fix: destroy session removes the default config file
821 * Build: bump autoconf version requirement to 2.64
822 * Fix: Memory leak in setup of relayd_path
823 * Fix: update liburcu URL
824 * Fix: test: use "$@" to pass and quote argument
825 * Refactor: test: wrapper for lttng_snapshot_del_output
826 * Refactor: test: wrapper for lttng_snapshot_add_output
827 * Refactor: test: wrapper for destroy_lttng_session
828 * Refactor: test: wrapper for stop_lttng_tracing
829 * Refactor: test: wrapper for start_lttng_tracing
830 * Refactor: test: wrapper for enable_ust_lttng_event
831 * Refactor: test: wrapper for enable_ust_lttng_channel
832 * Refactor: test: wrapper for create_lttng_session
833 * Fix: Memory allocated by xmlNodeGetContent() must be freed by xmlFree()
834 * Save/load: add support for shared memory path
835 * Fix: get_cmdline_by_pid path length assumes a max pid of 65535
836 * Clean-up: Remove ifdef-ed out lttng list options
837 * Test: mi: test for greater or equal to a minimum of events on ust listing.
838 * Fix: update regression tests involving UST
839 * Clean-up: Remove ifdef-ed out function:entry feature
840 * Fix: Mark MI and Config string declarations as extern
841 * Clean-up append_list_to_probes()
842 * Fix: modprobe.c: fix tmp_list memory leak
843 * Fix: append_list_to_probes(): increment index
844 * Docs: LTTNG(1) filtering is now supported by the kernel tracer
845 * Fix: live_test regression on large number of cpus
846 * Fix: set UST register timeout to -1 as test default
847 * Man page: reference lttng-crash under --shm-path option
848 * Tests: Don't rely on implicit scalar expression dereference
849 * man pages: use standard NAME format
850 * Fix python bindings' Makefile for out-of-tree builds
851 * Fix: use LIBS instead of AM_LDFLAGS for dl and c linking
852 * Fix: Add missing -ldl when checking for lttng-ust
853 * clock plugin: increase offset measurement accuracy
854 * Implement UST clock override plugin support
855 * Fix: ownership of filter and filter_expression
856 * Fix: zero memory passed to create channel kernel ioctl
857 * Fix: Check that lttng create --live's time is not zero
858 * Fix: Validate lttng_create_session_live's timer is > 0
859 * UI: Only show live timer when the session is in live mode
860 * UI: Only show tracker PID state when enabled
861 * Implement kernel filter support
862 * syscall tracing: update tests
863 * Support lttng-modules syscall wildcards
864 * Implement lttng-modules tracepoint wildcard support
865 * Fix build when configuring with --disable-lttng-ust
866 * Fix: add missing function prototype to trace-ust.h header
867 * Implement PID tracker content listing
868 * Implement UST PID tracker
869 * Cleanup: Remove unimplemented UST domains
870 * Implement PID tracking for kernel tracing
871 * Fix: leak on error in lttng-crash
872 * Man page fixes: missing --version option and typo
873 * Docs: add lttng-crash(1) man page
874 * Docs: lttng-crash refers to "lttng"
875 * Fix: possible use of uninitialized data in loglevel conversion funcs
876 * Fix: possible evaluation of garbage values in fini_validation_ctx()
877 * Cleanup: Remove stale #ifdef-ed-out code from spawn_viewer()
878 * Fix: Possible call to execvp with NULL argument on allocation failure
879 * Fix: Possible call to strtoul() with NULL argument
880 * Docs: clarify lttng.1 shm-path section
881 * Fix: Missing return value check in extract_trace_recursive()
882 * Fix: recursive_rmdir: empty all empty subdir
883 * Move file creation/unlink from liblttng-ust-ctl to consumerd
884 * lttng-crash: support recursive traces
885 * shm-path: remove directory hierarchy on destroy
886 * Implement --shm-path option for UST sessions (per-uid channels)
887 * Cleanup: Reduce scope of connections in main relayd thread
888 * Cleanup: Reduce scope of relayd connections in live thread
889 * Docs: connection_find_by_sock() must be called with rcu_read_lock
890 * Rename current release as 2.7.0-pre
891 * Docs: grammar fix in Makefile
892 * Change release name to master
893 * configure: add type availability checking
894 * configure: add check for compiler inline keyword support
895 * configure: missing check for needed header
896 * configure: missing check of functions
897 * Fix: test: log4j: missing static test files for dist and out of tree build
898 * Fix: test: java-jul:missing static test files for dist and out of tree build
899 * Fix: out-of-tree build: missing xsd file for mi test execution
900 * Fix: out-of-tree build: missing xsd file for save-load test execution
901 * Cleanup: remove unused end_no_session label in ust_app_flush_session()
902 * Cleanup: Remove unused "end" label in push_metadata()
903 * Tests: Run health check test_thread_ok as part of root_regression
904 * Fix: deadlock between UST registry lock and consumer lock
905 * Fix: uninitialized return value
906 * Fix: build failure using disable-lttng-ust configure option
907 * Cleanup: Remove unused variable
908 * Fix: setuid/setgid daemons should not get sensitive env. var./args
909 * Fix: grab more than one packet for snapshots
910 * Fix: per-uid flush and ust registry locking
911 * Docs: Missing optional dependency on lttng-ust in README.md
912 * Docs: Grammar fixes in the lttng manpage
913 * Fix: add missing UST perf counter support check
914 * Fix: tests: integer too large for long type
915 * Fix: undefined operation on last_relay_viewer_session_id
916 * Fix: print format type mismatch
917 * Fix: print format type mismatch
918 * Fix: Remove structurally dead code from relayd
919 * Cleanup: Remove logically dead code
920 * Cleanup: Remove unused label
921 * Fix: Remove unused argument in debug statement
922 * Fix: exit threads not only on goto restart
923 * Fix: poll: show the correct number of fds
924 * Fix: call lttng_poll_set_max_size before start threads
925 * Fix: compat poll: add missing empty revents checks
926 * Fix: various compat poll/epoll issues
927 * Add debugging output to ht-cleanup thread
928 * Fix: mi: snapshot: missing error handling for session name
929 * Fix: ust-app: per-PID app unregister vs tracing stop races
930 * Fix: data pending: allow empty streams
931 * Fix: ust snapshot: cleanup after error
932 * Fix: Mismatching return type in ust_app_ht_alloc() stub
933 * Cleanup: lock file already taken is error, not warning
934 * Fix: ust-app null pointer check needed for main refactoring
935 * Cleanup: relayd: centralize thread stopping function
936 * Cleanup: Replace all perror() uses by the PERROR macro
937 * Refactor relayd main/set_options/cleanup
938 * Refactor consumerd main/cleanup
939 * Refactor sessiond main/cleanup/ht-cleanup
940 * Missing error handling: consumer_signal_init should return its error status
941 * Cleanup: consumerd: lines over 80 columns
942 * Cleanup: consumerd: use PERROR rather than perror
943 * Cleanup: lttng-consumerd: remove stale TODO comment
944 * Misleading error handling: utils_create_pid_file() should return 0 on success
945 * Missing error handling: consumerd parse_args should return errors to caller
946 * Missing error handling: ust_app_ht_alloc should return error status
947 * Fix: ust app leak on UST buffer creation error
948 * Fix: leak on UST buffer registry creation error
949 * Fix: agents ht leaks on destroy session
950 * Fix: add missing RCU read unlock
951 * Fix: help message for Python agent mentions Java
952 * Fix: don't destroy the sockets if the snapshot was successful
953 * Fix: Missing RCU read locks in syscall_list_channel()
954 * Fix: Missing RCU read lock in kernel_destroy_session()
955 * Fix: channel names are not validated
956 * Cleanup: Missing whitespace
957 * Fix: Apply consumer URI changes to all domains
958 * Cleanup: Fix a typo in the MI tests
959 * Test fix: Don't invoke the system's lttng client
960 * Tests: Add a test to check disabled events are loaded in the correct state
961 * Fix: Don't leave events enabled if they were saved in a disabled state
962 * Fix: "Any" loglevel's value is -1 and not 0
963 * Test fix: LTTNG_SESSION_CONFIG_XSD_PATH expects an absolute path
964 * Fix: Memory leak on error in alloc_argv_from_user_opts()
965 * Cleanup: Unchecked close() return value in utils_create_lock_file()
966 * Cleanup: No check of the return value of lttng_ht_del()
967 * Cleanup: Mixed enums used for return code in send_sessiond_channel()
968 * Cleanup: Cast poll() return value to void
969 * Fix: Unreachable error logging in set_option()
970 * Fix: OOM leaks in sessiond modprobe.c
971 * Cleanup: sessiond modprobe.c: coding style
972 * Cleanup: test_utils_expand_path.c prototypes
973 * Fix: test_utils_expand_path.c: out of memory error handling
974 * Fix: test test_ust_data.c: check OOM
975 * Fix: test libc-wrapper: check malloc OOM
976 * Cleanup: test libc-wrapper: main parameters
977 * Fix: lttng-ctl: use zmalloc(), missing OOM check
978 * Fix: filter-parser.y: use zmalloc(), missing OOM check
979 * Fix: utils.c: check str*dup OOM
980 * Cleanup: implement zmalloc as static inline
981 * Fix: rculfhash: use zmalloc()
982 * Fix: ini.c: use zmalloc()
983 * Fix: lttng lttng.c: check strdup OOM
984 * Fix: lttng conf.c: use zmalloc()
985 * Fix: lttng view.c missing strdup OOM check
986 * Fix: use zmalloc() in lttng view.c
987 * Fix: use zmalloc() in lttng list.c
988 * Fix: oom error check, realloc oom leak
989 * Fix: use zmalloc in lttng enable_events.c
990 * Fix: missing strdup oom check in lttng create.c
991 * Fix: lttng add_context.c: use zmalloc
992 * Cleanup: add missing static to function modprobe_remove_lttng()
993 * Fix: add missing str*dup oom check in sessiond main.c
994 * Fix: add missing sessiond kernel-consumer missing str*dup oom checks
995 * Fix: add missing strdup OOM check
996 * Fix: add missing synchronization point for before app test case
997 * Fix: tests: wait output hide Terminate errors
998 * Fix: tests: remove killall, add missing SIGTERM handlers
999 * Fix: high throughput test: reset bw limit on sigterm
1000 * Fix: tests: add missing wait, document missing synchro
1001 * Document test anti-patterns
1002 * Fix: test flaky sleep and wait patterns
1003 * Fix: tests: don't use pidof to wait for test apps
1004 * Fix: Live tracing does not honor live timer after first tracefile with tracefile rotation
1005 * Fix: Handle empty daemon configuration file lines
1006 * Docs: Add -f/--config option to lttng-sessiond man page
1007 * Cleanup: spaghetti function return path
1008 * Fix: relayd: unbalanced RCU read-side lock/unlock
1009 * Fix: relayd: unbalanced RCU read lock/unlock
1010 * Fix: lttng-relayd: unhandled out of memory error
1011 * Fix: relayd viewer stream: unhandled out of memory error
1012 * Build fix: Apps defining _LGPL_SOURCE must link to urcu-bp
1013 * Define _LGPL_SOURCE in test apps' tracepoint provider files
1014 * Define _LGPL_SOURCE in test applications
1015 * Fix: Missing rcu_read_lock in cmd_list_events()
1016 * Fix: Missing rcu_read_lock in list_lttng_agent_events()
1017 * Fix: Missing rcu_read_lock in cmd_list_channels()
1018 * Fix: Missing rcu_read_locks in cmd_list_domains()
1019 * Fix: Missing rcu_read_lock in cmd_snapshot_list_outputs()
1020 * Fix: Missing rcu_read_lock in save_domains()
1021 * Fix: Missing rcu_read_lock in ust_app_get_nb_stream()
1022 * Fix: UST subbuffers silently dropped on moderate trace traffic
1023 * Fix: Missing rcu_read_lock in get_session_max_subbuf_size()
1024 * Fix: create/destroy a splice_pipe per stream
1025 * Note find_ust_app_context must be called with RCU read lock
1026 * Fix: empty indexes_ht before destroying it.
1027 * Fix: removed useless key from relay_index
1028 * Fix: Ambiguous agent event filter bytecode ownership
1029 * Fix: filter bytecode and string memory leak on error
1030 * Fix: define _LGPL_SOURCE in C files
1031 * Fix: HT must not be destroyed with a rcu_read_lock held
1032 * Fix: agent events HT should be destroyed from the cleanup thread
1033 * Fix: missing rcu_read_lock in trace_ust_destroy_session()
1034 * Fix: missing rcu_read_lock when calling trace_ust_find_agent()
1035 * Fix: missing rcu_read_lock in cmd_start_trace()
1036 * Cleanup: remove "disabled" flag for new release cycle
1037 * Fix: filter attach vs event enable race
1038 * Fix: Mark libxml2 as a mandatory dependency
1039 * Fix: Warn the user when enabling an event in a new domain
1040 * Fix: Don't report an error when listing a session with no channels
1041 * Bypass 0 byte allocation when no domains are enabled
1042 * Fix: Add missing URCU_TLS access to error_log_time
1043 * Fix: check userspace perf counter name when looking up contexts
1044 * Update maintainer section of the man pages
1045 * Update maintainer section of README.md
1046 * Fix: add README.md to documentation files
1047 * Fix: UST consumer sync all available metadata
1048 * Test: remove bogus argument from prove invocation
1049 * Fix: typo in pythong test Makefile
1050 * Fix: memory leak in libconfig
1051 * Add Python agent support
1052 * Fix: return EINVAL if agent registration fails
1053 * Use lttng-modules ABI version ioctl
1054 * Fix: syscall list ioctl number conflict
1055 * Update master ChangeLog with 2.5.1 release
1056
b82b3032
DG
10572014-10-20 lttng-tools 2.6.0-rc1 (Harry Belafonte records Banana Boat Song)
1058 * Machine Interface added to lttng command line (--mi)
1059 * Java Log4j agent support (--log4j)
1060 * Kernel per syscall tracing
1061 * Multiple fixes.
1062
4d2abc62
DG
10632014-10-20 lttng-tools 2.5.1
1064 * Fix: handle sysconf possible negative returned value
1065 * Fix: channel deref. after NULL check in kernel consumer
1066 * Fix: check for kernel session metadata during init
1067 * Fix: incorrect cast in ust consumer assert
1068 * Fix: bad handling of incoming data in consumer thread
1069 * Fix: disable event for JUL domain
1070 * Fix: send disable ALL command code if event is *
1071 * Fix: make sure no index is in flight before using inactivity beacons
1072 * Fix: Parenthesize previous statement when adding conditions to a filter
1073 * Fix: parse_prob_opts return the actual success of the function
1074 * Fix: Man page typos
1075 * Fix: disable JUL event on destroy
1076 * Fix: unbalanced ustconsumer32_data.pid_mutex lock
1077
f9b10a52
DG
10782014-07-16 lttng-tools 2.5.0 (Take Your Poet to Work Day)
1079 * Fix: validate file path creds in autoload mode
1080 * Fix: change session file loading order
1081 * Fix: add Loading Sessions section to lttng-sessiond.8
1082 * Fix: add default session conf. dir to manpage
1083 * Fix: on session load, add it to the .lttngrc
1084 * Fix: clarify session conf. directory in man
1085 * Fix: filter error path could free invalid ptr
1086 * Fix: Create a lock file to prevent multiple session daemons
1087 * Fix: relayd stream set close_flag on stream close
1088 * Fix: ustctl_get_stream_id without UST support
1089 * Fix: avoid freeing invalid ptr in filter bytecode
1090 * Fix: get the stream_id when generating live beacons
1091 * Fix: use biggest subbuffer size for snapshot max-size
1092 * Fix: Possible memory leak when multiple config files are loaded
1093 * Fix: Clamp verbosity value read from config file
1094 * Fix: Unchecked strdup return values in set_option
1095
bf102181
DG
10962014-06-27 lttng-tools 2.5.0-rc2
1097 * Test: add JUL disable event tests
1098 * Fix: disable JUL event on UST side
1099 * Fix: accept override flag even without a load path
1100 * Fix: bad error code path when loading session
1101 * Fix: set session in output mode if URL are set afterwards
1102 * Fix: add a kernel context list to the channel
1103 * Fix: Add vpid, vppid and vtid info in add-context help
1104 * Fix: wrong behavior of save command when no session name is provided
1105 * Fix: missing context type string in save for ust context
1106 * Fix: wrong casting of return value
1107 * Fix: add dependency to libcommon for python binding
1108 * Fix: remove the default GIT_VERSION
1109
19d7cc50
DG
11102014-05-28 lttng-tools 2.5.0-rc1 (International Hamburger Day)
1111 * Save/load session feature
1112 * Daemon configuration file support
1113 * UST perf counter support with add-context
1114 * Kernel tracer probe user define list
1115 * Multiple fixes! The diff is just too big to put here.
1116
f9b10a52
DG
11172014-07-16 lttng-tools 2.4.2 (Take Your Poet to Work Day)
1118 * Fix: Create a lock file to prevent multiple session daemons
1119 * Fix: relayd stream set close_flag on stream close
1120 * Fix: ustctl_get_stream_id without UST support
1121 * Fix: get the stream_id when generating live beacons
1122 * Fix: missing include for getpwuid()
1123 * Fix: add a get HOME dir fallback to getpwuid
1124 * Fix: don't set enabled flag is session start fails
1125 * Fix: logger name dropped from filter condition when loglevels are used
1126 * Fix: memory leak in lttng_enable_event_with_exclusions
1127 * Fix: check malloc return value
1128 * Fix: static array larger than necessary
1129 * Fix: set session in output mode if URL are set afterwards
1130 * Fix: Add vpid, vppid and vtid info in add-context help
1131 * Fix: alignment problems on targets not supporting unaligned access.
1132 * Fix: possible use after free in consumer
1133 * Fix: improve and update lttng.h comments
1134 * Fix: JUL filtering for event *
1135 * Fix: deny overwrite mode and num subbuf less than 2
1136 * Fix: remove bad option in enable channel --help
1137 * Fix: implicit conversion from enumeration
1138 * Fix: clarify man page lttng.1
1139 * Fix: Copy-pasted PERROR messages may be misleading
1140 * Fix: incorrect printf format
1141 * Fix: handle ENOENT when creating a kernel event
1142 * Fix: move JUL filter creation to a function
1143 * Fix: JUL filtering done on the UST level
1144 * Fix: Don't include the binary in the live test's EXTRA_DIST
1145 * Fix: add JUL filter to UST event on logger_name
1146 * Fix: Racy event validation in tests
1147 * Fix: rework utils_parse_size_suffix
1148
f2154bf4
DG
11492014-04-08 lttng-tools 2.4.1 (OpenSSL heartbleed day)
1150 * Fix: don't delete stream from connection recv list
1151 * Fix: use after free of a relayd stream
1152 * Fix: don't print stream name in error message
1153 * Fix: take session list lock when listing tp
1154 * Fix: add consumer wake up pipe to avoid race
1155 * Fix: don't spawn relayd if URL is provided
1156 * Fix: don't ask data pending if session was not started
1157 * Fix: missing test file in EXTRA dist
1158 * Fix: allow empty URL for live session creation
1159 * Fix: missing valid return code when adding an URI to consumer
1160 * Fix: syntax error in lttng.1
1161 * Fix: check relayd fd leak in lttng cmdline
1162 * Fix: remove unused tp in high-throughput test
1163 * Use autoconf AM_MAINTAINER_MODE.
1164 * Fix: clang 'constant-out-of-range-compare' warning
1165 * Fix: Unchecked session pointer when destroying a connection in relayd
1166
7f63e090
DG
11672014-02-28 lttng-tools 2.4.0 (Public Sleeping Day)
1168 * Fix: improve lttng with live by spawning relayd
1169 * Fix: relayd should listen for viewers on localhost only by default
1170 * Fix: handle loglevel range ALL in list command
1171 * Tests: add JUL test for multiple loglevel
1172 * Fix: index JUL event by name *and* loglevel
1173 * Fix: JUL to enable user and root tracepoints
1174 * Fix: handle the registration done command for JUL
1175 * Test fix: use temp file sync. of test app
1176 * Fix: keep metadata channel attr in UST session
1177 * Tests fix: Missing waitpid in fork test
1178 * Fix: add loglevel type to lttng list <name>
1179 * Fix: minor rephrasing of the lttng.1 man page
1180 * Fix: Warn user if JUL port is already being used
1181 * Fix: add some sane default values to --live opt
1182 * Fix: possible NULL deref. in sessiond error path
1183 * Fix: flag that kernel streams FDs has been sent
1184 * Fix: forbid session name creation if contains /
1185 * Fix: don't start session if no channel
1186 * Fix: add missing relayd option to man page
1187 * Fix: report error if consumer can't be spawned
1188 * Fix: lttng list -u <name> should only list UST
1189 * Fix: kernel channel destroy on consumer if sent
1190 * Fix: only create UST metadata on start trace
1191 * Revert "Fix: wrong condition on startup for low-activity streams"
1192 * Fix: missing big endian conversion for one index field
1193 * Fix: wrong condition on startup for low-activity streams
1194 * Fix: perror on index directory creation error
1195 * Comments fix: lttngerr.h -> error.h (./Changelog:754)
1196 * Fix: consumerd errors on exit
1197 * Fix: scanf unbounded input
1198 * Fix: miscellaneous memory handling fixes
1199 * Fix: add missing VALGRIND ifdef checks and documentation
1200
1bc64886
DG
12012014-02-14 lttng-tools 2.4.0-rc5
1202 * Fix: steal channel key in the consumer to avoid race
1203 * Fix: change ERR statement to DBG in kernel read subbuffer
1204 * Fix: handle snapshot ENODATA in live timer
1205 * Fix: relayd leak on error in consumer splice()
1206 * Fix: protect close_write_flag with the rotation lock
1207 * Man: clarify loglevel for JUL domain
1208 * Fix: Define __STDC_LIMIT_MACROS to fix C++ builds
1209 * Fix: bad indentation of lttng list in man page
1210 * Fix: wrong data structure used in commit df41f83
1211 * Fix: add missing optional dependency to babeltrace in README
1212 * Fix: cleanup inconsistent use of spaces/tabs in README
1213 * Fix: only set the new_streams flag if a viewer is attached
1214 * Fix: lttng-live documentation
1215 * Fix: remove dead code in relayd live code
1216 * Fix: use after free error code path
1217 * Fix: wrong sizeof argument in live viewer create session
1218 * Fix: zero out the reply structure in viewer_connect
1219 * Fix: write index only if fd is valid
1220 * Fix: cleanup relayd on any I/O error in read subbuffer mmap
1221 * Fix: memory/fd leak when cleaning streams in channel
1222 * Fix: destroy streams in consumer del channel
1223 * Fix: add missing urcu wfqueue headers in relayd
1224 * Fix: in lttng_read/write deny count bigger than the possible returned value
1225 * Fix: fd leak when closing metadata stream
1226 * Fix: read subbuffer mmap/splice signedness issue
1227 * Doc: live protocol clarifications
1228 * Fix: remove unused create_viewer_session option
1229 * Fix: don't sleep(1) on the consumer ready flag
1230 * Fix: free viewer session in connection_free()
1231 * Fix: add missing ctf trace delete before destroy
1232 * Fix: don't delete ctf trace while in snapshot mode
1233 * Fix: add flag to create session command and fix tests
1234 * Fix: cleanup indef guards following the rename
1235 * Fix: merge issue with thread quit pipe
1236 * Fix: use uint32_t for metadata_flag in viewer's ABI
1237 * Fix: check for new streams in all attached sessions
1238 * Fix: Move static functions up in the code
1239 * Fix: allow attach command to multiple sessions
1240 * Fix: handle session hang up in get_new_streams
1241 * Fix: force the client to create a viewer session before attaching
1242 * Fix: Namespace lttng-viewer-abi
1243 * Fix: relayd connection object refactor
1244 * Fix: big relayd cleanup and refactor
1245 * Fix: code refactoring of viewer streams in relayd
1246 * Fix: handle new streams in live mode in relayd
1247 * Fix: notify the viewer if new streams got added
1248 * Fix: send the streams sent message after metadata
1249 * Add extern C to the health-check header
1250 * Fix: memory leak in unit test
1251 * Man: add JUL DOMAIN section to lttng.1
1252 * Fix: handle invalid URL passed to lttng_create_session_live
1253 * Fix: add --jul-tcp-port to sessiond man page
1254 * Fix: measure UST clock offset with best sample (v2)
1255 * Fix: remove free in unit test not needed anymore
1256 * Fix: relay create session for version before 2.4
1257 * Fix: memory leak when UST events are enabled with exclusions
1258
12592014-01-29 lttng-tools 2.4.0-rc4
1260 * Fix: add -b, --background option
1261 * health check tests: test relayd and consumerd
1262 * tests: Add stop_lttng_relayd_nocheck
1263 * Fix: add missing JUL loglevel handling
1264 * relayd: add testpoints
1265 * relayd: use same pipe for live and main
1266 * Cleanup relayd live comment
1267 * Fix: relayd: add LPOLLERR to events
1268 * Fix: relayd: notify parent of readiness when all threads ready
1269 * Fix: tests: start relayd in background mode (-b)
1270 * lttng-relayd: implement background cmd line option
1271 * sessiond: add missing testpoints
1272 * tests: use --background for session daemon
1273 * sessiond: add --background argument
1274 * Use lib common daemonize
1275 * Fix: sessiond: wait for health check readiness
1276 * Fix: relayd: initialize lttcomm inet
1277 * Consumer: add testpoints
1278 * Fix: consumerd: HT init/teardown with program
1279 * Cleanup: lttng-ctl-health comment
1280 * Add daemonize() to libcommon
1281 * Fix: tests: wait for consumerd to complete
1282 * Fix: consumerd: use DBG rather than DBG2
1283 * Fix: consumerd: only return readiness when health is ready
1284 * Fix: consumerd should initialize lttcomm
1285 * Fix health check: signal parent before exit testpoint
1286 * Test health: add test_thread_ok
1287 * health check: change --relayd-path arg to --relayd-path=arg
1288 * relayd: add LTTNG_RELAYD_HEALTH env var
1289 * Add sessiond/SESSIOND_ prefix to sessiond testpoints
1290 * Fix: zero out data structure before using it
1291 * Fix: delete metadata stream before destroying it
1292 * Fix: report to client when snapshot will be empty
1293
12942014-01-14 lttng-tools 2.4.0-rc3
1295 * Fix: metadata stream should be always flagged as ready
1296 * Fix: wrong check before destroying the viewer metadata stream
1297 * Fix: race with the viewer and readiness of streams
1298 * Fix: missing reset when listing UST fields for multiple PIDs
1299 * Fix: filter: check binary op nesting
1300 * Fix: relayd cmd line option for live port
1301 * Fix: remove break in epoll loop of apps. thread
1302 * Fix: wrong comment in snapshot public API
1303 * Fix: clear the CTF traces when all the streams are closed
1304
c9d04d79
DG
13052013-12-10 lttng-tools 2.4.0-rc2
1306 * Fix: close connection on incompatible version check
1307 * Fix: fields alignements in live protocol
1308 * Tests: add regression test for Java JUL support
1309 * Fix: possible use after free
1310 * Fix: remove unused code in session daemon
1311 * Fix: string format with unsigned value
1312 * Fix: remove useless assert
1313 * Fix: bad logical check of error codes
1314 * Fix: resource leak in enable-event command
1315 * Fix: unchecked return value in ust app delete
1316 * Fix: dereference after null check in UST registry
1317 * Fix: Resource leak in ust registry
1318 * Fix: backported from urcu commit 92af1a30
1319 * Tests: fix racy tests and misleading output messages
1320 * Tests: fix bad argument parsing in test app
1321 * Fix: remove assert on fd in the read/write layer
1322 * Fix: missing lock/unlock when sending index
1323 * Fix: update back the metadata len sent on failure
1324 * Fix: don't fail on push metadata if no channel
1325 * Rename LTTng index in CTF index
1326 * Fix: set the enable all event command type
1327 * Fix: implicit conversion of enum types in sessiond
1328 * Fix: implicit conversion of enum types in consumer
1329 * Fix: comparison of unsigned enum expression >= 0
1330 * Fix: comparison of unsigned value agains < 0
1331 * Fix: create a fast and a long UST snapshot test
1332 * Tests: fix racy UST snapshot post mortem test
1333 * Tests: remove useless sleep when spawning sessiond
1334 * Add travis-ci configuration file
1335 * Add libuuid as dependency in README
1336 * Tests: add valid test cases to test_utils_expand_path
1337 * Tests: add symlink tests for test_utils_expand_path
1338 * Fix: utils_expand_path now works for paths that ends with '/.' or '/..'
1339 * Fix: comment indentation
1340 * Add missing copyright to utils.c
1341 * Fix: use non block waitpid to lookup child state
1342
dd2c2a1b
DG
13432013-11-15 lttng-tools 2.4.0-rc1
1344 * Live streaming support
1345 * Health check support in consumer and relayd
1346 * Event exclusion support
1347 * Java Util Logging support
1348 * Multiple fixes! The diff is just too big to put here.
1349
1bc64886
DG
13502013-11-13 lttng-tools 2.3.1
1351 * Fix: typo in --sig-parent help
1352 * Fix: application SIGBUS when starting in parallel with sessiond
1353 * Fix: missing LTTNG_OK return value for snapshot
1354 * Fix: arguments in the wrong order for fd-limit
1355 * Fix: Some corrections to the lttng man page
1356 * Fix: recv creds comm should handle partial receive
1357 * Fix: set app socket timeout just after accept()
1358 * Fix typo in lttng snapshot add-output example of lttng(1)
1359
c9dc1289
DG
13602013-09-03 lttng-tools 2.3.0
1361 * Fix: remove periodical flush test from make check
1362
3e618c7a
DG
13632013-08-30 lttng-tools 2.3.0-rc3
1364 * Fix: hashtable: take split_count_order into account
1365 * Fix: remove wrong doing asserts in sessiond
1366 * Tests: fix periodical flush tests to stop app
1367 * Fix: correctly close metadata on sessiond thread shutdown
1368 * Fix: delete the trace directory used for the test
1369 * Fix: remove bad check after epoll wait in consumer
1370 * Fix: missing data pending signess conversion
1371 * Fix: consumer data pending for empty streams
1372 * Fix: hash table growth (for small tables) should be limited (v2)
1373 * Fix: run_as gid/uid test should return result to parent
1374 * Fix: missing check for metadata data pending
1375 * Tests: change buffers UID test to PID
1376 * Tests: fix health tests to use custom socket timeout
1377 * Fix: remove health test from fast regression
1378 * Use socket timeout value for tcp timeout if available
1379 * Fix: set the health delta tcp timeout aware
1380 * Get the maximum TCP timeout in sessiond
1381 * Fix: don't report error if UST app dies
1382 * Fix: support VPATH build for tests
1383 * Improve comments after review
1384 * Rename consumer socket fd to fd_ptr
1385 * Lock consumer data before fd check during destroy
1386 * Use single callsite for send/recv ops. for consumer in sessiond
1387 * Use consumer fd reference in consumer socket obj
1388 * Update bash completion
1389 * Add --list-commands option to the snapshot command
1390 * Reorder functions _lttng_cmd_* functions in bash completion
1391 * Use parse_size_suffix in snapshot
1392 * Fix: snapshot record error handling
1393 * Fix: improve error message when UST support is disabled
1394 * Fix: add missing short filter option in help
1395 * Fix: typo in configure.ac for version check
1396 * Fix: remove calibrate syscall option from code
1397 * Fix: snapshot should fail if no successful snapshot is taken
1398 * Fix: check UST float field mantissa length
1399 * Fix: add UST context in the same order the user enabled them
1400 * Introduce configure --with-lttng-system-rundir
1401 * Add .dirstamp to gitignore file
1402 * Fix: snapshot with multiple UIDs
1403 * Prepare for automake deprecation of missing subdir-objects
1404 * Fix: typos in --help and manpage
1405 * Fix: add-context without -c apply to all channels
1406 * Fix: channels can be _enabled_ after tracing is started, but not created
1407 * Fix filter parser segmentation fault with bison 3.0
1408 * Fix: typo in error msg
1409 * Fix: imprecise error message about root sessiond/tracing group
1410 * Fix: don't skip chmod if tracing group is not found
1411 * Tracepoint probes don't need extern C
1412 * Fix: Snapshot should be taken asap in core handler script
1413 * Fix: reset out_fd_offset when we rotate the trace file
1414 * Fix: LTTNG_ERR_NEED_ROOT_SESSIOND error message
1415 * inet/inet6 sockets: apply timeout
1416 * Implement timeout for connect ipv4/ipv6
1417 * Introduce LTTNG_NETWORK_SOCKET_TIMEOUT env. var
1418 * bash completion: add calls to _lttng_complete_sessions
1419 * bash completion: Fix copy-paste typo
1420 * Extras: Remove deprecated consumer commands in bash completion
1421 * bash completion: Remove underscores in handler function names
1422 * bash completion: Remove --event for add-context
1423 * Update gitignore
1424 * relayd: use version macros from build rather than scanf
1425 * sessiond: use version major/minor from build for communication with relayd
1426 * build: export major/minor/patchlevel numbers
1427 * Fix: Dead code when checking return value from (ust_app|kernel)_snapshot_record
1428 * Test: enable kernel events after start
1429 * Fix: kernel ctl error codes are based on errno
1430 * Fix: format string mismatch
1431 * test: test_periodical_metadata_flush shrink timer period, kill app
1432 * Fix: format string type mismatch
1433 * snapshot howto: update text
1434 * Add snapshot howto
1435
95f3c88c
MD
14362013-07-19 lttng-tools 2.3.0-rc2
1437 * Add core-handler README to dist tarball
1438 * extras: core-handler: simplify, allow usage from tracing group
1439 * Cleanup: add missing dot
1440 * Fix: documentation: create name and options
1441 * Add core dump snapshot handler script
1442 * Fix: sym name len (kernel)
1443 * Fix: tests: provide channel name when a non-default channel exists: per-pid
1444 * Fix: tests: provide channel name when a non-default channel exists
1445 * Fix: data pending race
1446 * Fix hang in make check snapshots/test_ust
1447 * Cleanup: ust-consumer: wrong indentation
1448 * Fix: print dots while waiting for data availability
1449 * Fix: remove sleep(1) added by "Fix: (slight UI change) refuse missing -c if non-default channel exists"
1450 * Fix: (slight UI change) refuse missing -c if non-default channel exists
1451 * Fix: push metadata on stop for per-UID buffers
1452 * README: update python documentation
1453 * Manpage: other layout cleanups
1454 * Manpage: cleanup layout of view
1455 * Manpage: cleanup layout of version
1456 * Manpage: cleanup layout of stop
1457 * Manpage: cleanup layout of start
1458 * Manpage: cleanup layout of snapshot
1459 * Manpage: cleanup layout of set-session
1460 * Manpage: cleanup layout of list
1461 * Manpage: cleanup layout of disable-event
1462 * Manpage: cleanup layout of disable-channel
1463 * Manpage: cleanup layout of enable-event
1464 * Manpage: cleanup layout of enable-channel
1465 * Manpage: cleanup layout of destroy
1466 * Manpage: cleanup layout of create
1467 * Manpage: cleanup layout of calibrate
1468 * Manpage: cleanup layout of add-context
1469 * Documentation: create --snapshot in manpage
1470
07ddb08c
MD
14712013-07-17 lttng-tools 2.3.0-rc1
1472 * Fix: add missing snapshot header to dist tarball
1473 * Documentation: fix thread quit pipe comment
1474 * Test for presence of bison and flex when building from git
1475 * Test UST snapshot with large metadata
1476 * Add test application with large metadata
1477 * Cleanup: remove redundant assignment
1478 * Fix: use per-uid buffer registry for UID buffer snapshots
1479 * cmd.c: fix typos in snapshot commands
1480 * Test snapshot per-uid post-mortem
1481 * Remove leftover fprintf
1482 * Fix deadlock: don't take channel lock in timer
1483 * Introduce channel timer lock
1484 * document lttng_ustconsumer_request_metadata locking constraints
1485 * consumer: remove unused lttng_ustconsumer_push_metadata
1486 * Document metadata_socket_lock nesting
1487 * lttng_ustconsumer_recv_metadata does not need all those locks
1488 * document metadata_switch_timer() deadlock
1489 * Fix: add missing metadata socket lock
1490 * document metadata_switch_timer() locking constraints
1491 * consumer: remove timeout for UST metadata
1492 * Introduce pipe for UST metadata cache and stream
1493 * consumer: replace DBG2() instances by DBG()
1494 * Introduce utils_create_pipe_cloexec_nonblock()
1495 * ust consumer: data_pending check is endpoint active
1496 * Fix: kernel consumer: data_pending check if endpoint active
1497 * consumer: explicitly set endpoint status to active at init
1498 * document consumer_metadata_cache_flushed use of consumer_data.lock
1499 * consumer: introduce channel lock
1500 * Merge branch 'master' of git://git.lttng.org/lttng-tools
1501 * Fix: update lttng snapshot help output
1502 * Man: fix part of snapshot documentation
1503 * Fix: set tracefile size test with PID buffers
1504 * Fix: Babelstats fail to parse output with no process name or pid
1505 * Missing NULL pointer init in tap.c
1506 * Fix: Unchecked asprintf/vasprintf return values
1507 * Add snapshots test to fast regression
1508 * Fix: kernel data unit test
1509 * Fix: snapshot returned valid LTTNG_ERR code
1510 * Add the number of snapshot taken to the output path
1511 * Fix: RCU read side lock unbalanced
1512 * Fix: zeroed snapshot output at init
1513 * Support del-output with an output name
1514 * Update man page with snapshot command
1515 * New UST default buffers is now per UID
1516 * Bump UST ABI major version for 2.3 release
1517 * Add snapshot mode to lttng list session
1518 * Fix: support temporary snapshot max size and name
1519 * Support snapshot max-size limitation
1520 * Tests: per-UID UST snapshot
1521 * Fix: snapshot support for UST and kernel in same session
1522 * Implement lttng create --snapshot command
1523 * Add create session snapshot API in lttng-sessiond
1524 * Add snapshot output init call that uses URIs
1525 * Fix: consumer err_sock cloexec
1526 * Callsite: add "ip" context
1527 * Fix: possible consumer sockets double close on cleanup
1528 * Automatically load kvm-x86 and kvm-x86-mmu probes.
1529 * Fix: consumer: use uint64_t for all sessiond_id
1530 * Fix: add gpl and lgpl files to tarball
1531 * Fix: don't install libtap system wide
1532 * Fix: close consumer sockets in sessiond cleanup
1533 * Fix: set globally visible flag to kernel stream
1534 * Fix: lttng: memory leak in snapshot record command
1535 * Fix: kernel-consumer: double-close
1536 * Fix: consumer: incorrect size zmalloc
1537 * Fix: don't try to send stream to relayd if not in streaming
1538 * Fix: relayd refcount updates for stream
1539 * Fix: don't send error to sessiond on orderly shutdown
1540 * Fix: bad pathname used when sending kernel stream to relayd
1541 * Fix: add globally visible flag in stream
1542 * Fix: destroy metadata stream on setup metadata error path
1543 * Fix: send kernel stream to relayd only if needed
1544 * Fix: destroy streams for kernel snapshot sessions as well
1545 * Fix: close and destroy metadata stream after a kernel snapshot
1546 * Fix: print errno message on connect() error
1547 * Fix: possible double-close on stream out_fd
1548 * Fix: session ID signess to uin64_t in sessiond
1549 * Tests: fix validation trace path in kernel snapshot
1550 * Tests: Add UST snapshot local and streaming
1551 * Add UST snapshot support
1552 * Fix: consumer_add_relayd_socket() report errors to sessiond
1553 * Fix: add missing enum lttcomm_return_code entries
1554 * Fix: UST per-UID channels persist across application teardown
1555 * Fix: kernel snapshot metadata handling and error paths
1556 * Fix: coding style and debug statement
1557 * Fix: put subbuffer back in kernel snapshot error path
1558 * Fix: overflow in uri_to_str_url
1559 * Fix: detect the correct version of LTTng-UST
1560 * Fix: sessiond: use uint64_t for all session ids
1561 * Tests: add kernel snapshot streaming to root regression
1562 * Tests: remove debug output from test
1563 * Tests: Add kernel snapshot streaming
1564 * Fix: use snapshot consumer output for kernel
1565 * Fix: periodical flush check trace before stop
1566 * Fix: consumer: 64-bit index for relayd rather than 32-bit (v2)
1567 * Fix UST channel/stream output assignation
1568 * Fix: send per-pid session id in channel creation
1569 * Fix: consumer double-close on error
1570 * Update URCU detection to correctly check for a 0.7 version
1571 * Fix: snapshot path
1572 * Add utils function to format current time as a string
1573 * Fix: set hidden attribute to utils_* calls
1574 * Fix: consumer handling of metadata for relayd
1575 * Add kernel snapshot support
1576 * Support flight recorder mode for a session
1577 * Implement snapshot commands in lttng-sessiond
1578 * Add snapshot command to lttng UI
1579 * Initial import of the snapshot ABI/API in lttng-ctl
1580 * Use the consumer stream API in consumer_del_stream()
1581 * Add consumer-stream.c/.h in libconsumer
1582 * Move multiple URLs parsing fct from lttng-ctl to uri.c
1583 * Add a lttng-ctl header to facilitate code separation
1584
8991668e
DG
15852013-06-25 lttng-tools 2.2.0 (National Catfish Day)
1586 * STABLE VERSION
1587 * Fix: if relayd is unreachable, disable consumer for the session
1588 * Fix: possible infinite loop in disable ust event
1589 * Fix: don't enable a channel if a session was already started
1590 * Fix: bad type for the relayd id
1591 * Fix: add debug statement in kernel flush metadata
1592 * Fix: destroy default created channel if add-context fails
1593 * Fix: clarify tracefile size/count in lttng.1 man
1594 * Fix: don't stop a session that was not previously started
1595 * Fix: update lttng.1 man page
1596 * Fix: bad protocol flow between sessiond and consumerd
1597 * Fix: kernel memory leak in error path
1598
92d019ba
DG
15992013-06-20 lttng-tools 2.2.0-rc3
1600 * Multiple memory and fd leak fixes in sessiond and consumerd
1601 * Test: stress test added to the repository but not in make check
1602 * Using LTTNG_HOME environment variable if exists, with fallback to HOME
1603 * Implement health check for app registration dispatch
1604 * Implement health check for app notification thread
1605 * Revert "Improve channel listing output format"
1606 * Fix: use lttng pipe to send new stream to thread
1607 * Change consumer_metadata_pipe to be a lttng_pipe
1608 * Change consumer_data_pipe to be a lttng_pipe
1609 * Add wrappers for pipe
1610 * Add --version command-line option to lttng.
1611 * Add --with-lttng-ust-prefix config option.
1612 * Fixes from coverity scan.
1613 * Stability fixes
1614 * RCU hash table are now destroyed in a seperate thread in sessiond
1615
afeab175
DG
16162013-05-09 lttng-tools 2.2.0-rc2
1617 * Fix: split UST per UID/PID default values
1618 * Fix: don't start the relayd with a wrong --output dir
1619 * Fix: Erroneous automatic session name when streaming
1620 * Fix: wrong data port when listing session's URI
1621 * Fix: don't create a channel on an enable channel
1622 * Tests: Add missing test_utils_parse_size_suffix to unit tests
1623 * Fix: print lttng strerror on enable event with filter
1624 * Fix: change relayd protocol version to 2.2
1625 * Fix: reset current size for tracefile rotation
1626 * Fix: remove extra -I for python bindings
1627 * lttng UI: round up trace file size to subbuf size if needed
1628 * Fix lttng UI: fix arg parsing, round size to next power of two
1629 * Fix: check errors in lttng command argument values
1630 * Implement get_count_order in lttng utils
1631 * lttng cli: Accept human readable sizes for --subbuf-size
1632 * Unit tests: don't rebuild units under test
1633 * Fix: consumerd metadata channel/cache/timer races
1634 * Fix: consumerd channel destroy race
1635 * Cleanup: document RCU read-side lock better
1636 * consumer relayd interaction: fix segfaults
1637 * Fix: change order of fd get to fix error path
1638 * Fix: fd leak when creating UST metadata channel
1639 * Fix: fd leak on error
1640 * Fix consumerd fd leak
1641 * Fix RCU-related hangs: incorrect lttng_ht_destroy use
1642 * rculfhash: check for callers from RCU read-side C.S.
1643 * Fix: don't call hash table destroy under rcu read-side c.s.
1644 * Documentation: import updated comments from urcu
1645 * Fix: segfault in buffer_reg_channel_destroy()
1646 * Fix: add missing goto error in UST consumer
1647 * Fix: no need to use run_as_open in the relayd
1648 * Fix: typo in enable-channel man and help
1649 * Fix: add some missing hidden attribute
1650 * Fix: per-uid buffers should only be flushed once on stop
1651 * Cleanup: Use own mutex within timer setup/teardown
1652 * Fix: channel management thread should hold a refcount
1653 * Fix: move metadata cache setup before ownership passing
1654 * Fix: consumer metadata switch timer error handling
1655 * Fix: set ptr to NULL to suppress old gcc warnings
1656 * Fix: linking order of libraries
1657 * Fix: multiple type mismatch in debug statement
1658 * Fix: remove mention of trace directory layout in quickstart doc
1659 * Fix: remove unused path variables from session obj
1660 * Fix: update lttng.1 man and enable-channel help with read timer size
1661 * Fix: use channel per domain default values
1662 * Fix: typos in the code base
1663 * Fix: deny multiple event types with enable-event
1664 * Fix: deny the same port for data and control URL
1665 * Fix: reset consumer destination when changing URIs
1666 * Fix: don't allow different control and data destination
1667 * Fix: typos in error strings
1668 * Improve channel listing output format
1669 * Fix: enable-channel accepts mismatched option
1670 * Fix: validate buffer type for UST channel creation
1671
500c2393
DG
16722013-03-28 lttng-tools 2.2.0-rc1
1673 * Add UST per UID buffers support
1674 * UST metadata generation are created on the sessiond side
1675 * Move LTTng-UST buffer ownership from application to consumer
1676 * Add a UST registry of events and channel in the sessiond
1677 * UST periodical metadata flush
1678 * Refactor tests to use prove and tap
1679 * Support for trace file rotation for the relayd and on disk
1680 * Support per-context filtering
1681 * Add channel wakeup fd to monitor close
1682 * Deprecate enable/disable-consumer
1683 * Multiple fixes and memory leak fix.
1684
917f7685
DG
16852012-12-20 lttng-tools 2.1.0 (13th Baktun)
1686 * STABLE VERSION 2.1.0-stable - "Basse Messe"
1687 * Multiple minor fixes
1688 * Multiple memory and fd leaks
1689 * Fix: Off by one in seq num for data pending command
1690 * Fix: flag metadata stream on quiescent control cmd
1691 * Fix: prioritize control socket communication in relayd
1692 * Fix: poll and epoll fd set reallocation
1693 * Fix: add missing goto pending if data is inflight
1694 * Fix: remove ua_sess->started assert on stop trace
1695 * Set classes of traffic in high_throughput_limit
1696 * Fix: use the poll wait ret value when iterating on fd(s)
1697 * Fix: force the poll() return value to be nb_fd
1698 * Fix: Wrong check of node when cleaning up ht
1699 * Fix: set started flag of ust app after ustctl
1700 * Fix: memory leak in add relayd socket error path
1701 * Fix: add packed attribute to filter structure
1702 * Fix: Add missing health code update for consumer command
1703 * Add LTTNG_PACKED macro
1704 * Fix data pending for inflight streaming
1705 * Map session id of relayd and sessiond in consumer
1706 * Add the relayd create session command
1707 * Make the consumer sends a ACK after each command
1708 * Remove MSG_WAITALL on every recvmsg() socket typ
1709 * Fix: Add missing relayd ht cleanup and ht destroy
1710 * Fix: Relayd and sessiond version check
1711 * Fix: protect consumer_find_channel with rcu locking
1712 * Fix: don't steal key when adding a metadata stream
1713 * Consumer hold stream mutex for add stream
1714
48459ee6
DG
17152012-12-03 lttng-tools 2.1.0-rc9
1716 * Fix: set the stream ht static in consumer file
1717 * Update sessiond man page with new env var
1718 * Update lttng.1 man page
1719 * Fix: enable-consumer for all domains missing dir
1720 * Fix: Add missing fct prototypes when disabling UST
1721 * Fix a typo in lttng-probe-module name
1722 * Assign values to enum lttcomm_sessiond_command
1723 * Fix: run health test only if root
1724 * Clarify empty string/NULL filter errors
1725 * Fix: add missing padding for UST filter
1726
2ad3a9a0
DG
17272012-11-22 lttng-tools 2.1.0-rc8
1728 * Fix: Uninit. variable in lttng view
1729 * Add already enabled UST event error code
1730 * lttng.h API update: set filter becomes enable event with filter
1731 * Change the UST event hash table match function
1732 * Pass lttng_event struct to the set_filter API call
1733 * Adding context to an event is no longer possible
1734 * Add UST overlap tests
1735 * Add filter sequence number to UST
1736 * Fix: Typo from a previous patch in an assert()
1737 * Fix: Warn if session is running with lttng view
1738 * Fix: Add bash requirement to README for make check
1739 * Fix: add the notion of domain to lttng.1 man page
1740 * Enable additional kernel probes
1741 * Update CodingStyle
1742 * Use the new functions for default subbuf sizes
1743 * Add default subbuf sizes getter functions
1744 * Add max() and min() macro in common
1745
8802e4bd
DG
17462012-11-13 lttng-tools 2.1.0-rc7
1747 * Fix: Add pointer check when freeing poll events
1748 * Fix: FD leak on thread error
1749 * Fix: Wrong fd used by kernel_wait_quiescent
1750 * Support new lttng-ust error code
1751 * Fix: Don't set filter if enable event fails
1752 * Fix: Wrong data port when listing session
1753 * Fix: Enable event after start command
1754 * Fix: Teardown of thread_manage_clients on failure of listen/create_poll
1755 * Add a timeout to UST application socket
1756 * Fix: Consumerd error socket connect race
1757 * Fix: Set CLOEXEC flag on every created sockets
1758 * Remove consumer poll timeout in data thread
1759 * Fix: RCU hash table seed
1760 * Fix: Do not install health tests helper libraries
1761 * Fix: Create default channel on add-context if none
1762 * Support new liblttng-ust-ctl error code
1763 * Fix: Add EPIPE error handling on buffer splice
1764 * Fix: Channel creation error return code was not set
1765 * Fix: Wrong poll events on UST application socket
1766 * Fix: Remove dependency to urcu-cds in tools tests
1767 * Fix: Missing librt dependency in configure check for lttng-ust-ctl
1768 * Fix: Don't append datetime to default session name
1769 * Fix: Deny session creation name 'auto'
1770 * Fix: Add space for stream name CPU number
1771 * Fix: Add output option to enable-channel command
1772
241aaca9
DG
17732012-11-02 lttng-tools 2.1.0-rc6
1774 * Tests: Add filtering tests for uncovered cases
1775 * Fix: Sync issue when deleting a data stream
1776 * Rename data_available to data_pending
1777 * Fix: consumer health state
1778 * Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0
1779 * Fix: Bad return error code handling
1780 * Fix: Use after free() of the rundir string
1781 * Fix: Cleanup UST app session on ustctl create session error
1782 * Fix: add missing pthread_join in sessiond
1783 * Fix: free running directory string
1784 * Fix: UST app clean list node usage
1785 * Add liblttng-ctl destructor to cleanup memory
1786 * Fix: Cleanup URIs on teardown
1787 * Fix: relayd memleaks
1788 * Fix: Memory leaks of allocated URIs
1789 * Fix: consumer output memory leak on creation
1790 * Fix: missing addrlen initialization before accept(2)
1791 * Fix: relayd trace file padding memleak
1792 * Fix: Remove useless consumer subdir string concatenation
1793 * Fix: lttng create allocated path memleak
1794 * Fix: Cppcheck memleakOnRealloc mistake
1795 * Fix: Synchronization issue for data available command
1796 * Fix: consumer relayd cleanup on disconnect
1797 * Fix: Handle the unary bitwise negation operator (~) in the XML printer
1798 * Fix: Possible memory leaks when creating filter IR root node
1799 * Fix: Delete stream on write error in consumer
1800 * Fix: Error handling when sending relayd sockets to consumer
1801 * Add stream lock comment for nesting
1802 * Fix: Mutex and RCU lock nesting in consumer
1803 * Fix: Uninitialized ret code
1804 * Fix: Remove bad condition and fix overflow issue
1805 * Fix: consumerd pthread error flow
1806 * Fix: Set a single return point and mutex unlock
1807 * Fix: Remove useless NULL and zero assignment
1808 * Fix: segfault on create session with two URLs
1809
d1980281
DG
18102012-10-22 lttng-tools 2.1.0-rc5
1811 * Fix: Remove network stream ID ABI calls
1812 * Tests: Add filtering tests
1813 * Wait for data availability when stopping a session
1814 * Relayd data available command support
1815 * Lib lttng-ctl data available command support
1816 * Consumer daemon data available command support
1817 * Add data structure for the data available command
1818 * Change the metadata hash table node
1819 * Make stream hash tables global to the consumer
1820 * Move add data stream to the data thread
1821 * Rename consumer threads and spawn them in daemon
1822 * Fix: relayd close stream command was not working
1823 * Fix: Relayd and consumerd socket leaks
1824 * Fix: Missing -ENODATA handling in the consumer
1825 * Fix: Empty metadata buffer(s) on HUP|ERR
1826 * ABI with support for compat 32/64 bits
1827 * Fix: Stream allocation and insertion consistency
1828 * Fix: output number of bytes written by relayd
1829 * Add hash table argument to helper functions
1830 * Fix: Add missing call rcu and read side lock
1831 * Tests: Fix LD_PRELOAD library lookup path for health tests
1832 * Fix: Add arbitrary wait period for kernel streaming test
1833 * Fix coding style and add/change debug statements
1834 * Fix: Build out of src tree
1835 * Tests: Add health check tests to configure
1836 * Tests: Add health check thread stall test
1837 * Tests: Add health check thread exit test
1838 * Tests: Add a health check utility program
1839 * Add testpoints in lttng-sessiond for each threads
1840 * New testpoint mechanism to instrument binaries for testing
1841 * Fix: off-by-one in comm proto between lttng-ctl and sessiond
1842 * Fix: Metadata stream leak when received in consumer
1843 * Fix: consumer_allocate_stream error handling
1844 * Fix: consumer should await for initial streams
1845 * Fix: Missing rcu read side lock in consumer
1846
529f6ac2
DG
18472012-09-26 lttng-tools 2.1.0-rc4
1848 * Fix: Change sempahore to pthread conditions
1849 * Fix: relayd relay_send_version: handle sscanf return code
1850 * Fix relayd: NULL ptr deref
1851 * Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak
1852 * Tests: add print bytecode to filter grammar test
1853 * Cleanup: assign values to bytecode opcodes
1854 * Fix: Filter: Fix allocation length error
1855 * Fix: Filter: add missing ast free
1856 * Tests: Add high throughput with bandwidth limits test
1857 * Fix: Returned code when listing kernel channel
1858 * Tests: Rename helper functions to have consistent names
1859 * Tests: Cleanup redundant code and use printing helper functions
1860 * Tests: Add helper functions for printing status and banner
1861 * Tests: Add a check for color support when printing status
1862 * Fix: Lib lttng-ctl on error returns lttng code
1863 * Fix: lttng_set_event_filter() was returning bad error code
1864 * Fix: printing [no write] on lttng list -uf
1865 * Fix: Disable event on filter error with lttng
1866 * Fix: Wrong returned error code on UST enable event
1867 * Add consumer commands to lttng.1 man page
1868 * Add lttng_health_check(3) man page
1869 * Fix: Remove LPOLLNVAL from consumer metadata revents
1870 * Fix: Mismatch of field name between ust and tools
1871 * Add the written value when listing fields
1872 * Fix: Consumer return value check after mmap/splice
1873 * Don't send the subbuffer padding for streaming
1874 * Fix: Returned error code in consumer on read buffer
1875
d3e6246f
DG
18762012-09-12 lttng-tools 2.1.0-rc3
1877 * Fix: Relayd fix ret value when adding a connection
1878 * Add new thread in consumer for metadata handling
1879 * Fix: consumer recv command error path
1880 * Fix filter: fix recent regressions
1881 * Update lttng-ust-abi.h from upstream lttng-ust
1882 * Fix: Accept bytecode of length 65536 bytes
1883 * Fix: Generation of bytecode longer than 32768 bytes fails
1884 * Fix: Filter bytecode alloc buffer size must be a power of 2
1885 * Add lttng-ctl SWIG python bindings
1886 * Add C++ support to API header files
1887 * Librarify filter in liblttng-ctl and hide symbols
1888 * Set hidden visibility for calls used in lttng-ctl
1889 * Notify the user if a filter is already enabled
1890 * Install lttng-error.h and include it in lttng.h
1891 * Add lttng-error.h containing every API err. code
1892 * Fix: missing hostname context
1893
5556277c
DG
18942012-08-22 lttng-tools 2.1.0-rc2
1895 * Fix: put back 2.0 output text for lttng create cmd
1896 * Fix: remove set subdir call that uses bad ptr
1897 * Filter: Handle the unary bitwise not operator (~) with an unsupported
1898 * Fix: missing mutex unlock on register consumer err
1899 * Remove underscore from ifndef of lttng.h
1900 * Remove unused define in lttng.h
1901 * Standardize lttng command line usage text
1902 * Merge duplicate code in consumer for destroy relayd
1903 * Merge duplicate code in consumer for add relayd
1904 * Fix: Possible buffer overflows in strncat() usage
1905 * Move code out of main.c and fix some issues
1906
68264071
DG
19072012-08-17 lttng-tools 2.1.0-rc1
1908 * Feature: Network Streaming
1909 * Add the lttng-relayd binary for network streaming
1910 * Support user space tracer filtering
1911 * Multiple fixes
1912
e371dbd9
DG
19132012-04-19 lttng-tools 2.0.1
1914 * Fix: test script for kernel module validation
1915 * Fix: report error to client on consumerd error
1916 * Fix: add missing ht_destroy at consumer teardown
1917 * Fix: consumer fd recv thread should write into non-blocking pipe
1918 * Fix: work-around glibc __nptl_setxid vs clone hang
1919 * Fix: consumer fd recv poll should be sensitive to POLLPRI too
1920 * Fix consumer lttng_consumer_poll_socket poll revents check bug
1921 * Fix: increase consumer open files limit
1922 * Update README: document dep on modprobe for kernel tracing
1923 * Fix: wait for sessiond to stop in tests
1924 * Fix: remove unused return variable
1925 * Don't report back error on syscalls fail for -a -k
1926 * Fix: destroy context hash table being NULL
1927 * Fix: make lttng expand path for trace output opt
1928 * Fix: return value signedness
1929 * Fix: man page environment variable name error
1930 * Fix: check return value on getenv USER
1931
0e4cbe7e
DG
19322012-03-20 lttng-tools 2.0.0
1933 * Fist STABLE version
1934 * Add version name: Annedd'ale
1935
c6d4a597
DG
19362012-03-20 lttng-tools 2.0.0-rc4
1937 * Fix: add small detail to enable-channel man page
1938 * Fix: warned of arbitrary time for ust-nprocesses test
1939 * Fix. add limitation to man page
1940 * Fix: minor changes to lttng.1
1941 * Fix: add exit values to lttng.1 man page
1942 * Fix: add delay before validating apps in test nproc
1943 * Fix: error handling in lttng enable-event
1944 * Fix: document structure init. to 0 in lttng.h
1945 * Fix: uninitialized variable
1946 * Keep track of FD used for UST applications (v2)
1947 * Fix: lttng view, error message and exit code
1948 * Small fixes to lttng man pages (v2)
1949 * Fix: handle EINTR for sendmsg syscall
1950 * Fix: lttng UI exit value and error message
1951 * Fix: session lock use after free
1952 * Fix kernel_list_events memleaks
1953 * Fix debug message use uninitialized variable
1954 * Fix: trace_ust_destroy_metadata should check for NULL pointer
1955 * Fix: various memleaks
1956 * Fix: hash table allocation out of order on error
1957 * fix: lttng_ht_destroy memleak
1958
b495b935
DG
19592012-03-16 lttng-tools 2.0.0-rc3
1960 * Fix: missing headers for make dist
1961 * Fix: install lttng-consumerd in lib/lttng/libexec/
1962 * Fix: Redefine MAP_STACK to 0 if not defined by the architecture
1963 * Fix: consumer CPU hotplug support
1964 * Fix: double PID registration race
1965 * Make libcompat independent not to confuse automake
1966 * Clarify the license of lttng-ust-abi.h
1967 * Fix: License header
1968 * Fix: wrong return value on consumer socket creation
1969 * Fix: test for UST invalid channel parameters at channel creation
1970 * Fix: recvmsg should handle EINTR
1971 * Fix: error.h non-static variables for liblttng-ctl
1972 * Fix: missing _GNU_SOURCE define
1973 * Fix: improve need root for kernel tracing error message
1974 * Fix: start/stop lttng message error
1975
fc0c6bfb
MD
19762012-03-02 lttng-tools 2.0.0-rc2
1977 * Fix: meaningful error message
1978 * Fix: UST consumer need to iterate on streams, just change their key
1979 * Fix: add missing rcu read lock across RCU HT iteration
1980 * Fix: kernel session closes fd 0 after create
1981 * Fix: sendmsg EPIPE should be quiet by default (expected)
1982 * Fix: thread_registration_apps should set its local sock to -1 when passing it
1983 * Fix: clock -> sock typo
1984 * Fix: consumer race: should allow reuse of FD key
1985 * Fix: Use PERROR all across lttng-tools, never make it quiet
1986 * Fix: test all close return values in sessiond
1987 * Fix: All perror turned into PERROR to show file and line number
1988 * Fix: large audit of close() use in sessiond main.c
1989 * Fix: main.c client/apps sockets and kernel_trace_fd close(0)
1990 * Fix: incorrect close of fd 0 for syscall kernel event destroy
1991 * Fix: sessiond has incorrect missing 0 value in FD check
1992 * Fix: sessiond app listening: use posix-compliant poll flags
1993 * Fix: consumer printf type should match ssize_t (%zd)
1994 * Fix: make ust consumer posix compliant for poll flags
1995 * Fix security permission on lttng run directory
1996 * Fix: Display right loglevel_type in error message
1997 * Fix documentation in lttng.h
1998 * Fix: lttng UST and kernel consumer: fix ret vs errno mixup
1999 * Fix: restart consumerd and sessiond when interrupted in poll()
2000 * Fix: handling bad channel when sending to consumer
2001 * Fix useless variable
2002 * Fix add-context returned error
2003 * fix: add missing break in command handling
2004 * fix: command handling: do not check domain for commands not requiring domain
2005 * fix: if tracing group does not exist, do not report a client error
2006 * Fix: run_as error handling
2007 * Fix usage note on -a
2008 * Revert FreeBSD compatibility layer
2009 * Fix: documented number of subbuffers is incorrect
2010 * Document that num-subbuf and subbuf-size need to be power of 2
2011 * Merge branch 'master' of git://git.lttng.org/lttng-tools
2012
edad7953
DG
20132012-02-20 lttng-tools 2.0.0-rc1
2014 * Fix lttcomm_close_unix_sock to actually close the socket
2015 * lttng-sessiond: Set group permissions explicitly
2016
68c1b383
DG
20172012-02-16 lttng-tools 2.0-pre23
2018 * configure.ac: Fix consumerd64-libdir typo
2019 * Fix existing session daemon check
2020 * Fix missing session locks
2021 * Fix return value on ust app session create
2022 * Fix double start/stop trace
2023 * Fix ust app session started state on start trace
2024 * modprobe statedump, signal and timer lttng module
2025 * Fix hyphens in man pages
2026
76ab874e
DG
20272012-02-14 lttng-tools 2.0-pre22
2028 * Add the bash-completion file to the dist tarball
2029 * Add the LICENSE file too
2030 * Package used for the Ubuntu LTS (feature freeze)
2031
83aac6e3
DG
20322012-02-13 lttng-tools 2.0-pre21
2033 * Fix licensing for hashtable/utils.c
2034 * Print loglevel value in list -u
2035 * Remove "<all> from MSG() when no loglevel is selected
2036 * Initial import of man lttng.1 and lttng-sessiond.8
2037 * Fix memory leak master
2038
09e765bf 20392012-02-09 lttng-tools 2.0-pre20
c54722d0
DG
2040 * New lttng view command
2041 * Multiple loglevel fixes
2042 * Fix list command
2043 * Fix session syscall listing
2044 * Multiple fixes across the code base
2045
87db5b86
DG
20462012-02-02 lttng-tools 2.0-pre19
2047 * Update lttng ust ABI/API copy
2048 * Implement UST calibrate and change default
2049 * Add MSG_WAITALL to recvmsg of sessiond-comm
2050 * Check kernel version for tests
2051 * Add a '--list-options' option to each command.
2052 * First import of extras/ with lttng bash completion
2053 * Remove default defines from lttng.h
2054 * Fix lttng sessiond spawn wait race
2055 * Add CMD_WARNING error code
2056 * Fix context mapping for UST and kernel
2057 * Add kernel work-around for boot_id
2058 * Rewrites lttng-ctl's set_session_daemon_path
2059 * Fix memory lean in all lttng cli commands
2060 * Update loglevel ABI
2061 * Add padding to all ABIs for future development.
2062 * Improve error handling of lttng cli
2063 * Multiple fixes across the code base (nothing critical)
2064
3edea7d5
DG
20652012-01-23 lttng-tools 2.0-pre18
2066 * Complete change of the source directory tree
2067 * Move compat to common and create an internal lib
2068 * Rename lttngerr.h to error.h
2069 * Add kernel module version validation
2070 * Add UST version validation
2071 * Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond
2072 * Fix off-by-one and double list size instead of steady increment
2073
734f79bf
DG
20742012-01-19 lttng-tools 2.0-pre17
2075 * Add and support the new hash table library
2076 * Add lttng hash table support to liblttng-consumer
2077 * RCU support for consumer's hash tables
2078 * UST consumer close shm fd after mapping it
2079 * Remove CLONE_VM flag for runas making gdb debugging impossible
2080 * Make MSG() print on stdout instead of stderr
2081 * Don't init kernel tracer if not root (UID=0)
2082 * Multiple fixes found when reaching max. number of open files
2083 * Add some UST tests
2084 * Multiple segfaults and assert error fixed
2085
032b4c39
DG
20862011-12-23 lttng-tools 2.0-pre16
2087 * Per-user lttng-sessiond now fully functionnal
2088 * Fix nested double usage of hashtable iterators
2089 * Support creds passing between lttng and sessiond
2090 * Rename sessiond internal "uid" fields to "id"
2091 * Create all trace directories and files with client user credentials
2092 * Create output directory at session creation command
2093 * Only allow the user or group owning the session (or root) to control a session
2094 * Add disable kernel tracing option to sessiond
2095
31ff12ff
DG
20962011-12-13 lttng-tools 2.0-pre15
2097 * (MAJOR) User-space tracing support for global domain (lttng-ust 2.0)
2098 * UST consumer 32/64 bit support
2099 * Multiple bug fixes
2100 * Multiple segfault, race and double lock fixes
2101 * API change for lttng_list_domains, lttng_start/stop and lttng_destroy
2102 * UST loglevel support
2103 * ABIs now support 256 char event names
2104 * Dependency on libpopt >= 1.13
2105 * Dependency on URCU >= 0.6.7
2106 * Rename kernel-ctl.c/.h to kernel.c/.h
2107 * Change malloc to zmalloc in lttng-sessiond code
2108 * RCU hashtable support for all UST data structure
2109 * New libconsumer for UST, kernel and one generic
2110 * Change "--all" option from lttng command line
2111 * Remove function entry option to discourage its use
2112
ab7f4103
MD
21132011-09-30 lttng-tools 2.0-pre14
2114 * Syscall tracing support
2115 * Multiple bug fixes (nothing critical)
2116 * Add userspace RCU hash table to tree for dev
2117 * Update UST ABI
2118 * Fix epoll that did not handle EINTR
2119 * Liburcu >= 0.6.5 is needed from this release
2120 * Enabling all events also enable syscall tracing
2121 * Debug messages are now on stderr
2122 * Add basic data structure for UST support but not ready yet.
2123
775182fa
DG
21242011-08-25 lttng-tools 2.0-pre13
2125 * Memory leaks fixes and double lock list
2126 * Add UST registration with sychronisation
2127 * Use poll/epoll compatibility layer for the sessiond
2128 * Major code cleanup of ltt-sessiond/main.c
2129 * Increase listen() connexion limit
2130 * Fix bad enable-channel command
2131 * Rename trace.c/.h to trace-kernel
2132 * Multiple fixes on the poll management with the new epoll API
2133
d6fa0093
DG
21342011-08-25 lttng-tools 2.0-pre12
2135 * Multiple fixes
2136 * Fix kconsumerd handling custom channel output
2137 * Add lttng_register_consumer to register a custom consumer
2138 * Add multiples tests of the session daemon
2139 * Default kernel channel size/number changed
2140 * Support for UST application registration
2141 * Import LTTng UST 2.0 ABI
2142 * Send data to kconsumerd before tracing start
2143 * Export API of lib kernel consumer (liblttngkconsumerd)
2144
3df9eaf3
DG
21452011-08-12 lttng-tools 2.0-pre11
2146 * New lttng API using the lttng_handle
2147 * Multiple fixes of kernel consumer
2148 * Register the consuming function and add a library context
2149 * Kernel consumer fix mmap/munmap
2150 * lttng-sessiond-comm header has been privatize
2151 * Kernel traces are written in the kernel/ directory
2152 * Add underscore to enable-channel command options
2153
f88b0a98
DG
21542011-07-29 lttng-tools 2.0-pre6
2155 * Fix enable multiple events
2156 * Add function entry feature
2157
21582011-07-28 lttng-tools 2.0-pre5
52ffda46
DG
2159 * Fix Add context command
2160 * Fix auto session path creation
2161 * Fix bad strncmp at channel creation
2162
5e96e15d
DG
21632011-07-23 lttng-tools 2.0-pre4
2164 * Fix kprobe attributes
2165 * Fix channel creation when not found at event enable
2166 * Add safe list iteration
2167 * Add two tests into the git tree
2168 * Kernel consumer can be put in debug mode with -vv
2169 * Trace path is now created on the client side
2170
00df03c6
DG
21712011-07-23 lttng-tools 2.0-pre3
2172 * Fix perf hw cache counter config values
2173
de235b67
DG
21742011-07-22 lttng-tools 2.0-pre2
2175 * Multiple fixes
2176 * New add-context options for perf counter and context
2177 * Using the install bin path from autotool for execl() call
2178 * Update quickstart guide
2179
223be86b
DG
21802011-07-20 lttng-tools 2.0-pre1
2181 * First prerelease of lttng-tools.
2182 * Working with the LTTng v2.0-pre1 modules and Babeltrace v0.1
This page took 0.15631 seconds and 4 git commands to generate.