Fix: don't delete stream from connection recv list
[lttng-tools.git] / ChangeLog
1 2014-02-28 lttng-tools 2.4.0 (Public Sleeping Day)
2 * Fix: improve lttng with live by spawning relayd
3 * Fix: relayd should listen for viewers on localhost only by default
4 * Fix: handle loglevel range ALL in list command
5 * Tests: add JUL test for multiple loglevel
6 * Fix: index JUL event by name *and* loglevel
7 * Fix: JUL to enable user and root tracepoints
8 * Fix: handle the registration done command for JUL
9 * Test fix: use temp file sync. of test app
10 * Fix: keep metadata channel attr in UST session
11 * Tests fix: Missing waitpid in fork test
12 * Fix: add loglevel type to lttng list <name>
13 * Fix: minor rephrasing of the lttng.1 man page
14 * Fix: Warn user if JUL port is already being used
15 * Fix: add some sane default values to --live opt
16 * Fix: possible NULL deref. in sessiond error path
17 * Fix: flag that kernel streams FDs has been sent
18 * Fix: forbid session name creation if contains /
19 * Fix: don't start session if no channel
20 * Fix: add missing relayd option to man page
21 * Fix: report error if consumer can't be spawned
22 * Fix: lttng list -u <name> should only list UST
23 * Fix: kernel channel destroy on consumer if sent
24 * Fix: only create UST metadata on start trace
25 * Revert "Fix: wrong condition on startup for low-activity streams"
26 * Fix: missing big endian conversion for one index field
27 * Fix: wrong condition on startup for low-activity streams
28 * Fix: perror on index directory creation error
29 * Comments fix: lttngerr.h -> error.h (./Changelog:754)
30 * Fix: consumerd errors on exit
31 * Fix: scanf unbounded input
32 * Fix: miscellaneous memory handling fixes
33 * Fix: add missing VALGRIND ifdef checks and documentation
34
35 2014-02-14 lttng-tools 2.4.0-rc5
36 * Fix: steal channel key in the consumer to avoid race
37 * Fix: change ERR statement to DBG in kernel read subbuffer
38 * Fix: handle snapshot ENODATA in live timer
39 * Fix: relayd leak on error in consumer splice()
40 * Fix: protect close_write_flag with the rotation lock
41 * Man: clarify loglevel for JUL domain
42 * Fix: Define __STDC_LIMIT_MACROS to fix C++ builds
43 * Fix: bad indentation of lttng list in man page
44 * Fix: wrong data structure used in commit df41f83
45 * Fix: add missing optional dependency to babeltrace in README
46 * Fix: cleanup inconsistent use of spaces/tabs in README
47 * Fix: only set the new_streams flag if a viewer is attached
48 * Fix: lttng-live documentation
49 * Fix: remove dead code in relayd live code
50 * Fix: use after free error code path
51 * Fix: wrong sizeof argument in live viewer create session
52 * Fix: zero out the reply structure in viewer_connect
53 * Fix: write index only if fd is valid
54 * Fix: cleanup relayd on any I/O error in read subbuffer mmap
55 * Fix: memory/fd leak when cleaning streams in channel
56 * Fix: destroy streams in consumer del channel
57 * Fix: add missing urcu wfqueue headers in relayd
58 * Fix: in lttng_read/write deny count bigger than the possible returned value
59 * Fix: fd leak when closing metadata stream
60 * Fix: read subbuffer mmap/splice signedness issue
61 * Doc: live protocol clarifications
62 * Fix: remove unused create_viewer_session option
63 * Fix: don't sleep(1) on the consumer ready flag
64 * Fix: free viewer session in connection_free()
65 * Fix: add missing ctf trace delete before destroy
66 * Fix: don't delete ctf trace while in snapshot mode
67 * Fix: add flag to create session command and fix tests
68 * Fix: cleanup indef guards following the rename
69 * Fix: merge issue with thread quit pipe
70 * Fix: use uint32_t for metadata_flag in viewer's ABI
71 * Fix: check for new streams in all attached sessions
72 * Fix: Move static functions up in the code
73 * Fix: allow attach command to multiple sessions
74 * Fix: handle session hang up in get_new_streams
75 * Fix: force the client to create a viewer session before attaching
76 * Fix: Namespace lttng-viewer-abi
77 * Fix: relayd connection object refactor
78 * Fix: big relayd cleanup and refactor
79 * Fix: code refactoring of viewer streams in relayd
80 * Fix: handle new streams in live mode in relayd
81 * Fix: notify the viewer if new streams got added
82 * Fix: send the streams sent message after metadata
83 * Add extern C to the health-check header
84 * Fix: memory leak in unit test
85 * Man: add JUL DOMAIN section to lttng.1
86 * Fix: handle invalid URL passed to lttng_create_session_live
87 * Fix: add --jul-tcp-port to sessiond man page
88 * Fix: measure UST clock offset with best sample (v2)
89 * Fix: remove free in unit test not needed anymore
90 * Fix: relay create session for version before 2.4
91 * Fix: memory leak when UST events are enabled with exclusions
92
93 2014-01-29 lttng-tools 2.4.0-rc4
94 * Fix: add -b, --background option
95 * health check tests: test relayd and consumerd
96 * tests: Add stop_lttng_relayd_nocheck
97 * Fix: add missing JUL loglevel handling
98 * relayd: add testpoints
99 * relayd: use same pipe for live and main
100 * Cleanup relayd live comment
101 * Fix: relayd: add LPOLLERR to events
102 * Fix: relayd: notify parent of readiness when all threads ready
103 * Fix: tests: start relayd in background mode (-b)
104 * lttng-relayd: implement background cmd line option
105 * sessiond: add missing testpoints
106 * tests: use --background for session daemon
107 * sessiond: add --background argument
108 * Use lib common daemonize
109 * Fix: sessiond: wait for health check readiness
110 * Fix: relayd: initialize lttcomm inet
111 * Consumer: add testpoints
112 * Fix: consumerd: HT init/teardown with program
113 * Cleanup: lttng-ctl-health comment
114 * Add daemonize() to libcommon
115 * Fix: tests: wait for consumerd to complete
116 * Fix: consumerd: use DBG rather than DBG2
117 * Fix: consumerd: only return readiness when health is ready
118 * Fix: consumerd should initialize lttcomm
119 * Fix health check: signal parent before exit testpoint
120 * Test health: add test_thread_ok
121 * health check: change --relayd-path arg to --relayd-path=arg
122 * relayd: add LTTNG_RELAYD_HEALTH env var
123 * Add sessiond/SESSIOND_ prefix to sessiond testpoints
124 * Fix: zero out data structure before using it
125 * Fix: delete metadata stream before destroying it
126 * Fix: report to client when snapshot will be empty
127
128 2014-01-14 lttng-tools 2.4.0-rc3
129 * Fix: metadata stream should be always flagged as ready
130 * Fix: wrong check before destroying the viewer metadata stream
131 * Fix: race with the viewer and readiness of streams
132 * Fix: missing reset when listing UST fields for multiple PIDs
133 * Fix: filter: check binary op nesting
134 * Fix: relayd cmd line option for live port
135 * Fix: remove break in epoll loop of apps. thread
136 * Fix: wrong comment in snapshot public API
137 * Fix: clear the CTF traces when all the streams are closed
138
139 2013-12-10 lttng-tools 2.4.0-rc2
140 * Fix: close connection on incompatible version check
141 * Fix: fields alignements in live protocol
142 * Tests: add regression test for Java JUL support
143 * Fix: possible use after free
144 * Fix: remove unused code in session daemon
145 * Fix: string format with unsigned value
146 * Fix: remove useless assert
147 * Fix: bad logical check of error codes
148 * Fix: resource leak in enable-event command
149 * Fix: unchecked return value in ust app delete
150 * Fix: dereference after null check in UST registry
151 * Fix: Resource leak in ust registry
152 * Fix: backported from urcu commit 92af1a30
153 * Tests: fix racy tests and misleading output messages
154 * Tests: fix bad argument parsing in test app
155 * Fix: remove assert on fd in the read/write layer
156 * Fix: missing lock/unlock when sending index
157 * Fix: update back the metadata len sent on failure
158 * Fix: don't fail on push metadata if no channel
159 * Rename LTTng index in CTF index
160 * Fix: set the enable all event command type
161 * Fix: implicit conversion of enum types in sessiond
162 * Fix: implicit conversion of enum types in consumer
163 * Fix: comparison of unsigned enum expression >= 0
164 * Fix: comparison of unsigned value agains < 0
165 * Fix: create a fast and a long UST snapshot test
166 * Tests: fix racy UST snapshot post mortem test
167 * Tests: remove useless sleep when spawning sessiond
168 * Add travis-ci configuration file
169 * Add libuuid as dependency in README
170 * Tests: add valid test cases to test_utils_expand_path
171 * Tests: add symlink tests for test_utils_expand_path
172 * Fix: utils_expand_path now works for paths that ends with '/.' or '/..'
173 * Fix: comment indentation
174 * Add missing copyright to utils.c
175 * Fix: use non block waitpid to lookup child state
176
177 2013-11-15 lttng-tools 2.4.0-rc1
178 * Live streaming support
179 * Health check support in consumer and relayd
180 * Event exclusion support
181 * Java Util Logging support
182 * Multiple fixes! The diff is just too big to put here.
183
184 2013-11-13 lttng-tools 2.3.1
185 * Fix: typo in --sig-parent help
186 * Fix: application SIGBUS when starting in parallel with sessiond
187 * Fix: missing LTTNG_OK return value for snapshot
188 * Fix: arguments in the wrong order for fd-limit
189 * Fix: Some corrections to the lttng man page
190 * Fix: recv creds comm should handle partial receive
191 * Fix: set app socket timeout just after accept()
192 * Fix typo in lttng snapshot add-output example of lttng(1)
193
194 2013-09-03 lttng-tools 2.3.0
195 * Fix: remove periodical flush test from make check
196
197 2013-08-30 lttng-tools 2.3.0-rc3
198 * Fix: hashtable: take split_count_order into account
199 * Fix: remove wrong doing asserts in sessiond
200 * Tests: fix periodical flush tests to stop app
201 * Fix: correctly close metadata on sessiond thread shutdown
202 * Fix: delete the trace directory used for the test
203 * Fix: remove bad check after epoll wait in consumer
204 * Fix: missing data pending signess conversion
205 * Fix: consumer data pending for empty streams
206 * Fix: hash table growth (for small tables) should be limited (v2)
207 * Fix: run_as gid/uid test should return result to parent
208 * Fix: missing check for metadata data pending
209 * Tests: change buffers UID test to PID
210 * Tests: fix health tests to use custom socket timeout
211 * Fix: remove health test from fast regression
212 * Use socket timeout value for tcp timeout if available
213 * Fix: set the health delta tcp timeout aware
214 * Get the maximum TCP timeout in sessiond
215 * Fix: don't report error if UST app dies
216 * Fix: support VPATH build for tests
217 * Improve comments after review
218 * Rename consumer socket fd to fd_ptr
219 * Lock consumer data before fd check during destroy
220 * Use single callsite for send/recv ops. for consumer in sessiond
221 * Use consumer fd reference in consumer socket obj
222 * Update bash completion
223 * Add --list-commands option to the snapshot command
224 * Reorder functions _lttng_cmd_* functions in bash completion
225 * Use parse_size_suffix in snapshot
226 * Fix: snapshot record error handling
227 * Fix: improve error message when UST support is disabled
228 * Fix: add missing short filter option in help
229 * Fix: typo in configure.ac for version check
230 * Fix: remove calibrate syscall option from code
231 * Fix: snapshot should fail if no successful snapshot is taken
232 * Fix: check UST float field mantissa length
233 * Fix: add UST context in the same order the user enabled them
234 * Introduce configure --with-lttng-system-rundir
235 * Add .dirstamp to gitignore file
236 * Fix: snapshot with multiple UIDs
237 * Prepare for automake deprecation of missing subdir-objects
238 * Fix: typos in --help and manpage
239 * Fix: add-context without -c apply to all channels
240 * Fix: channels can be _enabled_ after tracing is started, but not created
241 * Fix filter parser segmentation fault with bison 3.0
242 * Fix: typo in error msg
243 * Fix: imprecise error message about root sessiond/tracing group
244 * Fix: don't skip chmod if tracing group is not found
245 * Tracepoint probes don't need extern C
246 * Fix: Snapshot should be taken asap in core handler script
247 * Fix: reset out_fd_offset when we rotate the trace file
248 * Fix: LTTNG_ERR_NEED_ROOT_SESSIOND error message
249 * inet/inet6 sockets: apply timeout
250 * Implement timeout for connect ipv4/ipv6
251 * Introduce LTTNG_NETWORK_SOCKET_TIMEOUT env. var
252 * bash completion: add calls to _lttng_complete_sessions
253 * bash completion: Fix copy-paste typo
254 * Extras: Remove deprecated consumer commands in bash completion
255 * bash completion: Remove underscores in handler function names
256 * bash completion: Remove --event for add-context
257 * Update gitignore
258 * relayd: use version macros from build rather than scanf
259 * sessiond: use version major/minor from build for communication with relayd
260 * build: export major/minor/patchlevel numbers
261 * Fix: Dead code when checking return value from (ust_app|kernel)_snapshot_record
262 * Test: enable kernel events after start
263 * Fix: kernel ctl error codes are based on errno
264 * Fix: format string mismatch
265 * test: test_periodical_metadata_flush shrink timer period, kill app
266 * Fix: format string type mismatch
267 * snapshot howto: update text
268 * Add snapshot howto
269
270 2013-07-19 lttng-tools 2.3.0-rc2
271 * Add core-handler README to dist tarball
272 * extras: core-handler: simplify, allow usage from tracing group
273 * Cleanup: add missing dot
274 * Fix: documentation: create name and options
275 * Add core dump snapshot handler script
276 * Fix: sym name len (kernel)
277 * Fix: tests: provide channel name when a non-default channel exists: per-pid
278 * Fix: tests: provide channel name when a non-default channel exists
279 * Fix: data pending race
280 * Fix hang in make check snapshots/test_ust
281 * Cleanup: ust-consumer: wrong indentation
282 * Fix: print dots while waiting for data availability
283 * Fix: remove sleep(1) added by "Fix: (slight UI change) refuse missing -c if non-default channel exists"
284 * Fix: (slight UI change) refuse missing -c if non-default channel exists
285 * Fix: push metadata on stop for per-UID buffers
286 * README: update python documentation
287 * Manpage: other layout cleanups
288 * Manpage: cleanup layout of view
289 * Manpage: cleanup layout of version
290 * Manpage: cleanup layout of stop
291 * Manpage: cleanup layout of start
292 * Manpage: cleanup layout of snapshot
293 * Manpage: cleanup layout of set-session
294 * Manpage: cleanup layout of list
295 * Manpage: cleanup layout of disable-event
296 * Manpage: cleanup layout of disable-channel
297 * Manpage: cleanup layout of enable-event
298 * Manpage: cleanup layout of enable-channel
299 * Manpage: cleanup layout of destroy
300 * Manpage: cleanup layout of create
301 * Manpage: cleanup layout of calibrate
302 * Manpage: cleanup layout of add-context
303 * Documentation: create --snapshot in manpage
304
305 2013-07-17 lttng-tools 2.3.0-rc1
306 * Fix: add missing snapshot header to dist tarball
307 * Documentation: fix thread quit pipe comment
308 * Test for presence of bison and flex when building from git
309 * Test UST snapshot with large metadata
310 * Add test application with large metadata
311 * Cleanup: remove redundant assignment
312 * Fix: use per-uid buffer registry for UID buffer snapshots
313 * cmd.c: fix typos in snapshot commands
314 * Test snapshot per-uid post-mortem
315 * Remove leftover fprintf
316 * Fix deadlock: don't take channel lock in timer
317 * Introduce channel timer lock
318 * document lttng_ustconsumer_request_metadata locking constraints
319 * consumer: remove unused lttng_ustconsumer_push_metadata
320 * Document metadata_socket_lock nesting
321 * lttng_ustconsumer_recv_metadata does not need all those locks
322 * document metadata_switch_timer() deadlock
323 * Fix: add missing metadata socket lock
324 * document metadata_switch_timer() locking constraints
325 * consumer: remove timeout for UST metadata
326 * Introduce pipe for UST metadata cache and stream
327 * consumer: replace DBG2() instances by DBG()
328 * Introduce utils_create_pipe_cloexec_nonblock()
329 * ust consumer: data_pending check is endpoint active
330 * Fix: kernel consumer: data_pending check if endpoint active
331 * consumer: explicitly set endpoint status to active at init
332 * document consumer_metadata_cache_flushed use of consumer_data.lock
333 * consumer: introduce channel lock
334 * Merge branch 'master' of git://git.lttng.org/lttng-tools
335 * Fix: update lttng snapshot help output
336 * Man: fix part of snapshot documentation
337 * Fix: set tracefile size test with PID buffers
338 * Fix: Babelstats fail to parse output with no process name or pid
339 * Missing NULL pointer init in tap.c
340 * Fix: Unchecked asprintf/vasprintf return values
341 * Add snapshots test to fast regression
342 * Fix: kernel data unit test
343 * Fix: snapshot returned valid LTTNG_ERR code
344 * Add the number of snapshot taken to the output path
345 * Fix: RCU read side lock unbalanced
346 * Fix: zeroed snapshot output at init
347 * Support del-output with an output name
348 * Update man page with snapshot command
349 * New UST default buffers is now per UID
350 * Bump UST ABI major version for 2.3 release
351 * Add snapshot mode to lttng list session
352 * Fix: support temporary snapshot max size and name
353 * Support snapshot max-size limitation
354 * Tests: per-UID UST snapshot
355 * Fix: snapshot support for UST and kernel in same session
356 * Implement lttng create --snapshot command
357 * Add create session snapshot API in lttng-sessiond
358 * Add snapshot output init call that uses URIs
359 * Fix: consumer err_sock cloexec
360 * Callsite: add "ip" context
361 * Fix: possible consumer sockets double close on cleanup
362 * Automatically load kvm-x86 and kvm-x86-mmu probes.
363 * Fix: consumer: use uint64_t for all sessiond_id
364 * Fix: add gpl and lgpl files to tarball
365 * Fix: don't install libtap system wide
366 * Fix: close consumer sockets in sessiond cleanup
367 * Fix: set globally visible flag to kernel stream
368 * Fix: lttng: memory leak in snapshot record command
369 * Fix: kernel-consumer: double-close
370 * Fix: consumer: incorrect size zmalloc
371 * Fix: don't try to send stream to relayd if not in streaming
372 * Fix: relayd refcount updates for stream
373 * Fix: don't send error to sessiond on orderly shutdown
374 * Fix: bad pathname used when sending kernel stream to relayd
375 * Fix: add globally visible flag in stream
376 * Fix: destroy metadata stream on setup metadata error path
377 * Fix: send kernel stream to relayd only if needed
378 * Fix: destroy streams for kernel snapshot sessions as well
379 * Fix: close and destroy metadata stream after a kernel snapshot
380 * Fix: print errno message on connect() error
381 * Fix: possible double-close on stream out_fd
382 * Fix: session ID signess to uin64_t in sessiond
383 * Tests: fix validation trace path in kernel snapshot
384 * Tests: Add UST snapshot local and streaming
385 * Add UST snapshot support
386 * Fix: consumer_add_relayd_socket() report errors to sessiond
387 * Fix: add missing enum lttcomm_return_code entries
388 * Fix: UST per-UID channels persist across application teardown
389 * Fix: kernel snapshot metadata handling and error paths
390 * Fix: coding style and debug statement
391 * Fix: put subbuffer back in kernel snapshot error path
392 * Fix: overflow in uri_to_str_url
393 * Fix: detect the correct version of LTTng-UST
394 * Fix: sessiond: use uint64_t for all session ids
395 * Tests: add kernel snapshot streaming to root regression
396 * Tests: remove debug output from test
397 * Tests: Add kernel snapshot streaming
398 * Fix: use snapshot consumer output for kernel
399 * Fix: periodical flush check trace before stop
400 * Fix: consumer: 64-bit index for relayd rather than 32-bit (v2)
401 * Fix UST channel/stream output assignation
402 * Fix: send per-pid session id in channel creation
403 * Fix: consumer double-close on error
404 * Update URCU detection to correctly check for a 0.7 version
405 * Fix: snapshot path
406 * Add utils function to format current time as a string
407 * Fix: set hidden attribute to utils_* calls
408 * Fix: consumer handling of metadata for relayd
409 * Add kernel snapshot support
410 * Support flight recorder mode for a session
411 * Implement snapshot commands in lttng-sessiond
412 * Add snapshot command to lttng UI
413 * Initial import of the snapshot ABI/API in lttng-ctl
414 * Use the consumer stream API in consumer_del_stream()
415 * Add consumer-stream.c/.h in libconsumer
416 * Move multiple URLs parsing fct from lttng-ctl to uri.c
417 * Add a lttng-ctl header to facilitate code separation
418
419 2013-06-25 lttng-tools 2.2.0 (National Catfish Day)
420 * STABLE VERSION
421 * Fix: if relayd is unreachable, disable consumer for the session
422 * Fix: possible infinite loop in disable ust event
423 * Fix: don't enable a channel if a session was already started
424 * Fix: bad type for the relayd id
425 * Fix: add debug statement in kernel flush metadata
426 * Fix: destroy default created channel if add-context fails
427 * Fix: clarify tracefile size/count in lttng.1 man
428 * Fix: don't stop a session that was not previously started
429 * Fix: update lttng.1 man page
430 * Fix: bad protocol flow between sessiond and consumerd
431 * Fix: kernel memory leak in error path
432
433 2013-06-20 lttng-tools 2.2.0-rc3
434 * Multiple memory and fd leak fixes in sessiond and consumerd
435 * Test: stress test added to the repository but not in make check
436 * Using LTTNG_HOME environment variable if exists, with fallback to HOME
437 * Implement health check for app registration dispatch
438 * Implement health check for app notification thread
439 * Revert "Improve channel listing output format"
440 * Fix: use lttng pipe to send new stream to thread
441 * Change consumer_metadata_pipe to be a lttng_pipe
442 * Change consumer_data_pipe to be a lttng_pipe
443 * Add wrappers for pipe
444 * Add --version command-line option to lttng.
445 * Add --with-lttng-ust-prefix config option.
446 * Fixes from coverity scan.
447 * Stability fixes
448 * RCU hash table are now destroyed in a seperate thread in sessiond
449
450 2013-05-09 lttng-tools 2.2.0-rc2
451 * Fix: split UST per UID/PID default values
452 * Fix: don't start the relayd with a wrong --output dir
453 * Fix: Erroneous automatic session name when streaming
454 * Fix: wrong data port when listing session's URI
455 * Fix: don't create a channel on an enable channel
456 * Tests: Add missing test_utils_parse_size_suffix to unit tests
457 * Fix: print lttng strerror on enable event with filter
458 * Fix: change relayd protocol version to 2.2
459 * Fix: reset current size for tracefile rotation
460 * Fix: remove extra -I for python bindings
461 * lttng UI: round up trace file size to subbuf size if needed
462 * Fix lttng UI: fix arg parsing, round size to next power of two
463 * Fix: check errors in lttng command argument values
464 * Implement get_count_order in lttng utils
465 * lttng cli: Accept human readable sizes for --subbuf-size
466 * Unit tests: don't rebuild units under test
467 * Fix: consumerd metadata channel/cache/timer races
468 * Fix: consumerd channel destroy race
469 * Cleanup: document RCU read-side lock better
470 * consumer relayd interaction: fix segfaults
471 * Fix: change order of fd get to fix error path
472 * Fix: fd leak when creating UST metadata channel
473 * Fix: fd leak on error
474 * Fix consumerd fd leak
475 * Fix RCU-related hangs: incorrect lttng_ht_destroy use
476 * rculfhash: check for callers from RCU read-side C.S.
477 * Fix: don't call hash table destroy under rcu read-side c.s.
478 * Documentation: import updated comments from urcu
479 * Fix: segfault in buffer_reg_channel_destroy()
480 * Fix: add missing goto error in UST consumer
481 * Fix: no need to use run_as_open in the relayd
482 * Fix: typo in enable-channel man and help
483 * Fix: add some missing hidden attribute
484 * Fix: per-uid buffers should only be flushed once on stop
485 * Cleanup: Use own mutex within timer setup/teardown
486 * Fix: channel management thread should hold a refcount
487 * Fix: move metadata cache setup before ownership passing
488 * Fix: consumer metadata switch timer error handling
489 * Fix: set ptr to NULL to suppress old gcc warnings
490 * Fix: linking order of libraries
491 * Fix: multiple type mismatch in debug statement
492 * Fix: remove mention of trace directory layout in quickstart doc
493 * Fix: remove unused path variables from session obj
494 * Fix: update lttng.1 man and enable-channel help with read timer size
495 * Fix: use channel per domain default values
496 * Fix: typos in the code base
497 * Fix: deny multiple event types with enable-event
498 * Fix: deny the same port for data and control URL
499 * Fix: reset consumer destination when changing URIs
500 * Fix: don't allow different control and data destination
501 * Fix: typos in error strings
502 * Improve channel listing output format
503 * Fix: enable-channel accepts mismatched option
504 * Fix: validate buffer type for UST channel creation
505
506 2013-03-28 lttng-tools 2.2.0-rc1
507 * Add UST per UID buffers support
508 * UST metadata generation are created on the sessiond side
509 * Move LTTng-UST buffer ownership from application to consumer
510 * Add a UST registry of events and channel in the sessiond
511 * UST periodical metadata flush
512 * Refactor tests to use prove and tap
513 * Support for trace file rotation for the relayd and on disk
514 * Support per-context filtering
515 * Add channel wakeup fd to monitor close
516 * Deprecate enable/disable-consumer
517 * Multiple fixes and memory leak fix.
518
519 2012-12-20 lttng-tools 2.1.0 (13th Baktun)
520 * STABLE VERSION 2.1.0-stable - "Basse Messe"
521 * Multiple minor fixes
522 * Multiple memory and fd leaks
523 * Fix: Off by one in seq num for data pending command
524 * Fix: flag metadata stream on quiescent control cmd
525 * Fix: prioritize control socket communication in relayd
526 * Fix: poll and epoll fd set reallocation
527 * Fix: add missing goto pending if data is inflight
528 * Fix: remove ua_sess->started assert on stop trace
529 * Set classes of traffic in high_throughput_limit
530 * Fix: use the poll wait ret value when iterating on fd(s)
531 * Fix: force the poll() return value to be nb_fd
532 * Fix: Wrong check of node when cleaning up ht
533 * Fix: set started flag of ust app after ustctl
534 * Fix: memory leak in add relayd socket error path
535 * Fix: add packed attribute to filter structure
536 * Fix: Add missing health code update for consumer command
537 * Add LTTNG_PACKED macro
538 * Fix data pending for inflight streaming
539 * Map session id of relayd and sessiond in consumer
540 * Add the relayd create session command
541 * Make the consumer sends a ACK after each command
542 * Remove MSG_WAITALL on every recvmsg() socket typ
543 * Fix: Add missing relayd ht cleanup and ht destroy
544 * Fix: Relayd and sessiond version check
545 * Fix: protect consumer_find_channel with rcu locking
546 * Fix: don't steal key when adding a metadata stream
547 * Consumer hold stream mutex for add stream
548
549 2012-12-03 lttng-tools 2.1.0-rc9
550 * Fix: set the stream ht static in consumer file
551 * Update sessiond man page with new env var
552 * Update lttng.1 man page
553 * Fix: enable-consumer for all domains missing dir
554 * Fix: Add missing fct prototypes when disabling UST
555 * Fix a typo in lttng-probe-module name
556 * Assign values to enum lttcomm_sessiond_command
557 * Fix: run health test only if root
558 * Clarify empty string/NULL filter errors
559 * Fix: add missing padding for UST filter
560
561 2012-11-22 lttng-tools 2.1.0-rc8
562 * Fix: Uninit. variable in lttng view
563 * Add already enabled UST event error code
564 * lttng.h API update: set filter becomes enable event with filter
565 * Change the UST event hash table match function
566 * Pass lttng_event struct to the set_filter API call
567 * Adding context to an event is no longer possible
568 * Add UST overlap tests
569 * Add filter sequence number to UST
570 * Fix: Typo from a previous patch in an assert()
571 * Fix: Warn if session is running with lttng view
572 * Fix: Add bash requirement to README for make check
573 * Fix: add the notion of domain to lttng.1 man page
574 * Enable additional kernel probes
575 * Update CodingStyle
576 * Use the new functions for default subbuf sizes
577 * Add default subbuf sizes getter functions
578 * Add max() and min() macro in common
579
580 2012-11-13 lttng-tools 2.1.0-rc7
581 * Fix: Add pointer check when freeing poll events
582 * Fix: FD leak on thread error
583 * Fix: Wrong fd used by kernel_wait_quiescent
584 * Support new lttng-ust error code
585 * Fix: Don't set filter if enable event fails
586 * Fix: Wrong data port when listing session
587 * Fix: Enable event after start command
588 * Fix: Teardown of thread_manage_clients on failure of listen/create_poll
589 * Add a timeout to UST application socket
590 * Fix: Consumerd error socket connect race
591 * Fix: Set CLOEXEC flag on every created sockets
592 * Remove consumer poll timeout in data thread
593 * Fix: RCU hash table seed
594 * Fix: Do not install health tests helper libraries
595 * Fix: Create default channel on add-context if none
596 * Support new liblttng-ust-ctl error code
597 * Fix: Add EPIPE error handling on buffer splice
598 * Fix: Channel creation error return code was not set
599 * Fix: Wrong poll events on UST application socket
600 * Fix: Remove dependency to urcu-cds in tools tests
601 * Fix: Missing librt dependency in configure check for lttng-ust-ctl
602 * Fix: Don't append datetime to default session name
603 * Fix: Deny session creation name 'auto'
604 * Fix: Add space for stream name CPU number
605 * Fix: Add output option to enable-channel command
606
607 2012-11-02 lttng-tools 2.1.0-rc6
608 * Tests: Add filtering tests for uncovered cases
609 * Fix: Sync issue when deleting a data stream
610 * Rename data_available to data_pending
611 * Fix: consumer health state
612 * Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0
613 * Fix: Bad return error code handling
614 * Fix: Use after free() of the rundir string
615 * Fix: Cleanup UST app session on ustctl create session error
616 * Fix: add missing pthread_join in sessiond
617 * Fix: free running directory string
618 * Fix: UST app clean list node usage
619 * Add liblttng-ctl destructor to cleanup memory
620 * Fix: Cleanup URIs on teardown
621 * Fix: relayd memleaks
622 * Fix: Memory leaks of allocated URIs
623 * Fix: consumer output memory leak on creation
624 * Fix: missing addrlen initialization before accept(2)
625 * Fix: relayd trace file padding memleak
626 * Fix: Remove useless consumer subdir string concatenation
627 * Fix: lttng create allocated path memleak
628 * Fix: Cppcheck memleakOnRealloc mistake
629 * Fix: Synchronization issue for data available command
630 * Fix: consumer relayd cleanup on disconnect
631 * Fix: Handle the unary bitwise negation operator (~) in the XML printer
632 * Fix: Possible memory leaks when creating filter IR root node
633 * Fix: Delete stream on write error in consumer
634 * Fix: Error handling when sending relayd sockets to consumer
635 * Add stream lock comment for nesting
636 * Fix: Mutex and RCU lock nesting in consumer
637 * Fix: Uninitialized ret code
638 * Fix: Remove bad condition and fix overflow issue
639 * Fix: consumerd pthread error flow
640 * Fix: Set a single return point and mutex unlock
641 * Fix: Remove useless NULL and zero assignment
642 * Fix: segfault on create session with two URLs
643
644 2012-10-22 lttng-tools 2.1.0-rc5
645 * Fix: Remove network stream ID ABI calls
646 * Tests: Add filtering tests
647 * Wait for data availability when stopping a session
648 * Relayd data available command support
649 * Lib lttng-ctl data available command support
650 * Consumer daemon data available command support
651 * Add data structure for the data available command
652 * Change the metadata hash table node
653 * Make stream hash tables global to the consumer
654 * Move add data stream to the data thread
655 * Rename consumer threads and spawn them in daemon
656 * Fix: relayd close stream command was not working
657 * Fix: Relayd and consumerd socket leaks
658 * Fix: Missing -ENODATA handling in the consumer
659 * Fix: Empty metadata buffer(s) on HUP|ERR
660 * ABI with support for compat 32/64 bits
661 * Fix: Stream allocation and insertion consistency
662 * Fix: output number of bytes written by relayd
663 * Add hash table argument to helper functions
664 * Fix: Add missing call rcu and read side lock
665 * Tests: Fix LD_PRELOAD library lookup path for health tests
666 * Fix: Add arbitrary wait period for kernel streaming test
667 * Fix coding style and add/change debug statements
668 * Fix: Build out of src tree
669 * Tests: Add health check tests to configure
670 * Tests: Add health check thread stall test
671 * Tests: Add health check thread exit test
672 * Tests: Add a health check utility program
673 * Add testpoints in lttng-sessiond for each threads
674 * New testpoint mechanism to instrument binaries for testing
675 * Fix: off-by-one in comm proto between lttng-ctl and sessiond
676 * Fix: Metadata stream leak when received in consumer
677 * Fix: consumer_allocate_stream error handling
678 * Fix: consumer should await for initial streams
679 * Fix: Missing rcu read side lock in consumer
680
681 2012-09-26 lttng-tools 2.1.0-rc4
682 * Fix: Change sempahore to pthread conditions
683 * Fix: relayd relay_send_version: handle sscanf return code
684 * Fix relayd: NULL ptr deref
685 * Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak
686 * Tests: add print bytecode to filter grammar test
687 * Cleanup: assign values to bytecode opcodes
688 * Fix: Filter: Fix allocation length error
689 * Fix: Filter: add missing ast free
690 * Tests: Add high throughput with bandwidth limits test
691 * Fix: Returned code when listing kernel channel
692 * Tests: Rename helper functions to have consistent names
693 * Tests: Cleanup redundant code and use printing helper functions
694 * Tests: Add helper functions for printing status and banner
695 * Tests: Add a check for color support when printing status
696 * Fix: Lib lttng-ctl on error returns lttng code
697 * Fix: lttng_set_event_filter() was returning bad error code
698 * Fix: printing [no write] on lttng list -uf
699 * Fix: Disable event on filter error with lttng
700 * Fix: Wrong returned error code on UST enable event
701 * Add consumer commands to lttng.1 man page
702 * Add lttng_health_check(3) man page
703 * Fix: Remove LPOLLNVAL from consumer metadata revents
704 * Fix: Mismatch of field name between ust and tools
705 * Add the written value when listing fields
706 * Fix: Consumer return value check after mmap/splice
707 * Don't send the subbuffer padding for streaming
708 * Fix: Returned error code in consumer on read buffer
709
710 2012-09-12 lttng-tools 2.1.0-rc3
711 * Fix: Relayd fix ret value when adding a connection
712 * Add new thread in consumer for metadata handling
713 * Fix: consumer recv command error path
714 * Fix filter: fix recent regressions
715 * Update lttng-ust-abi.h from upstream lttng-ust
716 * Fix: Accept bytecode of length 65536 bytes
717 * Fix: Generation of bytecode longer than 32768 bytes fails
718 * Fix: Filter bytecode alloc buffer size must be a power of 2
719 * Add lttng-ctl SWIG python bindings
720 * Add C++ support to API header files
721 * Librarify filter in liblttng-ctl and hide symbols
722 * Set hidden visibility for calls used in lttng-ctl
723 * Notify the user if a filter is already enabled
724 * Install lttng-error.h and include it in lttng.h
725 * Add lttng-error.h containing every API err. code
726 * Fix: missing hostname context
727
728 2012-08-22 lttng-tools 2.1.0-rc2
729 * Fix: put back 2.0 output text for lttng create cmd
730 * Fix: remove set subdir call that uses bad ptr
731 * Filter: Handle the unary bitwise not operator (~) with an unsupported
732 * Fix: missing mutex unlock on register consumer err
733 * Remove underscore from ifndef of lttng.h
734 * Remove unused define in lttng.h
735 * Standardize lttng command line usage text
736 * Merge duplicate code in consumer for destroy relayd
737 * Merge duplicate code in consumer for add relayd
738 * Fix: Possible buffer overflows in strncat() usage
739 * Move code out of main.c and fix some issues
740
741 2012-08-17 lttng-tools 2.1.0-rc1
742 * Feature: Network Streaming
743 * Add the lttng-relayd binary for network streaming
744 * Support user space tracer filtering
745 * Multiple fixes
746
747 2012-04-19 lttng-tools 2.0.1
748 * Fix: test script for kernel module validation
749 * Fix: report error to client on consumerd error
750 * Fix: add missing ht_destroy at consumer teardown
751 * Fix: consumer fd recv thread should write into non-blocking pipe
752 * Fix: work-around glibc __nptl_setxid vs clone hang
753 * Fix: consumer fd recv poll should be sensitive to POLLPRI too
754 * Fix consumer lttng_consumer_poll_socket poll revents check bug
755 * Fix: increase consumer open files limit
756 * Update README: document dep on modprobe for kernel tracing
757 * Fix: wait for sessiond to stop in tests
758 * Fix: remove unused return variable
759 * Don't report back error on syscalls fail for -a -k
760 * Fix: destroy context hash table being NULL
761 * Fix: make lttng expand path for trace output opt
762 * Fix: return value signedness
763 * Fix: man page environment variable name error
764 * Fix: check return value on getenv USER
765
766 2012-03-20 lttng-tools 2.0.0
767 * Fist STABLE version
768 * Add version name: Annedd'ale
769
770 2012-03-20 lttng-tools 2.0.0-rc4
771 * Fix: add small detail to enable-channel man page
772 * Fix: warned of arbitrary time for ust-nprocesses test
773 * Fix. add limitation to man page
774 * Fix: minor changes to lttng.1
775 * Fix: add exit values to lttng.1 man page
776 * Fix: add delay before validating apps in test nproc
777 * Fix: error handling in lttng enable-event
778 * Fix: document structure init. to 0 in lttng.h
779 * Fix: uninitialized variable
780 * Keep track of FD used for UST applications (v2)
781 * Fix: lttng view, error message and exit code
782 * Small fixes to lttng man pages (v2)
783 * Fix: handle EINTR for sendmsg syscall
784 * Fix: lttng UI exit value and error message
785 * Fix: session lock use after free
786 * Fix kernel_list_events memleaks
787 * Fix debug message use uninitialized variable
788 * Fix: trace_ust_destroy_metadata should check for NULL pointer
789 * Fix: various memleaks
790 * Fix: hash table allocation out of order on error
791 * fix: lttng_ht_destroy memleak
792
793 2012-03-16 lttng-tools 2.0.0-rc3
794 * Fix: missing headers for make dist
795 * Fix: install lttng-consumerd in lib/lttng/libexec/
796 * Fix: Redefine MAP_STACK to 0 if not defined by the architecture
797 * Fix: consumer CPU hotplug support
798 * Fix: double PID registration race
799 * Make libcompat independent not to confuse automake
800 * Clarify the license of lttng-ust-abi.h
801 * Fix: License header
802 * Fix: wrong return value on consumer socket creation
803 * Fix: test for UST invalid channel parameters at channel creation
804 * Fix: recvmsg should handle EINTR
805 * Fix: error.h non-static variables for liblttng-ctl
806 * Fix: missing _GNU_SOURCE define
807 * Fix: improve need root for kernel tracing error message
808 * Fix: start/stop lttng message error
809
810 2012-03-02 lttng-tools 2.0.0-rc2
811 * Fix: meaningful error message
812 * Fix: UST consumer need to iterate on streams, just change their key
813 * Fix: add missing rcu read lock across RCU HT iteration
814 * Fix: kernel session closes fd 0 after create
815 * Fix: sendmsg EPIPE should be quiet by default (expected)
816 * Fix: thread_registration_apps should set its local sock to -1 when passing it
817 * Fix: clock -> sock typo
818 * Fix: consumer race: should allow reuse of FD key
819 * Fix: Use PERROR all across lttng-tools, never make it quiet
820 * Fix: test all close return values in sessiond
821 * Fix: All perror turned into PERROR to show file and line number
822 * Fix: large audit of close() use in sessiond main.c
823 * Fix: main.c client/apps sockets and kernel_trace_fd close(0)
824 * Fix: incorrect close of fd 0 for syscall kernel event destroy
825 * Fix: sessiond has incorrect missing 0 value in FD check
826 * Fix: sessiond app listening: use posix-compliant poll flags
827 * Fix: consumer printf type should match ssize_t (%zd)
828 * Fix: make ust consumer posix compliant for poll flags
829 * Fix security permission on lttng run directory
830 * Fix: Display right loglevel_type in error message
831 * Fix documentation in lttng.h
832 * Fix: lttng UST and kernel consumer: fix ret vs errno mixup
833 * Fix: restart consumerd and sessiond when interrupted in poll()
834 * Fix: handling bad channel when sending to consumer
835 * Fix useless variable
836 * Fix add-context returned error
837 * fix: add missing break in command handling
838 * fix: command handling: do not check domain for commands not requiring domain
839 * fix: if tracing group does not exist, do not report a client error
840 * Fix: run_as error handling
841 * Fix usage note on -a
842 * Revert FreeBSD compatibility layer
843 * Fix: documented number of subbuffers is incorrect
844 * Document that num-subbuf and subbuf-size need to be power of 2
845 * Merge branch 'master' of git://git.lttng.org/lttng-tools
846
847 2012-02-20 lttng-tools 2.0.0-rc1
848 * Fix lttcomm_close_unix_sock to actually close the socket
849 * lttng-sessiond: Set group permissions explicitly
850
851 2012-02-16 lttng-tools 2.0-pre23
852 * configure.ac: Fix consumerd64-libdir typo
853 * Fix existing session daemon check
854 * Fix missing session locks
855 * Fix return value on ust app session create
856 * Fix double start/stop trace
857 * Fix ust app session started state on start trace
858 * modprobe statedump, signal and timer lttng module
859 * Fix hyphens in man pages
860
861 2012-02-14 lttng-tools 2.0-pre22
862 * Add the bash-completion file to the dist tarball
863 * Add the LICENSE file too
864 * Package used for the Ubuntu LTS (feature freeze)
865
866 2012-02-13 lttng-tools 2.0-pre21
867 * Fix licensing for hashtable/utils.c
868 * Print loglevel value in list -u
869 * Remove "<all> from MSG() when no loglevel is selected
870 * Initial import of man lttng.1 and lttng-sessiond.8
871 * Fix memory leak master
872
873 2012-02-09 lttng-tools 2.0-pre20
874 * New lttng view command
875 * Multiple loglevel fixes
876 * Fix list command
877 * Fix session syscall listing
878 * Multiple fixes across the code base
879
880 2012-02-02 lttng-tools 2.0-pre19
881 * Update lttng ust ABI/API copy
882 * Implement UST calibrate and change default
883 * Add MSG_WAITALL to recvmsg of sessiond-comm
884 * Check kernel version for tests
885 * Add a '--list-options' option to each command.
886 * First import of extras/ with lttng bash completion
887 * Remove default defines from lttng.h
888 * Fix lttng sessiond spawn wait race
889 * Add CMD_WARNING error code
890 * Fix context mapping for UST and kernel
891 * Add kernel work-around for boot_id
892 * Rewrites lttng-ctl's set_session_daemon_path
893 * Fix memory lean in all lttng cli commands
894 * Update loglevel ABI
895 * Add padding to all ABIs for future development.
896 * Improve error handling of lttng cli
897 * Multiple fixes across the code base (nothing critical)
898
899 2012-01-23 lttng-tools 2.0-pre18
900 * Complete change of the source directory tree
901 * Move compat to common and create an internal lib
902 * Rename lttngerr.h to error.h
903 * Add kernel module version validation
904 * Add UST version validation
905 * Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond
906 * Fix off-by-one and double list size instead of steady increment
907
908 2012-01-19 lttng-tools 2.0-pre17
909 * Add and support the new hash table library
910 * Add lttng hash table support to liblttng-consumer
911 * RCU support for consumer's hash tables
912 * UST consumer close shm fd after mapping it
913 * Remove CLONE_VM flag for runas making gdb debugging impossible
914 * Make MSG() print on stdout instead of stderr
915 * Don't init kernel tracer if not root (UID=0)
916 * Multiple fixes found when reaching max. number of open files
917 * Add some UST tests
918 * Multiple segfaults and assert error fixed
919
920 2011-12-23 lttng-tools 2.0-pre16
921 * Per-user lttng-sessiond now fully functionnal
922 * Fix nested double usage of hashtable iterators
923 * Support creds passing between lttng and sessiond
924 * Rename sessiond internal "uid" fields to "id"
925 * Create all trace directories and files with client user credentials
926 * Create output directory at session creation command
927 * Only allow the user or group owning the session (or root) to control a session
928 * Add disable kernel tracing option to sessiond
929
930 2011-12-13 lttng-tools 2.0-pre15
931 * (MAJOR) User-space tracing support for global domain (lttng-ust 2.0)
932 * UST consumer 32/64 bit support
933 * Multiple bug fixes
934 * Multiple segfault, race and double lock fixes
935 * API change for lttng_list_domains, lttng_start/stop and lttng_destroy
936 * UST loglevel support
937 * ABIs now support 256 char event names
938 * Dependency on libpopt >= 1.13
939 * Dependency on URCU >= 0.6.7
940 * Rename kernel-ctl.c/.h to kernel.c/.h
941 * Change malloc to zmalloc in lttng-sessiond code
942 * RCU hashtable support for all UST data structure
943 * New libconsumer for UST, kernel and one generic
944 * Change "--all" option from lttng command line
945 * Remove function entry option to discourage its use
946
947 2011-09-30 lttng-tools 2.0-pre14
948 * Syscall tracing support
949 * Multiple bug fixes (nothing critical)
950 * Add userspace RCU hash table to tree for dev
951 * Update UST ABI
952 * Fix epoll that did not handle EINTR
953 * Liburcu >= 0.6.5 is needed from this release
954 * Enabling all events also enable syscall tracing
955 * Debug messages are now on stderr
956 * Add basic data structure for UST support but not ready yet.
957
958 2011-08-25 lttng-tools 2.0-pre13
959 * Memory leaks fixes and double lock list
960 * Add UST registration with sychronisation
961 * Use poll/epoll compatibility layer for the sessiond
962 * Major code cleanup of ltt-sessiond/main.c
963 * Increase listen() connexion limit
964 * Fix bad enable-channel command
965 * Rename trace.c/.h to trace-kernel
966 * Multiple fixes on the poll management with the new epoll API
967
968 2011-08-25 lttng-tools 2.0-pre12
969 * Multiple fixes
970 * Fix kconsumerd handling custom channel output
971 * Add lttng_register_consumer to register a custom consumer
972 * Add multiples tests of the session daemon
973 * Default kernel channel size/number changed
974 * Support for UST application registration
975 * Import LTTng UST 2.0 ABI
976 * Send data to kconsumerd before tracing start
977 * Export API of lib kernel consumer (liblttngkconsumerd)
978
979 2011-08-12 lttng-tools 2.0-pre11
980 * New lttng API using the lttng_handle
981 * Multiple fixes of kernel consumer
982 * Register the consuming function and add a library context
983 * Kernel consumer fix mmap/munmap
984 * lttng-sessiond-comm header has been privatize
985 * Kernel traces are written in the kernel/ directory
986 * Add underscore to enable-channel command options
987
988 2011-07-29 lttng-tools 2.0-pre6
989 * Fix enable multiple events
990 * Add function entry feature
991
992 2011-07-28 lttng-tools 2.0-pre5
993 * Fix Add context command
994 * Fix auto session path creation
995 * Fix bad strncmp at channel creation
996
997 2011-07-23 lttng-tools 2.0-pre4
998 * Fix kprobe attributes
999 * Fix channel creation when not found at event enable
1000 * Add safe list iteration
1001 * Add two tests into the git tree
1002 * Kernel consumer can be put in debug mode with -vv
1003 * Trace path is now created on the client side
1004
1005 2011-07-23 lttng-tools 2.0-pre3
1006 * Fix perf hw cache counter config values
1007
1008 2011-07-22 lttng-tools 2.0-pre2
1009 * Multiple fixes
1010 * New add-context options for perf counter and context
1011 * Using the install bin path from autotool for execl() call
1012 * Update quickstart guide
1013
1014 2011-07-20 lttng-tools 2.0-pre1
1015 * First prerelease of lttng-tools.
1016 * Working with the LTTng v2.0-pre1 modules and Babeltrace v0.1
This page took 0.053003 seconds and 6 git commands to generate.