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