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