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