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