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