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