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