Fix: per-uid buffers should only be flushed once on stop
[lttng-tools.git] / ChangeLog
CommitLineData
500c2393
DG
12013-03-28 lttng-tools 2.2.0-rc1
2 * Add UST per UID buffers support
3 * UST metadata generation are created on the sessiond side
4 * Move LTTng-UST buffer ownership from application to consumer
5 * Add a UST registry of events and channel in the sessiond
6 * UST periodical metadata flush
7 * Refactor tests to use prove and tap
8 * Support for trace file rotation for the relayd and on disk
9 * Support per-context filtering
10 * Add channel wakeup fd to monitor close
11 * Deprecate enable/disable-consumer
12 * Multiple fixes and memory leak fix.
13
917f7685
DG
142012-12-20 lttng-tools 2.1.0 (13th Baktun)
15 * STABLE VERSION 2.1.0-stable - "Basse Messe"
16 * Multiple minor fixes
17 * Multiple memory and fd leaks
18 * Fix: Off by one in seq num for data pending command
19 * Fix: flag metadata stream on quiescent control cmd
20 * Fix: prioritize control socket communication in relayd
21 * Fix: poll and epoll fd set reallocation
22 * Fix: add missing goto pending if data is inflight
23 * Fix: remove ua_sess->started assert on stop trace
24 * Set classes of traffic in high_throughput_limit
25 * Fix: use the poll wait ret value when iterating on fd(s)
26 * Fix: force the poll() return value to be nb_fd
27 * Fix: Wrong check of node when cleaning up ht
28 * Fix: set started flag of ust app after ustctl
29 * Fix: memory leak in add relayd socket error path
30 * Fix: add packed attribute to filter structure
31 * Fix: Add missing health code update for consumer command
32 * Add LTTNG_PACKED macro
33 * Fix data pending for inflight streaming
34 * Map session id of relayd and sessiond in consumer
35 * Add the relayd create session command
36 * Make the consumer sends a ACK after each command
37 * Remove MSG_WAITALL on every recvmsg() socket typ
38 * Fix: Add missing relayd ht cleanup and ht destroy
39 * Fix: Relayd and sessiond version check
40 * Fix: protect consumer_find_channel with rcu locking
41 * Fix: don't steal key when adding a metadata stream
42 * Consumer hold stream mutex for add stream
43
48459ee6
DG
442012-12-03 lttng-tools 2.1.0-rc9
45 * Fix: set the stream ht static in consumer file
46 * Update sessiond man page with new env var
47 * Update lttng.1 man page
48 * Fix: enable-consumer for all domains missing dir
49 * Fix: Add missing fct prototypes when disabling UST
50 * Fix a typo in lttng-probe-module name
51 * Assign values to enum lttcomm_sessiond_command
52 * Fix: run health test only if root
53 * Clarify empty string/NULL filter errors
54 * Fix: add missing padding for UST filter
55
2ad3a9a0
DG
562012-11-22 lttng-tools 2.1.0-rc8
57 * Fix: Uninit. variable in lttng view
58 * Add already enabled UST event error code
59 * lttng.h API update: set filter becomes enable event with filter
60 * Change the UST event hash table match function
61 * Pass lttng_event struct to the set_filter API call
62 * Adding context to an event is no longer possible
63 * Add UST overlap tests
64 * Add filter sequence number to UST
65 * Fix: Typo from a previous patch in an assert()
66 * Fix: Warn if session is running with lttng view
67 * Fix: Add bash requirement to README for make check
68 * Fix: add the notion of domain to lttng.1 man page
69 * Enable additional kernel probes
70 * Update CodingStyle
71 * Use the new functions for default subbuf sizes
72 * Add default subbuf sizes getter functions
73 * Add max() and min() macro in common
74
8802e4bd
DG
752012-11-13 lttng-tools 2.1.0-rc7
76 * Fix: Add pointer check when freeing poll events
77 * Fix: FD leak on thread error
78 * Fix: Wrong fd used by kernel_wait_quiescent
79 * Support new lttng-ust error code
80 * Fix: Don't set filter if enable event fails
81 * Fix: Wrong data port when listing session
82 * Fix: Enable event after start command
83 * Fix: Teardown of thread_manage_clients on failure of listen/create_poll
84 * Add a timeout to UST application socket
85 * Fix: Consumerd error socket connect race
86 * Fix: Set CLOEXEC flag on every created sockets
87 * Remove consumer poll timeout in data thread
88 * Fix: RCU hash table seed
89 * Fix: Do not install health tests helper libraries
90 * Fix: Create default channel on add-context if none
91 * Support new liblttng-ust-ctl error code
92 * Fix: Add EPIPE error handling on buffer splice
93 * Fix: Channel creation error return code was not set
94 * Fix: Wrong poll events on UST application socket
95 * Fix: Remove dependency to urcu-cds in tools tests
96 * Fix: Missing librt dependency in configure check for lttng-ust-ctl
97 * Fix: Don't append datetime to default session name
98 * Fix: Deny session creation name 'auto'
99 * Fix: Add space for stream name CPU number
100 * Fix: Add output option to enable-channel command
101
241aaca9
DG
1022012-11-02 lttng-tools 2.1.0-rc6
103 * Tests: Add filtering tests for uncovered cases
104 * Fix: Sync issue when deleting a data stream
105 * Rename data_available to data_pending
106 * Fix: consumer health state
107 * Fix: Add the ACCOUNTING flag to ht creation and set bucket size to 0
108 * Fix: Bad return error code handling
109 * Fix: Use after free() of the rundir string
110 * Fix: Cleanup UST app session on ustctl create session error
111 * Fix: add missing pthread_join in sessiond
112 * Fix: free running directory string
113 * Fix: UST app clean list node usage
114 * Add liblttng-ctl destructor to cleanup memory
115 * Fix: Cleanup URIs on teardown
116 * Fix: relayd memleaks
117 * Fix: Memory leaks of allocated URIs
118 * Fix: consumer output memory leak on creation
119 * Fix: missing addrlen initialization before accept(2)
120 * Fix: relayd trace file padding memleak
121 * Fix: Remove useless consumer subdir string concatenation
122 * Fix: lttng create allocated path memleak
123 * Fix: Cppcheck memleakOnRealloc mistake
124 * Fix: Synchronization issue for data available command
125 * Fix: consumer relayd cleanup on disconnect
126 * Fix: Handle the unary bitwise negation operator (~) in the XML printer
127 * Fix: Possible memory leaks when creating filter IR root node
128 * Fix: Delete stream on write error in consumer
129 * Fix: Error handling when sending relayd sockets to consumer
130 * Add stream lock comment for nesting
131 * Fix: Mutex and RCU lock nesting in consumer
132 * Fix: Uninitialized ret code
133 * Fix: Remove bad condition and fix overflow issue
134 * Fix: consumerd pthread error flow
135 * Fix: Set a single return point and mutex unlock
136 * Fix: Remove useless NULL and zero assignment
137 * Fix: segfault on create session with two URLs
138
d1980281
DG
1392012-10-22 lttng-tools 2.1.0-rc5
140 * Fix: Remove network stream ID ABI calls
141 * Tests: Add filtering tests
142 * Wait for data availability when stopping a session
143 * Relayd data available command support
144 * Lib lttng-ctl data available command support
145 * Consumer daemon data available command support
146 * Add data structure for the data available command
147 * Change the metadata hash table node
148 * Make stream hash tables global to the consumer
149 * Move add data stream to the data thread
150 * Rename consumer threads and spawn them in daemon
151 * Fix: relayd close stream command was not working
152 * Fix: Relayd and consumerd socket leaks
153 * Fix: Missing -ENODATA handling in the consumer
154 * Fix: Empty metadata buffer(s) on HUP|ERR
155 * ABI with support for compat 32/64 bits
156 * Fix: Stream allocation and insertion consistency
157 * Fix: output number of bytes written by relayd
158 * Add hash table argument to helper functions
159 * Fix: Add missing call rcu and read side lock
160 * Tests: Fix LD_PRELOAD library lookup path for health tests
161 * Fix: Add arbitrary wait period for kernel streaming test
162 * Fix coding style and add/change debug statements
163 * Fix: Build out of src tree
164 * Tests: Add health check tests to configure
165 * Tests: Add health check thread stall test
166 * Tests: Add health check thread exit test
167 * Tests: Add a health check utility program
168 * Add testpoints in lttng-sessiond for each threads
169 * New testpoint mechanism to instrument binaries for testing
170 * Fix: off-by-one in comm proto between lttng-ctl and sessiond
171 * Fix: Metadata stream leak when received in consumer
172 * Fix: consumer_allocate_stream error handling
173 * Fix: consumer should await for initial streams
174 * Fix: Missing rcu read side lock in consumer
175
529f6ac2
DG
1762012-09-26 lttng-tools 2.1.0-rc4
177 * Fix: Change sempahore to pthread conditions
178 * Fix: relayd relay_send_version: handle sscanf return code
179 * Fix relayd: NULL ptr deref
180 * Fix: relayd: possible NULL ptr deref, memory leak, accept fd leak
181 * Tests: add print bytecode to filter grammar test
182 * Cleanup: assign values to bytecode opcodes
183 * Fix: Filter: Fix allocation length error
184 * Fix: Filter: add missing ast free
185 * Tests: Add high throughput with bandwidth limits test
186 * Fix: Returned code when listing kernel channel
187 * Tests: Rename helper functions to have consistent names
188 * Tests: Cleanup redundant code and use printing helper functions
189 * Tests: Add helper functions for printing status and banner
190 * Tests: Add a check for color support when printing status
191 * Fix: Lib lttng-ctl on error returns lttng code
192 * Fix: lttng_set_event_filter() was returning bad error code
193 * Fix: printing [no write] on lttng list -uf
194 * Fix: Disable event on filter error with lttng
195 * Fix: Wrong returned error code on UST enable event
196 * Add consumer commands to lttng.1 man page
197 * Add lttng_health_check(3) man page
198 * Fix: Remove LPOLLNVAL from consumer metadata revents
199 * Fix: Mismatch of field name between ust and tools
200 * Add the written value when listing fields
201 * Fix: Consumer return value check after mmap/splice
202 * Don't send the subbuffer padding for streaming
203 * Fix: Returned error code in consumer on read buffer
204
d3e6246f
DG
2052012-09-12 lttng-tools 2.1.0-rc3
206 * Fix: Relayd fix ret value when adding a connection
207 * Add new thread in consumer for metadata handling
208 * Fix: consumer recv command error path
209 * Fix filter: fix recent regressions
210 * Update lttng-ust-abi.h from upstream lttng-ust
211 * Fix: Accept bytecode of length 65536 bytes
212 * Fix: Generation of bytecode longer than 32768 bytes fails
213 * Fix: Filter bytecode alloc buffer size must be a power of 2
214 * Add lttng-ctl SWIG python bindings
215 * Add C++ support to API header files
216 * Librarify filter in liblttng-ctl and hide symbols
217 * Set hidden visibility for calls used in lttng-ctl
218 * Notify the user if a filter is already enabled
219 * Install lttng-error.h and include it in lttng.h
220 * Add lttng-error.h containing every API err. code
221 * Fix: missing hostname context
222
5556277c
DG
2232012-08-22 lttng-tools 2.1.0-rc2
224 * Fix: put back 2.0 output text for lttng create cmd
225 * Fix: remove set subdir call that uses bad ptr
226 * Filter: Handle the unary bitwise not operator (~) with an unsupported
227 * Fix: missing mutex unlock on register consumer err
228 * Remove underscore from ifndef of lttng.h
229 * Remove unused define in lttng.h
230 * Standardize lttng command line usage text
231 * Merge duplicate code in consumer for destroy relayd
232 * Merge duplicate code in consumer for add relayd
233 * Fix: Possible buffer overflows in strncat() usage
234 * Move code out of main.c and fix some issues
235
68264071
DG
2362012-08-17 lttng-tools 2.1.0-rc1
237 * Feature: Network Streaming
238 * Add the lttng-relayd binary for network streaming
239 * Support user space tracer filtering
240 * Multiple fixes
241
e371dbd9
DG
2422012-04-19 lttng-tools 2.0.1
243 * Fix: test script for kernel module validation
244 * Fix: report error to client on consumerd error
245 * Fix: add missing ht_destroy at consumer teardown
246 * Fix: consumer fd recv thread should write into non-blocking pipe
247 * Fix: work-around glibc __nptl_setxid vs clone hang
248 * Fix: consumer fd recv poll should be sensitive to POLLPRI too
249 * Fix consumer lttng_consumer_poll_socket poll revents check bug
250 * Fix: increase consumer open files limit
251 * Update README: document dep on modprobe for kernel tracing
252 * Fix: wait for sessiond to stop in tests
253 * Fix: remove unused return variable
254 * Don't report back error on syscalls fail for -a -k
255 * Fix: destroy context hash table being NULL
256 * Fix: make lttng expand path for trace output opt
257 * Fix: return value signedness
258 * Fix: man page environment variable name error
259 * Fix: check return value on getenv USER
260
0e4cbe7e
DG
2612012-03-20 lttng-tools 2.0.0
262 * Fist STABLE version
263 * Add version name: Annedd'ale
264
c6d4a597
DG
2652012-03-20 lttng-tools 2.0.0-rc4
266 * Fix: add small detail to enable-channel man page
267 * Fix: warned of arbitrary time for ust-nprocesses test
268 * Fix. add limitation to man page
269 * Fix: minor changes to lttng.1
270 * Fix: add exit values to lttng.1 man page
271 * Fix: add delay before validating apps in test nproc
272 * Fix: error handling in lttng enable-event
273 * Fix: document structure init. to 0 in lttng.h
274 * Fix: uninitialized variable
275 * Keep track of FD used for UST applications (v2)
276 * Fix: lttng view, error message and exit code
277 * Small fixes to lttng man pages (v2)
278 * Fix: handle EINTR for sendmsg syscall
279 * Fix: lttng UI exit value and error message
280 * Fix: session lock use after free
281 * Fix kernel_list_events memleaks
282 * Fix debug message use uninitialized variable
283 * Fix: trace_ust_destroy_metadata should check for NULL pointer
284 * Fix: various memleaks
285 * Fix: hash table allocation out of order on error
286 * fix: lttng_ht_destroy memleak
287
b495b935
DG
2882012-03-16 lttng-tools 2.0.0-rc3
289 * Fix: missing headers for make dist
290 * Fix: install lttng-consumerd in lib/lttng/libexec/
291 * Fix: Redefine MAP_STACK to 0 if not defined by the architecture
292 * Fix: consumer CPU hotplug support
293 * Fix: double PID registration race
294 * Make libcompat independent not to confuse automake
295 * Clarify the license of lttng-ust-abi.h
296 * Fix: License header
297 * Fix: wrong return value on consumer socket creation
298 * Fix: test for UST invalid channel parameters at channel creation
299 * Fix: recvmsg should handle EINTR
300 * Fix: error.h non-static variables for liblttng-ctl
301 * Fix: missing _GNU_SOURCE define
302 * Fix: improve need root for kernel tracing error message
303 * Fix: start/stop lttng message error
304
fc0c6bfb
MD
3052012-03-02 lttng-tools 2.0.0-rc2
306 * Fix: meaningful error message
307 * Fix: UST consumer need to iterate on streams, just change their key
308 * Fix: add missing rcu read lock across RCU HT iteration
309 * Fix: kernel session closes fd 0 after create
310 * Fix: sendmsg EPIPE should be quiet by default (expected)
311 * Fix: thread_registration_apps should set its local sock to -1 when passing it
312 * Fix: clock -> sock typo
313 * Fix: consumer race: should allow reuse of FD key
314 * Fix: Use PERROR all across lttng-tools, never make it quiet
315 * Fix: test all close return values in sessiond
316 * Fix: All perror turned into PERROR to show file and line number
317 * Fix: large audit of close() use in sessiond main.c
318 * Fix: main.c client/apps sockets and kernel_trace_fd close(0)
319 * Fix: incorrect close of fd 0 for syscall kernel event destroy
320 * Fix: sessiond has incorrect missing 0 value in FD check
321 * Fix: sessiond app listening: use posix-compliant poll flags
322 * Fix: consumer printf type should match ssize_t (%zd)
323 * Fix: make ust consumer posix compliant for poll flags
324 * Fix security permission on lttng run directory
325 * Fix: Display right loglevel_type in error message
326 * Fix documentation in lttng.h
327 * Fix: lttng UST and kernel consumer: fix ret vs errno mixup
328 * Fix: restart consumerd and sessiond when interrupted in poll()
329 * Fix: handling bad channel when sending to consumer
330 * Fix useless variable
331 * Fix add-context returned error
332 * fix: add missing break in command handling
333 * fix: command handling: do not check domain for commands not requiring domain
334 * fix: if tracing group does not exist, do not report a client error
335 * Fix: run_as error handling
336 * Fix usage note on -a
337 * Revert FreeBSD compatibility layer
338 * Fix: documented number of subbuffers is incorrect
339 * Document that num-subbuf and subbuf-size need to be power of 2
340 * Merge branch 'master' of git://git.lttng.org/lttng-tools
341
edad7953
DG
3422012-02-20 lttng-tools 2.0.0-rc1
343 * Fix lttcomm_close_unix_sock to actually close the socket
344 * lttng-sessiond: Set group permissions explicitly
345
68c1b383
DG
3462012-02-16 lttng-tools 2.0-pre23
347 * configure.ac: Fix consumerd64-libdir typo
348 * Fix existing session daemon check
349 * Fix missing session locks
350 * Fix return value on ust app session create
351 * Fix double start/stop trace
352 * Fix ust app session started state on start trace
353 * modprobe statedump, signal and timer lttng module
354 * Fix hyphens in man pages
355
76ab874e
DG
3562012-02-14 lttng-tools 2.0-pre22
357 * Add the bash-completion file to the dist tarball
358 * Add the LICENSE file too
359 * Package used for the Ubuntu LTS (feature freeze)
360
83aac6e3
DG
3612012-02-13 lttng-tools 2.0-pre21
362 * Fix licensing for hashtable/utils.c
363 * Print loglevel value in list -u
364 * Remove "<all> from MSG() when no loglevel is selected
365 * Initial import of man lttng.1 and lttng-sessiond.8
366 * Fix memory leak master
367
09e765bf 3682012-02-09 lttng-tools 2.0-pre20
c54722d0
DG
369 * New lttng view command
370 * Multiple loglevel fixes
371 * Fix list command
372 * Fix session syscall listing
373 * Multiple fixes across the code base
374
87db5b86
DG
3752012-02-02 lttng-tools 2.0-pre19
376 * Update lttng ust ABI/API copy
377 * Implement UST calibrate and change default
378 * Add MSG_WAITALL to recvmsg of sessiond-comm
379 * Check kernel version for tests
380 * Add a '--list-options' option to each command.
381 * First import of extras/ with lttng bash completion
382 * Remove default defines from lttng.h
383 * Fix lttng sessiond spawn wait race
384 * Add CMD_WARNING error code
385 * Fix context mapping for UST and kernel
386 * Add kernel work-around for boot_id
387 * Rewrites lttng-ctl's set_session_daemon_path
388 * Fix memory lean in all lttng cli commands
389 * Update loglevel ABI
390 * Add padding to all ABIs for future development.
391 * Improve error handling of lttng cli
392 * Multiple fixes across the code base (nothing critical)
393
3edea7d5
DG
3942012-01-23 lttng-tools 2.0-pre18
395 * Complete change of the source directory tree
396 * Move compat to common and create an internal lib
397 * Rename lttngerr.h to error.h
398 * Add kernel module version validation
399 * Add UST version validation
400 * Change SIGCHLD to SIGUSR1 when lttng waiting on sessiond
401 * Fix off-by-one and double list size instead of steady increment
402
734f79bf
DG
4032012-01-19 lttng-tools 2.0-pre17
404 * Add and support the new hash table library
405 * Add lttng hash table support to liblttng-consumer
406 * RCU support for consumer's hash tables
407 * UST consumer close shm fd after mapping it
408 * Remove CLONE_VM flag for runas making gdb debugging impossible
409 * Make MSG() print on stdout instead of stderr
410 * Don't init kernel tracer if not root (UID=0)
411 * Multiple fixes found when reaching max. number of open files
412 * Add some UST tests
413 * Multiple segfaults and assert error fixed
414
032b4c39
DG
4152011-12-23 lttng-tools 2.0-pre16
416 * Per-user lttng-sessiond now fully functionnal
417 * Fix nested double usage of hashtable iterators
418 * Support creds passing between lttng and sessiond
419 * Rename sessiond internal "uid" fields to "id"
420 * Create all trace directories and files with client user credentials
421 * Create output directory at session creation command
422 * Only allow the user or group owning the session (or root) to control a session
423 * Add disable kernel tracing option to sessiond
424
31ff12ff
DG
4252011-12-13 lttng-tools 2.0-pre15
426 * (MAJOR) User-space tracing support for global domain (lttng-ust 2.0)
427 * UST consumer 32/64 bit support
428 * Multiple bug fixes
429 * Multiple segfault, race and double lock fixes
430 * API change for lttng_list_domains, lttng_start/stop and lttng_destroy
431 * UST loglevel support
432 * ABIs now support 256 char event names
433 * Dependency on libpopt >= 1.13
434 * Dependency on URCU >= 0.6.7
435 * Rename kernel-ctl.c/.h to kernel.c/.h
436 * Change malloc to zmalloc in lttng-sessiond code
437 * RCU hashtable support for all UST data structure
438 * New libconsumer for UST, kernel and one generic
439 * Change "--all" option from lttng command line
440 * Remove function entry option to discourage its use
441
ab7f4103
MD
4422011-09-30 lttng-tools 2.0-pre14
443 * Syscall tracing support
444 * Multiple bug fixes (nothing critical)
445 * Add userspace RCU hash table to tree for dev
446 * Update UST ABI
447 * Fix epoll that did not handle EINTR
448 * Liburcu >= 0.6.5 is needed from this release
449 * Enabling all events also enable syscall tracing
450 * Debug messages are now on stderr
451 * Add basic data structure for UST support but not ready yet.
452
775182fa
DG
4532011-08-25 lttng-tools 2.0-pre13
454 * Memory leaks fixes and double lock list
455 * Add UST registration with sychronisation
456 * Use poll/epoll compatibility layer for the sessiond
457 * Major code cleanup of ltt-sessiond/main.c
458 * Increase listen() connexion limit
459 * Fix bad enable-channel command
460 * Rename trace.c/.h to trace-kernel
461 * Multiple fixes on the poll management with the new epoll API
462
d6fa0093
DG
4632011-08-25 lttng-tools 2.0-pre12
464 * Multiple fixes
465 * Fix kconsumerd handling custom channel output
466 * Add lttng_register_consumer to register a custom consumer
467 * Add multiples tests of the session daemon
468 * Default kernel channel size/number changed
469 * Support for UST application registration
470 * Import LTTng UST 2.0 ABI
471 * Send data to kconsumerd before tracing start
472 * Export API of lib kernel consumer (liblttngkconsumerd)
473
3df9eaf3
DG
4742011-08-12 lttng-tools 2.0-pre11
475 * New lttng API using the lttng_handle
476 * Multiple fixes of kernel consumer
477 * Register the consuming function and add a library context
478 * Kernel consumer fix mmap/munmap
479 * lttng-sessiond-comm header has been privatize
480 * Kernel traces are written in the kernel/ directory
481 * Add underscore to enable-channel command options
482
f88b0a98
DG
4832011-07-29 lttng-tools 2.0-pre6
484 * Fix enable multiple events
485 * Add function entry feature
486
4872011-07-28 lttng-tools 2.0-pre5
52ffda46
DG
488 * Fix Add context command
489 * Fix auto session path creation
490 * Fix bad strncmp at channel creation
491
5e96e15d
DG
4922011-07-23 lttng-tools 2.0-pre4
493 * Fix kprobe attributes
494 * Fix channel creation when not found at event enable
495 * Add safe list iteration
496 * Add two tests into the git tree
497 * Kernel consumer can be put in debug mode with -vv
498 * Trace path is now created on the client side
499
00df03c6
DG
5002011-07-23 lttng-tools 2.0-pre3
501 * Fix perf hw cache counter config values
502
de235b67
DG
5032011-07-22 lttng-tools 2.0-pre2
504 * Multiple fixes
505 * New add-context options for perf counter and context
506 * Using the install bin path from autotool for execl() call
507 * Update quickstart guide
508
223be86b
DG
5092011-07-20 lttng-tools 2.0-pre1
510 * First prerelease of lttng-tools.
511 * Working with the LTTng v2.0-pre1 modules and Babeltrace v0.1
This page took 0.064103 seconds and 4 git commands to generate.