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