Update version to v2.6.3
[lttng-tools.git] / ChangeLog
CommitLineData
2355733e
JG
12016-05-20 lttng-tools 2.6.3 (Bike-to-Work Day)
2 * Fix: use start and stop sessiond from utils.sh
3 * Fix: Missing semicolon after debug statement
4 * Clarify kernel version check error messages
5 * Docs: fix "daemon" typo in README.md
6 * Fix: do not return error on LTTNG_ERR_SNAPSHOT_NODATA
7 * Fix: Set loopback adress in set_ip_addr if gethostbyname2 fails
8 * Fix: load event state (enabled/disabled) correctly
9 * Fix: only perform lttng_consumer_sync_trace_file() in local mode
10 * Fix: don't negate posix_fadvise return value to check error
11 * Rename lttng_error_type to lttng_error_level
12 * Cleanup error.h __lttng_print() used for message printing
13 * Update coding style document for macro style
14 * Fix: coding style document has erroneous semicolon at end of macro
15 * Fix: Use get_domain_str on add context
16 * Tests: inverted condition in test_kernel_data
17 * Fix: ust-consumer: flush empty packets on snapshot channel
18 * Fix: WARN() should print as WARN level, not ERR
19 * Fix: error.h: add missing parenthesis around macro parameter
20 * Fix: bogus mask on error.h PRINT types
21 * Fix: kernel tracing: flush after stop
22 * Fix: UST should not generate packet at destroy after stop
23 * Fix: bad file descriptors on close after rotation error
24 * Fix: posix_fadvise wrapper returns -ENOSYS on FreeBSD
25 * Fix: Double free in utils_partial_realpath error path
26 * Fix: remove logically dead code in send_channel_uid_to_ust
27 * Fix: unchecked return value in low throughput test
28 * Fix: unchecked posix_fadvise() return value
29 * Fix: unchecked return value in relayd live.c
30 * Fix: unchecked return value in trace_clock_read64_monotonic
31 * Fix: initialize the cur_event variable before using it
32 * Fix: NULL pointer dereference in relay_index_get_by_id_or_create
33 * Fix: Integer overflowed argument
34 * Fix: macro compares unsigned to 0 (no effect)
35 * Fix: Free variable before strdup() in process_event_node
36 * Fix: Free variables before strdup()
37 * Fix: Add missing free() in spawn_viewer
38 * Fix: Add missing free() in utils_partial_realpath
39 * Fix: illegal memory access in test_create_kernel_event
40 * Fix: illegal memory access in send_viewer_streams
41 * Fix: illegal memory access in viewer_list_sessions
42 * Fix: illegal memory access in relayd_add_stream
43 * Fix: illegal memory access in relayd_create_session_2_4
44 * Fix: illegal memory access in session_create
45 * Fix: illegal memory access in consumer_set_subdir
46 * Fix: illegal memory access in syscall_init_table
47 * Fix: illegal memory access in write_pidfile
48 * Fix: illegal memory access in list_lttng_channels
49 * Fix: illegal memory access in cmd_snapshot_record
50 * Fix: illegal memory access in output_init
51 * Fix: illegal memory access in consumer_set_network_uri
52 * Fix: illegal memory access in cmd_snapshot_list_outputs
53 * Fix: illegal memory access in list_events
54 * Fix: illegal memory access in disable_event
55 * Fix: illegal memory access in add_uri_to_consumer
56 * Fix: illegal memory access in _cmd_enable_event
57 * Implement lttng_strncpy safe string copy
58 * Fix: loading a session prints an error message but the load is successful
59 * Snapshot warning if there are no events in one of the domains
60 * Snapshot: record: use same datetime for snapshot folder output
61 * Refactor: move the snapshot type check into output type check
62 * configure.ac: check for an existing liburcu-cds symbol
63 * configure.ac: use macro for wrong liburcu error message
64 * Tests: wording of trace_matches is misleading
65 * Typo: catched -> caught
66 * Fix: free ust channel object after grace period in consumer
67 * Test fix: ignore stderr at every step of randstring
68
45899340
JG
692016-04-19 lttng-tools 2.6.2 (Bicycle Day)
70 * Fix: add missing synchronization point for before app test case
71 * Fix warning when building Python bindings
72 * Tests: use configured processor count in tracefile count test
73 * Tests: use configured processor count in snapshot tests
74 * Tests: Introduce conf_proc_count()
75 * Test: prevent the spawning of a daemonized sessiond
76 * Fix: do not print error and bug messages when quiet (-q) is present
77 * Build: fallback to AC_CHECK_LIBS when looking for popt and uuid
78 * tests/unit: fix object files' location
79 * configure.ac: fix static build
80 * Fix: close indexes when rotating the trace files in mmap mode
81 * Fix: close indexes when rotating the trace files in splice mode
82 * Fix: use liburcu flavor header instead of local copy
83 * Fix: rculfhash should not include specific rcu flavor
84 * Fix live timer calculation error
85
560b6249
JG
862015-09-24 lttng-tools 2.6.1 (National Punctuation Day)
87 * Revert "Fix: add missing test file to EXTRA_DIST"
88 * Fix: regression tests
89 * Fix: tests: stderr not correctly redirected
90 * Help: add -j -l -p option to help string
91 * Fix: Only log app handle release on failure
92 * Fix: prevent dangling pointer in utils_partial_realpath
93 * Fix: rcu_read_unlock without parentheses has no side-effect
94 * Fix: add missing test file to EXTRA_DIST
95 * Fix: disable all ust events
96 * Fix: sessiond: disable: match app event by name
97 * Fix: dereferencing null index pointer
98 * Fix: memleak in utils_partial_realpath
99 * Fix: error on no/multiple domain options
100 * Fix: relayd: handle consumerd crashes without leak
101 * Fix: LPOLLHUP and LPOLLERR when there is still data in pipe/socket
102 * Remove dot after enable-event message
103 * Fix: don't print the default channel name when enabling agent events
104 * Fix: fail gracefully on --exclude on unsupported domains
105 * Fix: initialize live_timer to 0 for snapshot session
106 * Fix: correct mismatched function signatures
107 * Fix: consumer signal handling race
108 * Fix: list_ust_events(): dangling pointer
109 * Fix: Buggy string comparison in ust registry ht_match_event
110 * Fix: Overwrite of ret in relay_recv_metadata
111 * Fix: Wait for in-flight data before closing a stream
112 * Fix: unpublish stream on close
113 * Tests: Fix flaky live test client
114 * Fix: Announce empty streams on live attach
115 * Fix: relayd: file rotation and live read
116 * Fix: relay: viewer_get_next_index handle null vstream
117 * Fix: relayd: make viewer streams consider metadata sent
118 * Fix: don't expose empty streams
119 * Fix: relayd: don't check new metadata on get packet
120 * Fix: relayd: don't check for new streams in get packet
121 * Fix: ask new streams HUP
122 * Fix: reply error if get packet vstream fails
123 * Fix: relayd reply error to client if cannot find viewer stream
124 * Fix: relayd reply with error if cannot find metadata
125 * Fix: ust-app: protect app socket protocol with lock
126 * Fix: add missing rcu_barrier at end of sessiond main
127 * Fix: add missing rcu_barrier at end of consumer main
128 * Fix: app cmd leak on sessiond exit
129 * Fix: relayd live don't send incomplete stream list
130 * Fix: consumer timer misses RCU thread registration
131 * Fix: sessiond consumer thread should register as RCU thread
132 * Fix: don't chain RCU free
133 * Fix: sessiond vs consumerd push/get metadata deadlock
134 * Fix: sessiond vs consumerd push/get metadata deadlock
135 * Fix: streamline ret/errno of run_as()
136 * Fix: Double unlock on error path
137 * Fix: Relay daemon ownership and reference counting
138 * Add run_as_unlink implementation
139 * Cleanup: Reduce scope of relayd connections in live thread
140 * Fix: Remove structurally dead code from relayd
141 * Cleanup: relayd: centralize thread stopping function
142 * Refactor relayd main/set_options/cleanup
143 * Cleanup: spaghetti function return path
144 * Accept uid and gid parameters in utils_mkdir()/utils_mkdir_recursive()
145 * Fix: reference counting of consumer output
146 * Fix: sessiond add missing socket close
147 * Fix: sessiond should not error on channel creation vs app exit
148 * Fix: sessiond ust-app session teardown race
149 * Initialize default log level of events on load
150 * Fix: Memory leak of agent
151 * Fix: Memory leak of agent event internals
152 * Fix: UTF-8 characters may be stored on up to 4 bytes
153 * Don't save log level in session configuration when unneeded
154 * Fix: typo in error message
155 * Add agent domains to lttng enable-event usage()
156 * Report memory allocation failure when copying filter bytecode
157 * Fix: cmd_enable_event must return positive error codes
158 * Save filter expressions as part of agent events
159 * Add agent domains to the enable-event section of LTTNG(1)
160 * Fix: set GLOBAL buffer type for kernel domain in list
161 * Fix: take RCU read-side lock within hash table functions
162 * Fix: TimeoutExpired in Python tests not defined globally
163 * Fix: intialization of ust_metadata_poll_pipe to garbage value
164 * Fix "allocator sizeof operand mismatch" warning
165 * Fix: Discard disable event command filter payload
166 * Fix: Use MSG_NOSIGNAL when calling sendmsg()
167 * Fix: test_mi test
168 * Fix: Don't send agent disable event command twice
169 * Fix: incorrect variable being checked in libc-wrapper test
170 * Fix: Initialize global agent_apps_ht_by_sock on session daemon launch
171 * Fix: clean-up agent app hash table from the main sessiond thread
172 * Fix: RCU read-side lock released too early in destroy_agent_app
173 * Fix: misleading logging statement in agent_find_event
174 * Fix: Unhandled domain option condition in list_agent_events
175 * Fix: Crash on lttng list -j/-l/-p when no events are present
176 * Fix: Unbalanced rcu_read_unlock() on stream file creation failure
177 * Fix: Unbalanced rcu_read_unlock() on directory creation failure
178 * Fix: Memory leak in relay_add_stream error path
179 * Fix: set session should not set non-existent session
180 * Fix: Follow struct dirent allocation guidelines of READDIR(3)
181 * Update comments regarding the power of 2 constraint on sub-buffer sizes
182 * Build: add Flex version check
183 * Build: add Bison version check
184 * Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
185 * Fix: metadata push -EPIPE should be recoverable
186 * Fix: destroy session removes the default config file
187 * Build: bump autoconf version requirement to 2.64
188 * Fix: Memory leak in setup of relayd_path
189 * Fix: update liburcu URL
190 * Fix: Memory allocated by xmlNodeGetContent() must be freed by xmlFree()
191 * Fix: get_cmdline_by_pid path length assumes a max pid of 65535
192 * Fix: Mark MI and Config string declarations as extern
193 * Fix: modprobe.c: fix tmp_list memory leak
194 * Fix: append_list_to_probes(): increment index
195 * Fix: live_test regression on large number of cpus
196 * Fix: set UST register timeout to -1 as test default
197 * Tests: Don't rely on implicit scalar expression dereference
198 * Fix python bindings' Makefile for out-of-tree builds
199 * Fix: zero memory passed to create channel kernel ioctl
200 * Fix: possible evaluation of garbage values in fini_validation_ctx()
201 * Fix: Possible call to execvp with NULL argument on allocation failure
202 * Docs: connection_find_by_sock() must be called with rcu_read_lock
203 * Fix: test: log4j: missing static test files for dist and out of tree build
204 * Fix: test: java-jul:missing static test files for dist and out of tree build
205 * Fix: out-of-tree build: missing xsd file for mi test execution
206 * Fix: out-of-tree build: missing xsd file for save-load test execution
207
d522c1f1
JG
2082015-01-26 lttng-tools 2.6.0 (Paul the Octopus is born)
209 * Tests: Run health check test_thread_ok as part of root_regression
210 * Fix: deadlock between UST registry lock and consumer lock
211 * Fix: uninitialized return value
212 * Fix: build failure using disable-lttng-ust configure option
213 * Fix: grab more than one packet for snapshots
214 * Fix: per-uid flush and ust registry locking
215 * Fix: add missing synchronization point for before app test case
216 * Fix: tests: wait output hide Terminate errors
217 * Fix: tests: remove killall, add missing SIGTERM handlers
218 * Fix: high throughput test: reset bw limit on sigterm
219 * Fix: tests: add missing wait, document missing synchro
220 * Document test anti-patterns
221 * Fix: test flaky sleep and wait patterns
222 * Fix: tests: don't use pidof to wait for test apps
223 * Docs: Grammar fixes in the lttng manpage
224 * Fix: add missing UST perf counter support check
225 * Fix: tests: integer too large for long type
226 * Fix: undefined operation on last_relay_viewer_session_id
227 * Fix: print format type mismatch
228 * Fix: print format type mismatch
229 * Fix: Remove unused argument in debug statement
230 * Cleanup: Remove unused label
231 * Fix: exit threads not only on goto restart
232 * Fix: poll: show the correct number of fds
233 * Fix: compat poll: add missing empty revents checks
234 * Fix: various compat poll/epoll issues
235 * Fix: mi: snapshot: missing error handling for session name
236 * Fix: ust-app: per-PID app unregister vs tracing stop races
237 * Fix: data pending: allow empty streams
238 * Fix: ust snapshot: cleanup after error
239 * Fix: add missing RCU read unlock
240
0431e441
JG
2412014-12-12 lttng-tools 2.6.0-rc4 (International Day Of Heavy Metal)
242 * Fix: don't destroy the sockets if the snapshot was successful
243 * Fix: Missing RCU read locks in syscall_list_channel()
244 * Fix: Missing RCU read lock in kernel_destroy_session()
245 * Fix: channel names are not validated
246 * Fix: Apply consumer URI changes to all domains
247 * Test fix: Don't invoke the system's lttng client
248 * Tests: Add a test to check disabled events are loaded in the correct state
249 * Fix: Don't leave events enabled if they were saved in a disabled state
250 * Fix: "Any" loglevel's value is -1 and not 0
251 * Test fix: LTTNG_SESSION_CONFIG_XSD_PATH expects an absolute path
252 * Fix: Memory leak on error in alloc_argv_from_user_opts()
253 * Fix: Unreachable error logging in set_option()
254 * Fix: OOM leaks in sessiond modprobe.c
255 * Fix: test_utils_expand_path.c: out of memory error handling
256 * Fix: test test_ust_data.c: check OOM
257 * Fix: test libc-wrapper: check malloc OOM
258 * Fix: lttng-ctl: use zmalloc(), missing OOM check
259 * Fix: filter-parser.y: use zmalloc(), missing OOM check
260 * Fix: utils.c: check str*dup OOM
261 * Fix: rculfhash: use zmalloc()
262 * Fix: ini.c: use zmalloc()
263 * Fix: lttng lttng.c: check strdup OOM
264 * Fix: lttng conf.c: use zmalloc()
265 * Fix: lttng view.c missing strdup OOM check
266 * Fix: use zmalloc() in lttng view.c
267 * Fix: use zmalloc() in lttng list.c
268 * Fix: oom error check, realloc oom leak
269 * Fix: use zmalloc in lttng enable_events.c
270 * Fix: missing strdup oom check in lttng create.c
271 * Fix: lttng add_context.c: use zmalloc
272 * Fix: add missing str*dup oom check in sessiond main.c
273 * Fix: add missing sessiond kernel-consumer missing str*dup oom checks
274 * Fix: add missing strdup OOM check
275 * Fix: Live tracing does not honor live timer after first tracefile with tracefile rotation
276 * Fix: Handle empty daemon configuration file lines
277 * Docs: Add -f/--config option to lttng-sessiond man page
278 * Fix: relayd: unbalanced RCU read-side lock/unlock
279 * Fix: relayd: unbalanced RCU read lock/unlock
280 * Fix: lttng-relayd: unhandled out of memory error
281 * Fix: relayd viewer stream: unhandled out of memory error
282 * Fix: Missing rcu_read_lock in cmd_list_events()
283 * Fix: Missing rcu_read_lock in list_lttng_agent_events()
284 * Fix: Missing rcu_read_lock in cmd_list_channels()
285 * Fix: Missing rcu_read_locks in cmd_list_domains()
286 * Fix: Missing rcu_read_lock in cmd_snapshot_list_outputs()
287 * Fix: Missing rcu_read_lock in save_domains()
288 * Fix: Missing rcu_read_lock in ust_app_get_nb_stream()
289 * Fix: UST subbuffers silently dropped on moderate trace traffic
290 * Fix: Missing rcu_read_lock in get_session_max_subbuf_size()
291 * Fix: create/destroy a splice_pipe per stream
292 * Fix: return EINVAL if agent registration fails
293 * Note find_ust_app_context must be called with RCU read lock
294 * Fix: check userspace perf counter name when looking up contexts
295 * Fix: empty indexes_ht before destroying it.
296 * Fix: removed useless key from relay_index
297 * Fix: Ambiguous agent event filter bytecode ownership
298 * Fix: filter bytecode and string memory leak on error
299 * Fix: HT must not be destroyed with a rcu_read_lock held
300 * Fix: agent events HT should be destroyed from the cleanup thread
301 * Fix: missing rcu_read_lock in trace_ust_destroy_session()
302 * Fix: missing rcu_read_lock when calling trace_ust_find_agent()
303 * Fix: missing rcu_read_lock in cmd_start_trace()
304 * Fix: filter attach vs event enable race
305 * Fix: Mark libxml2 as a mandatory dependency
306 * Fix: Warn the user when enabling an event in a new domain
307 * Fix: Don't report an error when listing a session with no channels
308 * Fix: Add missing URCU_TLS access to error_log_time
309 * Update maintainer section of the man pages
310 * Update maintainer section of README.md
311
d961a981
JG
3122014-11-04 lttng-tools 2.6.0-rc3
313 * Fix: add README.md to documentation files
314 * Fix: UST consumer sync all available metadata
315 * Test: remove bogus argument from prove invocation
316
b6cf3d15
DG
3172014-10-21 lttng-tools 2.6.0-rc2
318 * Use lttng-modules ABI version ioctl
319 * Fix: syscall list ioctl number conflict
320
b82b3032
DG
3212014-10-20 lttng-tools 2.6.0-rc1 (Harry Belafonte records Banana Boat Song)
322 * Machine Interface added to lttng command line (--mi)
323 * Java Log4j agent support (--log4j)
324 * Kernel per syscall tracing
325 * Multiple fixes.
326
f9b10a52
DG
3272014-07-16 lttng-tools 2.5.0 (Take Your Poet to Work Day)
328 * Fix: validate file path creds in autoload mode
329 * Fix: change session file loading order
330 * Fix: add Loading Sessions section to lttng-sessiond.8
331 * Fix: add default session conf. dir to manpage
332 * Fix: on session load, add it to the .lttngrc
333 * Fix: clarify session conf. directory in man
334 * Fix: filter error path could free invalid ptr
335 * Fix: Create a lock file to prevent multiple session daemons
336 * Fix: relayd stream set close_flag on stream close
337 * Fix: ustctl_get_stream_id without UST support
338 * Fix: avoid freeing invalid ptr in filter bytecode
339 * Fix: get the stream_id when generating live beacons
340 * Fix: use biggest subbuffer size for snapshot max-size
341 * Fix: Possible memory leak when multiple config files are loaded
342 * Fix: Clamp verbosity value read from config file
343 * Fix: Unchecked strdup return values in set_option
344
bf102181
DG
3452014-06-27 lttng-tools 2.5.0-rc2
346 * Test: add JUL disable event tests
347 * Fix: disable JUL event on UST side
348 * Fix: accept override flag even without a load path
349 * Fix: bad error code path when loading session
350 * Fix: set session in output mode if URL are set afterwards
351 * Fix: add a kernel context list to the channel
352 * Fix: Add vpid, vppid and vtid info in add-context help
353 * Fix: wrong behavior of save command when no session name is provided
354 * Fix: missing context type string in save for ust context
355 * Fix: wrong casting of return value
356 * Fix: add dependency to libcommon for python binding
357 * Fix: remove the default GIT_VERSION
358
19d7cc50
DG
3592014-05-28 lttng-tools 2.5.0-rc1 (International Hamburger Day)
360 * Save/load session feature
361 * Daemon configuration file support
362 * UST perf counter support with add-context
363 * Kernel tracer probe user define list
364 * Multiple fixes! The diff is just too big to put here.
365
f9b10a52
DG
3662014-07-16 lttng-tools 2.4.2 (Take Your Poet to Work Day)
367 * Fix: Create a lock file to prevent multiple session daemons
368 * Fix: relayd stream set close_flag on stream close
369 * Fix: ustctl_get_stream_id without UST support
370 * Fix: get the stream_id when generating live beacons
371 * Fix: missing include for getpwuid()
372 * Fix: add a get HOME dir fallback to getpwuid
373 * Fix: don't set enabled flag is session start fails
374 * Fix: logger name dropped from filter condition when loglevels are used
375 * Fix: memory leak in lttng_enable_event_with_exclusions
376 * Fix: check malloc return value
377 * Fix: static array larger than necessary
378 * Fix: set session in output mode if URL are set afterwards
379 * Fix: Add vpid, vppid and vtid info in add-context help
380 * Fix: alignment problems on targets not supporting unaligned access.
381 * Fix: possible use after free in consumer
382 * Fix: improve and update lttng.h comments
383 * Fix: JUL filtering for event *
384 * Fix: deny overwrite mode and num subbuf less than 2
385 * Fix: remove bad option in enable channel --help
386 * Fix: implicit conversion from enumeration
387 * Fix: clarify man page lttng.1
388 * Fix: Copy-pasted PERROR messages may be misleading
389 * Fix: incorrect printf format
390 * Fix: handle ENOENT when creating a kernel event
391 * Fix: move JUL filter creation to a function
392 * Fix: JUL filtering done on the UST level
393 * Fix: Don't include the binary in the live test's EXTRA_DIST
394 * Fix: add JUL filter to UST event on logger_name
395 * Fix: Racy event validation in tests
396 * Fix: rework utils_parse_size_suffix
397
f2154bf4
DG
3982014-04-08 lttng-tools 2.4.1 (OpenSSL heartbleed day)
399 * Fix: don't delete stream from connection recv list
400 * Fix: use after free of a relayd stream
401 * Fix: don't print stream name in error message
402 * Fix: take session list lock when listing tp
403 * Fix: add consumer wake up pipe to avoid race
404 * Fix: don't spawn relayd if URL is provided
405 * Fix: don't ask data pending if session was not started
406 * Fix: missing test file in EXTRA dist
407 * Fix: allow empty URL for live session creation
408 * Fix: missing valid return code when adding an URI to consumer
409 * Fix: syntax error in lttng.1
410 * Fix: check relayd fd leak in lttng cmdline
411 * Fix: remove unused tp in high-throughput test
412 * Use autoconf AM_MAINTAINER_MODE.
413 * Fix: clang 'constant-out-of-range-compare' warning
414 * Fix: Unchecked session pointer when destroying a connection in relayd
415
7f63e090
DG
4162014-02-28 lttng-tools 2.4.0 (Public Sleeping Day)
417 * Fix: improve lttng with live by spawning relayd
418 * Fix: relayd should listen for viewers on localhost only by default
419 * Fix: handle loglevel range ALL in list command
420 * Tests: add JUL test for multiple loglevel
421 * Fix: index JUL event by name *and* loglevel
422 * Fix: JUL to enable user and root tracepoints
423 * Fix: handle the registration done command for JUL
424 * Test fix: use temp file sync. of test app
425 * Fix: keep metadata channel attr in UST session
426 * Tests fix: Missing waitpid in fork test
427 * Fix: add loglevel type to lttng list <name>
428 * Fix: minor rephrasing of the lttng.1 man page
429 * Fix: Warn user if JUL port is already being used
430 * Fix: add some sane default values to --live opt
431 * Fix: possible NULL deref. in sessiond error path
432 * Fix: flag that kernel streams FDs has been sent
433 * Fix: forbid session name creation if contains /
434 * Fix: don't start session if no channel
435 * Fix: add missing relayd option to man page
436 * Fix: report error if consumer can't be spawned
437 * Fix: lttng list -u <name> should only list UST
438 * Fix: kernel channel destroy on consumer if sent
439 * Fix: only create UST metadata on start trace
440 * Revert "Fix: wrong condition on startup for low-activity streams"
441 * Fix: missing big endian conversion for one index field
442 * Fix: wrong condition on startup for low-activity streams
443 * Fix: perror on index directory creation error
444 * Comments fix: lttngerr.h -> error.h (./Changelog:754)
445 * Fix: consumerd errors on exit
446 * Fix: scanf unbounded input
447 * Fix: miscellaneous memory handling fixes
448 * Fix: add missing VALGRIND ifdef checks and documentation
449
1bc64886
DG
4502014-02-14 lttng-tools 2.4.0-rc5
451 * Fix: steal channel key in the consumer to avoid race
452 * Fix: change ERR statement to DBG in kernel read subbuffer
453 * Fix: handle snapshot ENODATA in live timer
454 * Fix: relayd leak on error in consumer splice()
455 * Fix: protect close_write_flag with the rotation lock
456 * Man: clarify loglevel for JUL domain
457 * Fix: Define __STDC_LIMIT_MACROS to fix C++ builds
458 * Fix: bad indentation of lttng list in man page
459 * Fix: wrong data structure used in commit df41f83
460 * Fix: add missing optional dependency to babeltrace in README
461 * Fix: cleanup inconsistent use of spaces/tabs in README
462 * Fix: only set the new_streams flag if a viewer is attached
463 * Fix: lttng-live documentation
464 * Fix: remove dead code in relayd live code
465 * Fix: use after free error code path
466 * Fix: wrong sizeof argument in live viewer create session
467 * Fix: zero out the reply structure in viewer_connect
468 * Fix: write index only if fd is valid
469 * Fix: cleanup relayd on any I/O error in read subbuffer mmap
470 * Fix: memory/fd leak when cleaning streams in channel
471 * Fix: destroy streams in consumer del channel
472 * Fix: add missing urcu wfqueue headers in relayd
473 * Fix: in lttng_read/write deny count bigger than the possible returned value
474 * Fix: fd leak when closing metadata stream
475 * Fix: read subbuffer mmap/splice signedness issue
476 * Doc: live protocol clarifications
477 * Fix: remove unused create_viewer_session option
478 * Fix: don't sleep(1) on the consumer ready flag
479 * Fix: free viewer session in connection_free()
480 * Fix: add missing ctf trace delete before destroy
481 * Fix: don't delete ctf trace while in snapshot mode
482 * Fix: add flag to create session command and fix tests
483 * Fix: cleanup indef guards following the rename
484 * Fix: merge issue with thread quit pipe
485 * Fix: use uint32_t for metadata_flag in viewer's ABI
486 * Fix: check for new streams in all attached sessions
487 * Fix: Move static functions up in the code
488 * Fix: allow attach command to multiple sessions
489 * Fix: handle session hang up in get_new_streams
490 * Fix: force the client to create a viewer session before attaching
491 * Fix: Namespace lttng-viewer-abi
492 * Fix: relayd connection object refactor
493 * Fix: big relayd cleanup and refactor
494 * Fix: code refactoring of viewer streams in relayd
495 * Fix: handle new streams in live mode in relayd
496 * Fix: notify the viewer if new streams got added
497 * Fix: send the streams sent message after metadata
498 * Add extern C to the health-check header
499 * Fix: memory leak in unit test
500 * Man: add JUL DOMAIN section to lttng.1
501 * Fix: handle invalid URL passed to lttng_create_session_live
502 * Fix: add --jul-tcp-port to sessiond man page
503 * Fix: measure UST clock offset with best sample (v2)
504 * Fix: remove free in unit test not needed anymore
505 * Fix: relay create session for version before 2.4
506 * Fix: memory leak when UST events are enabled with exclusions
507
5082014-01-29 lttng-tools 2.4.0-rc4
509 * Fix: add -b, --background option
510 * health check tests: test relayd and consumerd
511 * tests: Add stop_lttng_relayd_nocheck
512 * Fix: add missing JUL loglevel handling
513 * relayd: add testpoints
514 * relayd: use same pipe for live and main
515 * Cleanup relayd live comment
516 * Fix: relayd: add LPOLLERR to events
517 * Fix: relayd: notify parent of readiness when all threads ready
518 * Fix: tests: start relayd in background mode (-b)
519 * lttng-relayd: implement background cmd line option
520 * sessiond: add missing testpoints
521 * tests: use --background for session daemon
522 * sessiond: add --background argument
523 * Use lib common daemonize
524 * Fix: sessiond: wait for health check readiness
525 * Fix: relayd: initialize lttcomm inet
526 * Consumer: add testpoints
527 * Fix: consumerd: HT init/teardown with program
528 * Cleanup: lttng-ctl-health comment
529 * Add daemonize() to libcommon
530 * Fix: tests: wait for consumerd to complete
531 * Fix: consumerd: use DBG rather than DBG2
532 * Fix: consumerd: only return readiness when health is ready
533 * Fix: consumerd should initialize lttcomm
534 * Fix health check: signal parent before exit testpoint
535 * Test health: add test_thread_ok
536 * health check: change --relayd-path arg to --relayd-path=arg
537 * relayd: add LTTNG_RELAYD_HEALTH env var
538 * Add sessiond/SESSIOND_ prefix to sessiond testpoints
539 * Fix: zero out data structure before using it
540 * Fix: delete metadata stream before destroying it
541 * Fix: report to client when snapshot will be empty
542
5432014-01-14 lttng-tools 2.4.0-rc3
544 * Fix: metadata stream should be always flagged as ready
545 * Fix: wrong check before destroying the viewer metadata stream
546 * Fix: race with the viewer and readiness of streams
547 * Fix: missing reset when listing UST fields for multiple PIDs
548 * Fix: filter: check binary op nesting
549 * Fix: relayd cmd line option for live port
550 * Fix: remove break in epoll loop of apps. thread
551 * Fix: wrong comment in snapshot public API
552 * Fix: clear the CTF traces when all the streams are closed
553
c9d04d79
DG
5542013-12-10 lttng-tools 2.4.0-rc2
555 * Fix: close connection on incompatible version check
556 * Fix: fields alignements in live protocol
557 * Tests: add regression test for Java JUL support
558 * Fix: possible use after free
559 * Fix: remove unused code in session daemon
560 * Fix: string format with unsigned value
561 * Fix: remove useless assert
562 * Fix: bad logical check of error codes
563 * Fix: resource leak in enable-event command
564 * Fix: unchecked return value in ust app delete
565 * Fix: dereference after null check in UST registry
566 * Fix: Resource leak in ust registry
567 * Fix: backported from urcu commit 92af1a30
568 * Tests: fix racy tests and misleading output messages
569 * Tests: fix bad argument parsing in test app
570 * Fix: remove assert on fd in the read/write layer
571 * Fix: missing lock/unlock when sending index
572 * Fix: update back the metadata len sent on failure
573 * Fix: don't fail on push metadata if no channel
574 * Rename LTTng index in CTF index
575 * Fix: set the enable all event command type
576 * Fix: implicit conversion of enum types in sessiond
577 * Fix: implicit conversion of enum types in consumer
578 * Fix: comparison of unsigned enum expression >= 0
579 * Fix: comparison of unsigned value agains < 0
580 * Fix: create a fast and a long UST snapshot test
581 * Tests: fix racy UST snapshot post mortem test
582 * Tests: remove useless sleep when spawning sessiond
583 * Add travis-ci configuration file
584 * Add libuuid as dependency in README
585 * Tests: add valid test cases to test_utils_expand_path
586 * Tests: add symlink tests for test_utils_expand_path
587 * Fix: utils_expand_path now works for paths that ends with '/.' or '/..'
588 * Fix: comment indentation
589 * Add missing copyright to utils.c
590 * Fix: use non block waitpid to lookup child state
591
dd2c2a1b
DG
5922013-11-15 lttng-tools 2.4.0-rc1
593 * Live streaming support
594 * Health check support in consumer and relayd
595 * Event exclusion support
596 * Java Util Logging support
597 * Multiple fixes! The diff is just too big to put here.
598
1bc64886
DG
5992013-11-13 lttng-tools 2.3.1
600 * Fix: typo in --sig-parent help
601 * Fix: application SIGBUS when starting in parallel with sessiond
602 * Fix: missing LTTNG_OK return value for snapshot
603 * Fix: arguments in the wrong order for fd-limit
604 * Fix: Some corrections to the lttng man page
605 * Fix: recv creds comm should handle partial receive
606 * Fix: set app socket timeout just after accept()
607 * Fix typo in lttng snapshot add-output example of lttng(1)
608
c9dc1289
DG
6092013-09-03 lttng-tools 2.3.0
610 * Fix: remove periodical flush test from make check
611
3e618c7a
DG
6122013-08-30 lttng-tools 2.3.0-rc3
613 * Fix: hashtable: take split_count_order into account
614 * Fix: remove wrong doing asserts in sessiond
615 * Tests: fix periodical flush tests to stop app
616 * Fix: correctly close metadata on sessiond thread shutdown
617 * Fix: delete the trace directory used for the test
618 * Fix: remove bad check after epoll wait in consumer
619 * Fix: missing data pending signess conversion
620 * Fix: consumer data pending for empty streams
621 * Fix: hash table growth (for small tables) should be limited (v2)
622 * Fix: run_as gid/uid test should return result to parent
623 * Fix: missing check for metadata data pending
624 * Tests: change buffers UID test to PID
625 * Tests: fix health tests to use custom socket timeout
626 * Fix: remove health test from fast regression
627 * Use socket timeout value for tcp timeout if available
628 * Fix: set the health delta tcp timeout aware
629 * Get the maximum TCP timeout in sessiond
630 * Fix: don't report error if UST app dies
631 * Fix: support VPATH build for tests
632 * Improve comments after review
633 * Rename consumer socket fd to fd_ptr
634 * Lock consumer data before fd check during destroy
635 * Use single callsite for send/recv ops. for consumer in sessiond
636 * Use consumer fd reference in consumer socket obj
637 * Update bash completion
638 * Add --list-commands option to the snapshot command
639 * Reorder functions _lttng_cmd_* functions in bash completion
640 * Use parse_size_suffix in snapshot
641 * Fix: snapshot record error handling
642 * Fix: improve error message when UST support is disabled
643 * Fix: add missing short filter option in help
644 * Fix: typo in configure.ac for version check
645 * Fix: remove calibrate syscall option from code
646 * Fix: snapshot should fail if no successful snapshot is taken
647 * Fix: check UST float field mantissa length
648 * Fix: add UST context in the same order the user enabled them
649 * Introduce configure --with-lttng-system-rundir
650 * Add .dirstamp to gitignore file
651 * Fix: snapshot with multiple UIDs
652 * Prepare for automake deprecation of missing subdir-objects
653 * Fix: typos in --help and manpage
654 * Fix: add-context without -c apply to all channels
655 * Fix: channels can be _enabled_ after tracing is started, but not created
656 * Fix filter parser segmentation fault with bison 3.0
657 * Fix: typo in error msg
658 * Fix: imprecise error message about root sessiond/tracing group
659 * Fix: don't skip chmod if tracing group is not found
660 * Tracepoint probes don't need extern C
661 * Fix: Snapshot should be taken asap in core handler script
662 * Fix: reset out_fd_offset when we rotate the trace file
663 * Fix: LTTNG_ERR_NEED_ROOT_SESSIOND error message
664 * inet/inet6 sockets: apply timeout
665 * Implement timeout for connect ipv4/ipv6
666 * Introduce LTTNG_NETWORK_SOCKET_TIMEOUT env. var
667 * bash completion: add calls to _lttng_complete_sessions
668 * bash completion: Fix copy-paste typo
669 * Extras: Remove deprecated consumer commands in bash completion
670 * bash completion: Remove underscores in handler function names
671 * bash completion: Remove --event for add-context
672 * Update gitignore
673 * relayd: use version macros from build rather than scanf
674 * sessiond: use version major/minor from build for communication with relayd
675 * build: export major/minor/patchlevel numbers
676 * Fix: Dead code when checking return value from (ust_app|kernel)_snapshot_record
677 * Test: enable kernel events after start
678 * Fix: kernel ctl error codes are based on errno
679 * Fix: format string mismatch
680 * test: test_periodical_metadata_flush shrink timer period, kill app
681 * Fix: format string type mismatch
682 * snapshot howto: update text
683 * Add snapshot howto
684
95f3c88c
MD
6852013-07-19 lttng-tools 2.3.0-rc2
686 * Add core-handler README to dist tarball
687 * extras: core-handler: simplify, allow usage from tracing group
688 * Cleanup: add missing dot
689 * Fix: documentation: create name and options
690 * Add core dump snapshot handler script
691 * Fix: sym name len (kernel)
692 * Fix: tests: provide channel name when a non-default channel exists: per-pid
693 * Fix: tests: provide channel name when a non-default channel exists
694 * Fix: data pending race
695 * Fix hang in make check snapshots/test_ust
696 * Cleanup: ust-consumer: wrong indentation
697 * Fix: print dots while waiting for data availability
698 * Fix: remove sleep(1) added by "Fix: (slight UI change) refuse missing -c if non-default channel exists"
699 * Fix: (slight UI change) refuse missing -c if non-default channel exists
700 * Fix: push metadata on stop for per-UID buffers
701 * README: update python documentation
702 * Manpage: other layout cleanups
703 * Manpage: cleanup layout of view
704 * Manpage: cleanup layout of version
705 * Manpage: cleanup layout of stop
706 * Manpage: cleanup layout of start
707 * Manpage: cleanup layout of snapshot
708 * Manpage: cleanup layout of set-session
709 * Manpage: cleanup layout of list
710 * Manpage: cleanup layout of disable-event
711 * Manpage: cleanup layout of disable-channel
712 * Manpage: cleanup layout of enable-event
713 * Manpage: cleanup layout of enable-channel
714 * Manpage: cleanup layout of destroy
715 * Manpage: cleanup layout of create
716 * Manpage: cleanup layout of calibrate
717 * Manpage: cleanup layout of add-context
718 * Documentation: create --snapshot in manpage
719
07ddb08c
MD
7202013-07-17 lttng-tools 2.3.0-rc1
721 * Fix: add missing snapshot header to dist tarball
722 * Documentation: fix thread quit pipe comment
723 * Test for presence of bison and flex when building from git
724 * Test UST snapshot with large metadata
725 * Add test application with large metadata
726 * Cleanup: remove redundant assignment
727 * Fix: use per-uid buffer registry for UID buffer snapshots
728 * cmd.c: fix typos in snapshot commands
729 * Test snapshot per-uid post-mortem
730 * Remove leftover fprintf
731 * Fix deadlock: don't take channel lock in timer
732 * Introduce channel timer lock
733 * document lttng_ustconsumer_request_metadata locking constraints
734 * consumer: remove unused lttng_ustconsumer_push_metadata
735 * Document metadata_socket_lock nesting
736 * lttng_ustconsumer_recv_metadata does not need all those locks
737 * document metadata_switch_timer() deadlock
738 * Fix: add missing metadata socket lock
739 * document metadata_switch_timer() locking constraints
740 * consumer: remove timeout for UST metadata
741 * Introduce pipe for UST metadata cache and stream
742 * consumer: replace DBG2() instances by DBG()
743 * Introduce utils_create_pipe_cloexec_nonblock()
744 * ust consumer: data_pending check is endpoint active
745 * Fix: kernel consumer: data_pending check if endpoint active
746 * consumer: explicitly set endpoint status to active at init
747 * document consumer_metadata_cache_flushed use of consumer_data.lock
748 * consumer: introduce channel lock
749 * Merge branch 'master' of git://git.lttng.org/lttng-tools
750 * Fix: update lttng snapshot help output
751 * Man: fix part of snapshot documentation
752 * Fix: set tracefile size test with PID buffers
753 * Fix: Babelstats fail to parse output with no process name or pid
754 * Missing NULL pointer init in tap.c
755 * Fix: Unchecked asprintf/vasprintf return values
756 * Add snapshots test to fast regression
757 * Fix: kernel data unit test
758 * Fix: snapshot returned valid LTTNG_ERR code
759 * Add the number of snapshot taken to the output path
760 * Fix: RCU read side lock unbalanced
761 * Fix: zeroed snapshot output at init
762 * Support del-output with an output name
763 * Update man page with snapshot command
764 * New UST default buffers is now per UID
765 * Bump UST ABI major version for 2.3 release
766 * Add snapshot mode to lttng list session
767 * Fix: support temporary snapshot max size and name
768 * Support snapshot max-size limitation
769 * Tests: per-UID UST snapshot
770 * Fix: snapshot support for UST and kernel in same session
771 * Implement lttng create --snapshot command
772 * Add create session snapshot API in lttng-sessiond
773 * Add snapshot output init call that uses URIs
774 * Fix: consumer err_sock cloexec
775 * Callsite: add "ip" context
776 * Fix: possible consumer sockets double close on cleanup
777 * Automatically load kvm-x86 and kvm-x86-mmu probes.
778 * Fix: consumer: use uint64_t for all sessiond_id
779 * Fix: add gpl and lgpl files to tarball
780 * Fix: don't install libtap system wide
781 * Fix: close consumer sockets in sessiond cleanup
782 * Fix: set globally visible flag to kernel stream
783 * Fix: lttng: memory leak in snapshot record command
784 * Fix: kernel-consumer: double-close
785 * Fix: consumer: incorrect size zmalloc
786 * Fix: don't try to send stream to relayd if not in streaming
787 * Fix: relayd refcount updates for stream
788 * Fix: don't send error to sessiond on orderly shutdown
789 * Fix: bad pathname used when sending kernel stream to relayd
790 * Fix: add globally visible flag in stream
791 * Fix: destroy metadata stream on setup metadata error path
792 * Fix: send kernel stream to relayd only if needed
793 * Fix: destroy streams for kernel snapshot sessions as well
794 * Fix: close and destroy metadata stream after a kernel snapshot
795 * Fix: print errno message on connect() error
796 * Fix: possible double-close on stream out_fd
797 * Fix: session ID signess to uin64_t in sessiond
798 * Tests: fix validation trace path in kernel snapshot
799 * Tests: Add UST snapshot local and streaming
800 * Add UST snapshot support
801 * Fix: consumer_add_relayd_socket() report errors to sessiond
802 * Fix: add missing enum lttcomm_return_code entries
803 * Fix: UST per-UID channels persist across application teardown
804 * Fix: kernel snapshot metadata handling and error paths
805 * Fix: coding style and debug statement
806 * Fix: put subbuffer back in kernel snapshot error path
807 * Fix: overflow in uri_to_str_url
808 * Fix: detect the correct version of LTTng-UST
809 * Fix: sessiond: use uint64_t for all session ids
810 * Tests: add kernel snapshot streaming to root regression
811 * Tests: remove debug output from test
812 * Tests: Add kernel snapshot streaming
813 * Fix: use snapshot consumer output for kernel
814 * Fix: periodical flush check trace before stop
815 * Fix: consumer: 64-bit index for relayd rather than 32-bit (v2)
816 * Fix UST channel/stream output assignation
817 * Fix: send per-pid session id in channel creation
818 * Fix: consumer double-close on error
819 * Update URCU detection to correctly check for a 0.7 version
820 * Fix: snapshot path
821 * Add utils function to format current time as a string
822 * Fix: set hidden attribute to utils_* calls
823 * Fix: consumer handling of metadata for relayd
824 * Add kernel snapshot support
825 * Support flight recorder mode for a session
826 * Implement snapshot commands in lttng-sessiond
827 * Add snapshot command to lttng UI
828 * Initial import of the snapshot ABI/API in lttng-ctl
829 * Use the consumer stream API in consumer_del_stream()
830 * Add consumer-stream.c/.h in libconsumer
831 * Move multiple URLs parsing fct from lttng-ctl to uri.c
832 * Add a lttng-ctl header to facilitate code separation
833
8991668e
DG
8342013-06-25 lttng-tools 2.2.0 (National Catfish Day)
835 * STABLE VERSION
836 * Fix: if relayd is unreachable, disable consumer for the session
837 * Fix: possible infinite loop in disable ust event
838 * Fix: don't enable a channel if a session was already started
839 * Fix: bad type for the relayd id
840 * Fix: add debug statement in kernel flush metadata
841 * Fix: destroy default created channel if add-context fails
842 * Fix: clarify tracefile size/count in lttng.1 man
843 * Fix: don't stop a session that was not previously started
844 * Fix: update lttng.1 man page
845 * Fix: bad protocol flow between sessiond and consumerd
846 * Fix: kernel memory leak in error path
847
92d019ba
DG
8482013-06-20 lttng-tools 2.2.0-rc3
849 * Multiple memory and fd leak fixes in sessiond and consumerd
850 * Test: stress test added to the repository but not in make check
851 * Using LTTNG_HOME environment variable if exists, with fallback to HOME
852 * Implement health check for app registration dispatch
853 * Implement health check for app notification thread
854 * Revert "Improve channel listing output format"
855 * Fix: use lttng pipe to send new stream to thread
856 * Change consumer_metadata_pipe to be a lttng_pipe
857 * Change consumer_data_pipe to be a lttng_pipe
858 * Add wrappers for pipe
859 * Add --version command-line option to lttng.
860 * Add --with-lttng-ust-prefix config option.
861 * Fixes from coverity scan.
862 * Stability fixes
863 * RCU hash table are now destroyed in a seperate thread in sessiond
864
afeab175
DG
8652013-05-09 lttng-tools 2.2.0-rc2
866 * Fix: split UST per UID/PID default values
867 * Fix: don't start the relayd with a wrong --output dir
868 * Fix: Erroneous automatic session name when streaming
869 * Fix: wrong data port when listing session's URI
870 * Fix: don't create a channel on an enable channel
871 * Tests: Add missing test_utils_parse_size_suffix to unit tests
872 * Fix: print lttng strerror on enable event with filter
873 * Fix: change relayd protocol version to 2.2
874 * Fix: reset current size for tracefile rotation
875 * Fix: remove extra -I for python bindings
876 * lttng UI: round up trace file size to subbuf size if needed
877 * Fix lttng UI: fix arg parsing, round size to next power of two
878 * Fix: check errors in lttng command argument values
879 * Implement get_count_order in lttng utils
880 * lttng cli: Accept human readable sizes for --subbuf-size
881 * Unit tests: don't rebuild units under test
882 * Fix: consumerd metadata channel/cache/timer races
883 * Fix: consumerd channel destroy race
884 * Cleanup: document RCU read-side lock better
885 * consumer relayd interaction: fix segfaults
886 * Fix: change order of fd get to fix error path
887 * Fix: fd leak when creating UST metadata channel
888 * Fix: fd leak on error
889 * Fix consumerd fd leak
890 * Fix RCU-related hangs: incorrect lttng_ht_destroy use
891 * rculfhash: check for callers from RCU read-side C.S.
892 * Fix: don't call hash table destroy under rcu read-side c.s.
893 * Documentation: import updated comments from urcu
894 * Fix: segfault in buffer_reg_channel_destroy()
895 * Fix: add missing goto error in UST consumer
896 * Fix: no need to use run_as_open in the relayd
897 * Fix: typo in enable-channel man and help
898 * Fix: add some missing hidden attribute
899 * Fix: per-uid buffers should only be flushed once on stop
900 * Cleanup: Use own mutex within timer setup/teardown
901 * Fix: channel management thread should hold a refcount
902 * Fix: move metadata cache setup before ownership passing
903 * Fix: consumer metadata switch timer error handling
904 * Fix: set ptr to NULL to suppress old gcc warnings
905 * Fix: linking order of libraries
906 * Fix: multiple type mismatch in debug statement
907 * Fix: remove mention of trace directory layout in quickstart doc
908 * Fix: remove unused path variables from session obj
909 * Fix: update lttng.1 man and enable-channel help with read timer size
910 * Fix: use channel per domain default values
911 * Fix: typos in the code base
912 * Fix: deny multiple event types with enable-event
913 * Fix: deny the same port for data and control URL
914 * Fix: reset consumer destination when changing URIs
915 * Fix: don't allow different control and data destination
916 * Fix: typos in error strings
917 * Improve channel listing output format
918 * Fix: enable-channel accepts mismatched option
919 * Fix: validate buffer type for UST channel creation
920
500c2393
DG
9212013-03-28 lttng-tools 2.2.0-rc1
922 * Add UST per UID buffers support
923 * UST metadata generation are created on the sessiond side
924 * Move LTTng-UST buffer ownership from application to consumer
925 * Add a UST registry of events and channel in the sessiond
926 * UST periodical metadata flush
927 * Refactor tests to use prove and tap
928 * Support for trace file rotation for the relayd and on disk
929 * Support per-context filtering
930 * Add channel wakeup fd to monitor close
931 * Deprecate enable/disable-consumer
932 * Multiple fixes and memory leak fix.
933
917f7685
DG
9342012-12-20 lttng-tools 2.1.0 (13th Baktun)
935 * STABLE VERSION 2.1.0-stable - "Basse Messe"
936 * Multiple minor fixes
937 * Multiple memory and fd leaks
938 * Fix: Off by one in seq num for data pending command
939 * Fix: flag metadata stream on quiescent control cmd
940 * Fix: prioritize control socket communication in relayd
941 * Fix: poll and epoll fd set reallocation
942 * Fix: add missing goto pending if data is inflight
943 * Fix: remove ua_sess->started assert on stop trace
944 * Set classes of traffic in high_throughput_limit
945 * Fix: use the poll wait ret value when iterating on fd(s)
946 * Fix: force the poll() return value to be nb_fd
947 * Fix: Wrong check of node when cleaning up ht
948 * Fix: set started flag of ust app after ustctl
949 * Fix: memory leak in add relayd socket error path
950 * Fix: add packed attribute to filter structure
951 * Fix: Add missing health code update for consumer command
952 * Add LTTNG_PACKED macro
953 * Fix data pending for inflight streaming
954 * Map session id of relayd and sessiond in consumer
955 * Add the relayd create session command
956 * Make the consumer sends a ACK after each command
957 * Remove MSG_WAITALL on every recvmsg() socket typ
958 * Fix: Add missing relayd ht cleanup and ht destroy
959 * Fix: Relayd and sessiond version check
960 * Fix: protect consumer_find_channel with rcu locking
961 * Fix: don't steal key when adding a metadata stream
962 * Consumer hold stream mutex for add stream
963
48459ee6
DG
9642012-12-03 lttng-tools 2.1.0-rc9
965 * Fix: set the stream ht static in consumer file
966 * Update sessiond man page with new env var
967 * Update lttng.1 man page
968 * Fix: enable-consumer for all domains missing dir
969 * Fix: Add missing fct prototypes when disabling UST
970 * Fix a typo in lttng-probe-module name
971 * Assign values to enum lttcomm_sessiond_command
972 * Fix: run health test only if root
973 * Clarify empty string/NULL filter errors
974 * Fix: add missing padding for UST filter
975
2ad3a9a0
DG
9762012-11-22 lttng-tools 2.1.0-rc8
977 * Fix: Uninit. variable in lttng view
978 * Add already enabled UST event error code
979 * lttng.h API update: set filter becomes enable event with filter
980 * Change the UST event hash table match function
981 * Pass lttng_event struct to the set_filter API call
982 * Adding context to an event is no longer possible
983 * Add UST overlap tests
984 * Add filter sequence number to UST
985 * Fix: Typo from a previous patch in an assert()
986 * Fix: Warn if session is running with lttng view
987 * Fix: Add bash requirement to README for make check
988 * Fix: add the notion of domain to lttng.1 man page
989 * Enable additional kernel probes
990 * Update CodingStyle
991 * Use the new functions for default subbuf sizes
992 * Add default subbuf sizes getter functions
993 * Add max() and min() macro in common
994
8802e4bd
DG
9952012-11-13 lttng-tools 2.1.0-rc7
996 * Fix: Add pointer check when freeing poll events
997 * Fix: FD leak on thread error
998 * Fix: Wrong fd used by kernel_wait_quiescent
999 * Support new lttng-ust error code
1000 * Fix: Don't set filter if enable event fails
1001 * Fix: Wrong data port when listing session
1002 * Fix: Enable event after start command
1003 * Fix: Teardown of thread_manage_clients on failure of listen/create_poll
1004 * Add a timeout to UST application socket
1005 * Fix: Consumerd error socket connect race
1006 * Fix: Set CLOEXEC flag on every created sockets
1007 * Remove consumer poll timeout in data thread
1008 * Fix: RCU hash table seed
1009 * Fix: Do not install health tests helper libraries
1010 * Fix: Create default channel on add-context if none
1011 * Support new liblttng-ust-ctl error code
1012 * Fix: Add EPIPE error handling on buffer splice
1013 * Fix: Channel creation error return code was not set
1014 * Fix: Wrong poll events on UST application socket
1015 * Fix: Remove dependency to urcu-cds in tools tests
1016 * Fix: Missing librt dependency in configure check for lttng-ust-ctl
1017 * Fix: Don't append datetime to default session name
1018 * Fix: Deny session creation name 'auto'
1019 * Fix: Add space for stream name CPU number
1020 * Fix: Add output option to enable-channel command
1021
241aaca9
DG
10222012-11-02 lttng-tools 2.1.0-rc6
1023 * Tests: Add filtering tests for uncovered cases
1024 * Fix: Sync issue when deleting a data stream
1025 * Rename data_available to data_pending
1026 * Fix: consumer health state
1027 * Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0
1028 * Fix: Bad return error code handling
1029 * Fix: Use after free() of the rundir string
1030 * Fix: Cleanup UST app session on ustctl create session error
1031 * Fix: add missing pthread_join in sessiond
1032 * Fix: free running directory string
1033 * Fix: UST app clean list node usage
1034 * Add liblttng-ctl destructor to cleanup memory
1035 * Fix: Cleanup URIs on teardown
1036 * Fix: relayd memleaks
1037 * Fix: Memory leaks of allocated URIs
1038 * Fix: consumer output memory leak on creation
1039 * Fix: missing addrlen initialization before accept(2)
1040 * Fix: relayd trace file padding memleak
1041 * Fix: Remove useless consumer subdir string concatenation
1042 * Fix: lttng create allocated path memleak
1043 * Fix: Cppcheck memleakOnRealloc mistake
1044 * Fix: Synchronization issue for data available command
1045 * Fix: consumer relayd cleanup on disconnect
1046 * Fix: Handle the unary bitwise negation operator (~) in the XML printer
1047 * Fix: Possible memory leaks when creating filter IR root node
1048 * Fix: Delete stream on write error in consumer
1049 * Fix: Error handling when sending relayd sockets to consumer
1050 * Add stream lock comment for nesting
1051 * Fix: Mutex and RCU lock nesting in consumer
1052 * Fix: Uninitialized ret code
1053 * Fix: Remove bad condition and fix overflow issue
1054 * Fix: consumerd pthread error flow
1055 * Fix: Set a single return point and mutex unlock
1056 * Fix: Remove useless NULL and zero assignment
1057 * Fix: segfault on create session with two URLs
1058
d1980281
DG
10592012-10-22 lttng-tools 2.1.0-rc5
1060 * Fix: Remove network stream ID ABI calls
1061 * Tests: Add filtering tests
1062 * Wait for data availability when stopping a session
1063 * Relayd data available command support
1064 * Lib lttng-ctl data available command support
1065 * Consumer daemon data available command support
1066 * Add data structure for the data available command
1067 * Change the metadata hash table node
1068 * Make stream hash tables global to the consumer
1069 * Move add data stream to the data thread
1070 * Rename consumer threads and spawn them in daemon
1071 * Fix: relayd close stream command was not working
1072 * Fix: Relayd and consumerd socket leaks
1073 * Fix: Missing -ENODATA handling in the consumer
1074 * Fix: Empty metadata buffer(s) on HUP|ERR
1075 * ABI with support for compat 32/64 bits
1076 * Fix: Stream allocation and insertion consistency
1077 * Fix: output number of bytes written by relayd
1078 * Add hash table argument to helper functions
1079 * Fix: Add missing call rcu and read side lock
1080 * Tests: Fix LD_PRELOAD library lookup path for health tests
1081 * Fix: Add arbitrary wait period for kernel streaming test
1082 * Fix coding style and add/change debug statements
1083 * Fix: Build out of src tree
1084 * Tests: Add health check tests to configure
1085 * Tests: Add health check thread stall test
1086 * Tests: Add health check thread exit test
1087 * Tests: Add a health check utility program
1088 * Add testpoints in lttng-sessiond for each threads
1089 * New testpoint mechanism to instrument binaries for testing
1090 * Fix: off-by-one in comm proto between lttng-ctl and sessiond
1091 * Fix: Metadata stream leak when received in consumer
1092 * Fix: consumer_allocate_stream error handling
1093 * Fix: consumer should await for initial streams
1094 * Fix: Missing rcu read side lock in consumer
1095
529f6ac2
DG
10962012-09-26 lttng-tools 2.1.0-rc4
1097 * Fix: Change sempahore to pthread conditions
1098 * Fix: relayd relay_send_version: handle sscanf return code
1099 * Fix relayd: NULL ptr deref
1100 * Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak
1101 * Tests: add print bytecode to filter grammar test
1102 * Cleanup: assign values to bytecode opcodes
1103 * Fix: Filter: Fix allocation length error
1104 * Fix: Filter: add missing ast free
1105 * Tests: Add high throughput with bandwidth limits test
1106 * Fix: Returned code when listing kernel channel
1107 * Tests: Rename helper functions to have consistent names
1108 * Tests: Cleanup redundant code and use printing helper functions
1109 * Tests: Add helper functions for printing status and banner
1110 * Tests: Add a check for color support when printing status
1111 * Fix: Lib lttng-ctl on error returns lttng code
1112 * Fix: lttng_set_event_filter() was returning bad error code
1113 * Fix: printing [no write] on lttng list -uf
1114 * Fix: Disable event on filter error with lttng
1115 * Fix: Wrong returned error code on UST enable event
1116 * Add consumer commands to lttng.1 man page
1117 * Add lttng_health_check(3) man page
1118 * Fix: Remove LPOLLNVAL from consumer metadata revents
1119 * Fix: Mismatch of field name between ust and tools
1120 * Add the written value when listing fields
1121 * Fix: Consumer return value check after mmap/splice
1122 * Don't send the subbuffer padding for streaming
1123 * Fix: Returned error code in consumer on read buffer
1124
d3e6246f
DG
11252012-09-12 lttng-tools 2.1.0-rc3
1126 * Fix: Relayd fix ret value when adding a connection
1127 * Add new thread in consumer for metadata handling
1128 * Fix: consumer recv command error path
1129 * Fix filter: fix recent regressions
1130 * Update lttng-ust-abi.h from upstream lttng-ust
1131 * Fix: Accept bytecode of length 65536 bytes
1132 * Fix: Generation of bytecode longer than 32768 bytes fails
1133 * Fix: Filter bytecode alloc buffer size must be a power of 2
1134 * Add lttng-ctl SWIG python bindings
1135 * Add C++ support to API header files
1136 * Librarify filter in liblttng-ctl and hide symbols
1137 * Set hidden visibility for calls used in lttng-ctl
1138 * Notify the user if a filter is already enabled
1139 * Install lttng-error.h and include it in lttng.h
1140 * Add lttng-error.h containing every API err. code
1141 * Fix: missing hostname context
1142
5556277c
DG
11432012-08-22 lttng-tools 2.1.0-rc2
1144 * Fix: put back 2.0 output text for lttng create cmd
1145 * Fix: remove set subdir call that uses bad ptr
1146 * Filter: Handle the unary bitwise not operator (~) with an unsupported
1147 * Fix: missing mutex unlock on register consumer err
1148 * Remove underscore from ifndef of lttng.h
1149 * Remove unused define in lttng.h
1150 * Standardize lttng command line usage text
1151 * Merge duplicate code in consumer for destroy relayd
1152 * Merge duplicate code in consumer for add relayd
1153 * Fix: Possible buffer overflows in strncat() usage
1154 * Move code out of main.c and fix some issues
1155
68264071
DG
11562012-08-17 lttng-tools 2.1.0-rc1
1157 * Feature: Network Streaming
1158 * Add the lttng-relayd binary for network streaming
1159 * Support user space tracer filtering
1160 * Multiple fixes
1161
e371dbd9
DG
11622012-04-19 lttng-tools 2.0.1
1163 * Fix: test script for kernel module validation
1164 * Fix: report error to client on consumerd error
1165 * Fix: add missing ht_destroy at consumer teardown
1166 * Fix: consumer fd recv thread should write into non-blocking pipe
1167 * Fix: work-around glibc __nptl_setxid vs clone hang
1168 * Fix: consumer fd recv poll should be sensitive to POLLPRI too
1169 * Fix consumer lttng_consumer_poll_socket poll revents check bug
1170 * Fix: increase consumer open files limit
1171 * Update README: document dep on modprobe for kernel tracing
1172 * Fix: wait for sessiond to stop in tests
1173 * Fix: remove unused return variable
1174 * Don't report back error on syscalls fail for -a -k
1175 * Fix: destroy context hash table being NULL
1176 * Fix: make lttng expand path for trace output opt
1177 * Fix: return value signedness
1178 * Fix: man page environment variable name error
1179 * Fix: check return value on getenv USER
1180
0e4cbe7e
DG
11812012-03-20 lttng-tools 2.0.0
1182 * Fist STABLE version
1183 * Add version name: Annedd'ale
1184
c6d4a597
DG
11852012-03-20 lttng-tools 2.0.0-rc4
1186 * Fix: add small detail to enable-channel man page
1187 * Fix: warned of arbitrary time for ust-nprocesses test
1188 * Fix. add limitation to man page
1189 * Fix: minor changes to lttng.1
1190 * Fix: add exit values to lttng.1 man page
1191 * Fix: add delay before validating apps in test nproc
1192 * Fix: error handling in lttng enable-event
1193 * Fix: document structure init. to 0 in lttng.h
1194 * Fix: uninitialized variable
1195 * Keep track of FD used for UST applications (v2)
1196 * Fix: lttng view, error message and exit code
1197 * Small fixes to lttng man pages (v2)
1198 * Fix: handle EINTR for sendmsg syscall
1199 * Fix: lttng UI exit value and error message
1200 * Fix: session lock use after free
1201 * Fix kernel_list_events memleaks
1202 * Fix debug message use uninitialized variable
1203 * Fix: trace_ust_destroy_metadata should check for NULL pointer
1204 * Fix: various memleaks
1205 * Fix: hash table allocation out of order on error
1206 * fix: lttng_ht_destroy memleak
1207
b495b935
DG
12082012-03-16 lttng-tools 2.0.0-rc3
1209 * Fix: missing headers for make dist
1210 * Fix: install lttng-consumerd in lib/lttng/libexec/
1211 * Fix: Redefine MAP_STACK to 0 if not defined by the architecture
1212 * Fix: consumer CPU hotplug support
1213 * Fix: double PID registration race
1214 * Make libcompat independent not to confuse automake
1215 * Clarify the license of lttng-ust-abi.h
1216 * Fix: License header
1217 * Fix: wrong return value on consumer socket creation
1218 * Fix: test for UST invalid channel parameters at channel creation
1219 * Fix: recvmsg should handle EINTR
1220 * Fix: error.h non-static variables for liblttng-ctl
1221 * Fix: missing _GNU_SOURCE define
1222 * Fix: improve need root for kernel tracing error message
1223 * Fix: start/stop lttng message error
1224
fc0c6bfb
MD
12252012-03-02 lttng-tools 2.0.0-rc2
1226 * Fix: meaningful error message
1227 * Fix: UST consumer need to iterate on streams, just change their key
1228 * Fix: add missing rcu read lock across RCU HT iteration
1229 * Fix: kernel session closes fd 0 after create
1230 * Fix: sendmsg EPIPE should be quiet by default (expected)
1231 * Fix: thread_registration_apps should set its local sock to -1 when passing it
1232 * Fix: clock -> sock typo
1233 * Fix: consumer race: should allow reuse of FD key
1234 * Fix: Use PERROR all across lttng-tools, never make it quiet
1235 * Fix: test all close return values in sessiond
1236 * Fix: All perror turned into PERROR to show file and line number
1237 * Fix: large audit of close() use in sessiond main.c
1238 * Fix: main.c client/apps sockets and kernel_trace_fd close(0)
1239 * Fix: incorrect close of fd 0 for syscall kernel event destroy
1240 * Fix: sessiond has incorrect missing 0 value in FD check
1241 * Fix: sessiond app listening: use posix-compliant poll flags
1242 * Fix: consumer printf type should match ssize_t (%zd)
1243 * Fix: make ust consumer posix compliant for poll flags
1244 * Fix security permission on lttng run directory
1245 * Fix: Display right loglevel_type in error message
1246 * Fix documentation in lttng.h
1247 * Fix: lttng UST and kernel consumer: fix ret vs errno mixup
1248 * Fix: restart consumerd and sessiond when interrupted in poll()
1249 * Fix: handling bad channel when sending to consumer
1250 * Fix useless variable
1251 * Fix add-context returned error
1252 * fix: add missing break in command handling
1253 * fix: command handling: do not check domain for commands not requiring domain
1254 * fix: if tracing group does not exist, do not report a client error
1255 * Fix: run_as error handling
1256 * Fix usage note on -a
1257 * Revert FreeBSD compatibility layer
1258 * Fix: documented number of subbuffers is incorrect
1259 * Document that num-subbuf and subbuf-size need to be power of 2
1260 * Merge branch 'master' of git://git.lttng.org/lttng-tools
1261
edad7953
DG
12622012-02-20 lttng-tools 2.0.0-rc1
1263 * Fix lttcomm_close_unix_sock to actually close the socket
1264 * lttng-sessiond: Set group permissions explicitly
1265
68c1b383
DG
12662012-02-16 lttng-tools 2.0-pre23
1267 * configure.ac: Fix consumerd64-libdir typo
1268 * Fix existing session daemon check
1269 * Fix missing session locks
1270 * Fix return value on ust app session create
1271 * Fix double start/stop trace
1272 * Fix ust app session started state on start trace
1273 * modprobe statedump, signal and timer lttng module
1274 * Fix hyphens in man pages
1275
76ab874e
DG
12762012-02-14 lttng-tools 2.0-pre22
1277 * Add the bash-completion file to the dist tarball
1278 * Add the LICENSE file too
1279 * Package used for the Ubuntu LTS (feature freeze)
1280
83aac6e3
DG
12812012-02-13 lttng-tools 2.0-pre21
1282 * Fix licensing for hashtable/utils.c
1283 * Print loglevel value in list -u
1284 * Remove "<all> from MSG() when no loglevel is selected
1285 * Initial import of man lttng.1 and lttng-sessiond.8
1286 * Fix memory leak master
1287
09e765bf 12882012-02-09 lttng-tools 2.0-pre20
c54722d0
DG
1289 * New lttng view command
1290 * Multiple loglevel fixes
1291 * Fix list command
1292 * Fix session syscall listing
1293 * Multiple fixes across the code base
1294
87db5b86
DG
12952012-02-02 lttng-tools 2.0-pre19
1296 * Update lttng ust ABI/API copy
1297 * Implement UST calibrate and change default
1298 * Add MSG_WAITALL to recvmsg of sessiond-comm
1299 * Check kernel version for tests
1300 * Add a '--list-options' option to each command.
1301 * First import of extras/ with lttng bash completion
1302 * Remove default defines from lttng.h
1303 * Fix lttng sessiond spawn wait race
1304 * Add CMD_WARNING error code
1305 * Fix context mapping for UST and kernel
1306 * Add kernel work-around for boot_id
1307 * Rewrites lttng-ctl's set_session_daemon_path
1308 * Fix memory lean in all lttng cli commands
1309 * Update loglevel ABI
1310 * Add padding to all ABIs for future development.
1311 * Improve error handling of lttng cli
1312 * Multiple fixes across the code base (nothing critical)
1313
3edea7d5
DG
13142012-01-23 lttng-tools 2.0-pre18
1315 * Complete change of the source directory tree
1316 * Move compat to common and create an internal lib
1317 * Rename lttngerr.h to error.h
1318 * Add kernel module version validation
1319 * Add UST version validation
1320 * Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond
1321 * Fix off-by-one and double list size instead of steady increment
1322
734f79bf
DG
13232012-01-19 lttng-tools 2.0-pre17
1324 * Add and support the new hash table library
1325 * Add lttng hash table support to liblttng-consumer
1326 * RCU support for consumer's hash tables
1327 * UST consumer close shm fd after mapping it
1328 * Remove CLONE_VM flag for runas making gdb debugging impossible
1329 * Make MSG() print on stdout instead of stderr
1330 * Don't init kernel tracer if not root (UID=0)
1331 * Multiple fixes found when reaching max. number of open files
1332 * Add some UST tests
1333 * Multiple segfaults and assert error fixed
1334
032b4c39
DG
13352011-12-23 lttng-tools 2.0-pre16
1336 * Per-user lttng-sessiond now fully functionnal
1337 * Fix nested double usage of hashtable iterators
1338 * Support creds passing between lttng and sessiond
1339 * Rename sessiond internal "uid" fields to "id"
1340 * Create all trace directories and files with client user credentials
1341 * Create output directory at session creation command
1342 * Only allow the user or group owning the session (or root) to control a session
1343 * Add disable kernel tracing option to sessiond
1344
31ff12ff
DG
13452011-12-13 lttng-tools 2.0-pre15
1346 * (MAJOR) User-space tracing support for global domain (lttng-ust 2.0)
1347 * UST consumer 32/64 bit support
1348 * Multiple bug fixes
1349 * Multiple segfault, race and double lock fixes
1350 * API change for lttng_list_domains, lttng_start/stop and lttng_destroy
1351 * UST loglevel support
1352 * ABIs now support 256 char event names
1353 * Dependency on libpopt >= 1.13
1354 * Dependency on URCU >= 0.6.7
1355 * Rename kernel-ctl.c/.h to kernel.c/.h
1356 * Change malloc to zmalloc in lttng-sessiond code
1357 * RCU hashtable support for all UST data structure
1358 * New libconsumer for UST, kernel and one generic
1359 * Change "--all" option from lttng command line
1360 * Remove function entry option to discourage its use
1361
ab7f4103
MD
13622011-09-30 lttng-tools 2.0-pre14
1363 * Syscall tracing support
1364 * Multiple bug fixes (nothing critical)
1365 * Add userspace RCU hash table to tree for dev
1366 * Update UST ABI
1367 * Fix epoll that did not handle EINTR
1368 * Liburcu >= 0.6.5 is needed from this release
1369 * Enabling all events also enable syscall tracing
1370 * Debug messages are now on stderr
1371 * Add basic data structure for UST support but not ready yet.
1372
775182fa
DG
13732011-08-25 lttng-tools 2.0-pre13
1374 * Memory leaks fixes and double lock list
1375 * Add UST registration with sychronisation
1376 * Use poll/epoll compatibility layer for the sessiond
1377 * Major code cleanup of ltt-sessiond/main.c
1378 * Increase listen() connexion limit
1379 * Fix bad enable-channel command
1380 * Rename trace.c/.h to trace-kernel
1381 * Multiple fixes on the poll management with the new epoll API
1382
d6fa0093
DG
13832011-08-25 lttng-tools 2.0-pre12
1384 * Multiple fixes
1385 * Fix kconsumerd handling custom channel output
1386 * Add lttng_register_consumer to register a custom consumer
1387 * Add multiples tests of the session daemon
1388 * Default kernel channel size/number changed
1389 * Support for UST application registration
1390 * Import LTTng UST 2.0 ABI
1391 * Send data to kconsumerd before tracing start
1392 * Export API of lib kernel consumer (liblttngkconsumerd)
1393
3df9eaf3
DG
13942011-08-12 lttng-tools 2.0-pre11
1395 * New lttng API using the lttng_handle
1396 * Multiple fixes of kernel consumer
1397 * Register the consuming function and add a library context
1398 * Kernel consumer fix mmap/munmap
1399 * lttng-sessiond-comm header has been privatize
1400 * Kernel traces are written in the kernel/ directory
1401 * Add underscore to enable-channel command options
1402
f88b0a98
DG
14032011-07-29 lttng-tools 2.0-pre6
1404 * Fix enable multiple events
1405 * Add function entry feature
1406
14072011-07-28 lttng-tools 2.0-pre5
52ffda46
DG
1408 * Fix Add context command
1409 * Fix auto session path creation
1410 * Fix bad strncmp at channel creation
1411
5e96e15d
DG
14122011-07-23 lttng-tools 2.0-pre4
1413 * Fix kprobe attributes
1414 * Fix channel creation when not found at event enable
1415 * Add safe list iteration
1416 * Add two tests into the git tree
1417 * Kernel consumer can be put in debug mode with -vv
1418 * Trace path is now created on the client side
1419
00df03c6
DG
14202011-07-23 lttng-tools 2.0-pre3
1421 * Fix perf hw cache counter config values
1422
de235b67
DG
14232011-07-22 lttng-tools 2.0-pre2
1424 * Multiple fixes
1425 * New add-context options for perf counter and context
1426 * Using the install bin path from autotool for execl() call
1427 * Update quickstart guide
1428
223be86b
DG
14292011-07-20 lttng-tools 2.0-pre1
1430 * First prerelease of lttng-tools.
1431 * Working with the LTTng v2.0-pre1 modules and Babeltrace v0.1
This page took 0.082937 seconds and 4 git commands to generate.