Fix: handle writes of length 0
[lttng-ust.git] / ChangeLog
1 2013-06-25 lttng-ust 2.2.0
2 * Disable doc/examples build
3 * Fix: lttng-events VPATH build
4 * doc/examples: build gen-tp example by default
5 * doc/examples: support BSD make
6
7 2013-06-18 lttng-ust 2.2.0-rc3
8 * Tracepoint.h: replace assertion by fprintf and abort()
9 * Remove unused assert.h from bitfield.h
10 * Clarify probe registration documentation/errors
11 * Add mising include in ust.h
12 * lttng-gen-tp: Fix include guard name with file using non valid characters
13 * Fix: segfault when print invalid command
14 * Fix: Add --no-as-needed to the demo example's Makefile
15 * zmalloc: attribute always_inline
16 * Fix: liblttng-ust process startup hang when sessiond is stopped
17 * Move include directive from CFLAGS to LOCAL_CPPFLAGS in examples' Makefiles
18 * Add parameter -f to rm in Makefile clean target
19 * Fix: missing dependency for liblttng-ust-tracepoint.so
20 * Remove 0.x TODO
21 * Add warning about default prefix and library paths to README
22 * Revert "Revert "Fix (another) linker library order""
23 * Revert "Revert "Fix linker library order""
24 * snprintf: play nice with static checker
25 * tracepoint.c: Add coverity alloc/free annotations
26 * Fix: "fields" leak on register
27 * Fix: memory leak for events without fields
28 * Fix: memory leak on connection reset
29 * Revert "Fix linker library order"
30 * Revert "Fix (another) linker library order"
31 * Fix: incorrect support for multi-context
32 * Fix (another) linker library order
33 * Fix typo in run script
34 * Fix linker library order
35 * Fix examples: add missing CPPFLAGS
36 * example Makefiles: standardize on $^ for linking
37 * Fix demo example Makefile
38 * Move "hello-static-lib" to doc/examples and add non-automake Makefiles
39
40 2013-05-09 lttng-ust 2.2.0-rc2
41 * manpage: Document probe provider compatibility
42 * Fix: add provider ABI compatibility check
43 * Cleanup: ignore mktemp return value
44 * Cleanup: documentation: argument vs field
45 * Documentation: document undefined behavior for NULL pointers
46 * Cleanup: silence cppcheck error
47 * Fix: add internal mutex for timer
48 * 32-bit warning fix for cyg profile fast
49 * Fix warnings for 32-bit in lttng-ust-cyg-profile
50 * Typo fix in README
51 * Fix: tracepoint.h incorrect assumption about constructor order
52 * Cleanup: comment mismatch with code
53 * Fix: ABI breakage between 2.1 and 2.2-rc1
54 * Documentation: document that sequence len field is unsigned
55 * connect: don't report EACCES
56 * connect: don't print error on EPERM
57 * Bump liblttng-ust-ctl lib version major number
58 * Optimisation: implement callsite hash table in tracepoint.c
59 * Optimisation: only update added library in tracepoint.c
60 * Optimisation: only fix pending events once per lazy update
61
62 2013-03-28 lttng-ust 2.2.0-rc1
63 * Fix: tracepoint instrumentation constructor order issue
64 * Documentation: update 2.0 to 2.x
65 * Add demo test back as an example
66 * Don't rely on explicit context for filtering
67 * Implement per-context filtering
68 * Fix: filter string comparison should check for literal
69 * update tests/demo readme file
70 * Add man page for lttng-ust-cyg-profile
71 * Fix: filter string wildcard comparison
72 * Fix: Remove test runner script
73 * Fix: forwarding of call_site argument to field
74 * Add demo README
75 * Tests: Use Perl prove as the testsuite runner
76 * Remove tests depending on consumerd
77 * Convert hello.cxx test to a build test
78 * Clean-up of configure.ac and tests/Makefile.am
79 * Fix snprintf test and output result to TAP format
80 * Replace same_line_marker test with same_line_tracepoint
81 * Remove tests-libustinstr-malloc
82 * Remove exit-fast test
83 * Remove fork test
84 * Remove daemon test
85 * Remove demo test
86 * Remove outdated test-nevents test
87 * Remove outdated simple_include test
88 * Remove outdated register_test test
89 * Convert hello-static-lib test to a build test
90 * Convert hello test to a build test only
91 * Remove outdated libustctl_function_tests test
92 * Remove outdated test hello2
93 * Remove outdated dlopen test
94 * Remove outdated test basic long
95 * Remove outdated test basic
96 * cyg_profile: implement fast and verbose .so
97 * Performance: add unlikely to tracepoint dynamic linking test
98 * Fix: _LGPL_SOURCE rcu dereference fix
99 * Implement liblttng-ust-cyg-profile function entry/exit instrumentation
100 * Minor fix: libc wrapper internal run script
101 * Fix: ustctl_recv_register_event pointer mixup
102 * Fix: allow enabling same events for two channels
103 * Add channel ID field to attr
104 * Remove useless else clause
105 * tracepoint: move "probe" test outside of loop
106 * Fix uninitialized has_loglevel variable
107 * Fix clang warnings
108 * Cleanup: work-around clang unused result warning
109 * Cleanup compile warning
110 * Cleanup: remove unused variables
111 * tracepoint: Don't add NULL probes
112 * Remove mention of locking issues associated with dlopen usage
113 * Implement read timer (for RT)
114 * Only flush when there are readers active
115 * Add mutex for channel wakeup fd update
116 * Fix: fields should be initialized to NULL
117 * Implement ustctl_duplicate_ust_object_data
118 * Add channel wakeup fd to monitor close
119 * Fix: refcount issue in lttng-ust-abi.c
120 * Fix: only consumerd should print errors
121 * Implement ring buffer periodic buffer switch timer
122 * Fix: ensure all probe providers have their symbols
123 * Reactivate error printing
124 * Unregister tracepoint probes when not needed
125 * Cleanup: remove now unused metadata code from UST
126 * Fix: notification timeout logic
127 * Fix: don't print error in comm proto connect on ENOENT
128 * Fix: return expected error return values for sessiond
129 * Fix: set wait/wake fd to -1 before close
130 * Fix: Only notify socket should have timeout/nonblock
131 * Fix: ustctl: return -EPIPE to sessiond if connection is closed
132 * Fix: Add timeout on notification socket
133 * Remove now unused metadata printf code
134 * Move metadata creation into lttng-sessiond and lttng-consumed
135 * Add write metadata API to ust-ctl.h
136 * Move UST registry into sessiond and implement notifiers
137 * Fix: don't flush-final for offset 0 if reader is on sub-buffer
138 * Use tp rcu link test in provider
139 * Remove direct dependency of probes on urcu-bp
140 * Use urcu tls-compat.h
141 * Lazy provider registration
142 * Always use lttng_get_probe_list_head to get probe list
143 * Fix static build
144 * Move LTTng-UST buffer ownership from application to consumer
145 * Fix package: don't distribute generated headers
146 * Fix: don't cancel already exited threads
147 * Scalability fix: tracepoint.c hash table size increase
148 * Scalability fix for many events: event hash table size
149 * Speed up probe registration for large amount of events
150 * Add missing demo-trace shell script to dist tarball
151 * Documentation: add uuid package name for Fedora in README
152 * Fix: missing test for lttng_ust_comm_should_quit in lttng-ust-comm.c
153 * Add compilation support for Tile architectures
154 * Documentation: clarify debian package name for uuid in README
155 * Fix: comment in ust-ctl.h
156 * Fix I/O-related error values in ustctl
157 * Introduce hash table for lttng_create_event_if_missing()
158 * Fix: don't build C++ example if a C++ compiler isn't available
159 * Remove LIBFORMAT output in configure.
160 * Document dependency on libuuid
161
162 2012-12-20 (13th Baktun) lttng-ust 2.1.0
163 * Bump liblttng-ust-ctl lib version major number
164 * Bump UST proto version minor number
165 * Helper to debug: add object name
166 * Tests: Fix rundir not created in ust-basic-tracing
167 * ust test: add missing return -1
168 * Test: update ust tracing unit tests to 2.1 internal ABI
169 * Tests: Fix rundir not created in ust-multi-test
170 * Adapt internal files and examples to TRACEPOINT_INCLUDE
171 * Adapt tests to TRACEPOINT_INCLUDE
172 * Cleanup: tests remove hello.cxx/ust_tests_demo.h
173 * Fix: don't do macro expansion in tracepoint file name
174 * Fix lttng-gen-tp: Template file must end in .tp
175 * Pack structures in comm protocol between UST and sessiond
176 * Cleanup lttng-gen-tp: Help not showing when using -h,--help
177 * Cleanup lttng-gen-tp: remove leading underscore before include guard
178 * fix memleak: ustctl free shadow chan on ustctl_unmap_channel()
179 * Update license text
180 * Fix: check if event enabled for bytecode-less events
181 * Fix: handle enablers without bytecode
182 * Print probe provider mismatch error even without -Wsystem-headers
183 * filter: Add missing padding
184
185 2012-11-22 lttng-ust 2.1.0-rc2
186 * filter interpreter cleanup: use uint64_t for retval
187 * Fix: filter linking can dereference NULL pointer on alloc failure
188 * Cleanup: remove whitespaces and EOL in tests
189 * Filter: use only single lower bit of filter return value
190 * Fix: filter: var len array at end of external structure
191 * Fix: filter link fail handling
192 * Fix: add missing seqnum field to filter
193 * filters: perform union rather than intersection
194 * Implement support for overlapping wildcard/events
195 * Cleanup: add lttng_/lttng-/LTTNG_ prefixes
196 * filter: add seqnum field to filter command
197 * Filter iteration: iterate on list of filters
198 * document that tracepoint names should ideally not be re-used
199 * Remove LIBFORMAT config declaration, unused
200 * Add libc errno translation layer to UST error code
201 * Fix: add const qualifier for filter local void *
202 * Fix: re-allow non-lvalue string, sequence, array parameters
203 * Tear down handles associated with a closed sessiond socket
204 * Distinguish UST return codes from transport return codes
205 * Fix: Conditionally disable tests requiring shared libs support
206 * Cleanup: don't spawn per-user thread if HOME is not set
207 * Manpage: document supported UST contexts
208 * Fix: procname context semantic
209 * Fix: Fix self-assign warning on struct ustfork_clone_info init
210 * Fix: memcpy of string is larger than source
211 * Implement liblttng-ust-fork daemon() override test
212 * liblttng-ust-fork: override daemon() call
213 * ustfork: set errno to ENOSYS if symbol lookup fails
214 * Fix: be quiet on filter linker error
215 * Build out of src tree
216 * Fix: filter bytecode specializer stack leak
217 * Fix: reloc offset validation error out on filters with no reloc table
218 * Perform calculation on bit size in 64-bit
219 * Use uint64_t for packet header content size and packet size
220 * Fix: manpage typo "-lllttng-ust" -> "-llttng-ust"
221 * Fix: BSD getprogname null pointer dereference
222 * Add support for model.emf.uri event info
223 * Filter error message cleanup
224 * Manpage update: document use in daemons
225 * Fix: get_wait_shm() ust mutex deadlock (add 2 missing exit calls)
226 * Fix: get_wait_shm() ust mutex deadlock
227 * Fix: add events with 0 field to field list
228
229 2012-09-10 lttng-ust 2.1.0-rc1
230 * Fix make dist: fix liblttng-ust-java dependencies
231 * Fix make dist: add missing filter header
232 * Fix: backward compatibility with UST 2.0 app probes
233 * Fix: Filter ABI changes to support FILTER_BYTECODE_MAX_LEN (65536)
234 * Export "written" information about fields
235 * Fix filter: pointer to string, not string, should be on stack
236 * Fix: tracepoint float nowrite
237 * Fix: accept 65536 bytes long bytecodes
238 * Add hostname to env
239 * ABI change: bump internal version to 3.0.0
240 * Fix: threads should be created in DETACHED state
241 * Fix: 32-bit x86 strict-aliasing warnings
242 * Fix UST SIGPIPE handling
243 * Fix: Libtool fails to find dependent libraries when cross-compiling lttng-ust
244 * Cleanup: filter: turn bytecode linking error msg into debug
245 * Make lttng-ust robust against -finstrument-functions.
246 * Filter: keep aliased ax and bx registers
247 * Filter: remove interpreter dynamic typing
248 * Filter: add missing specialized op names
249 * Filter: specialize double-s64 binary comparators
250 * Fix filter: fix stack leak on taken branch
251 * Filter: Implement stack-based interpreter
252 * Filter: double comparator produces s64
253 * Filter: use hash table to check merge points
254 * Filter: split passes into separate components
255 * Filter: cleanup macros
256 * Filter: validate range overflow with end of insn
257 * Filter: validate that field ref strings are non-NULL
258 * Filter: ensure logical operator merge is always s64
259 * Filter: we don't care if double/s64 are literals
260 * Filter: specialize 'and' and 'or' ops.
261 * Implement dispatch-table based interpretor
262 * Filter: Specialize unary operators
263 * Define switch use as macro in interpreter
264 * Filter interpreter: mark float test as unlikely
265 * Filter: fix bytecode validation typo
266 * Filter: specialize comparators
267 * Specialize load and unary ops
268 * Validate registers, no need to initialize to 0
269 * Filter: opcode for ref loads
270 * Remove redundant validation from interpreter
271 * filter: Add bytecode validation pass
272 * TRACEPOINT_EVENT: add *_nowrite fields for filter
273 * Only print filter errors if LTTNG_UST_DEBUG is set
274 * Cleanup: remove debug define
275 * Filter: add floating point support
276 * Remove filter test printouts
277 * Implement filter bytecode interpreter and linker
278 * Filter: receive, attach and link empty filter
279 * Filter: prepare filter stack data
280 * Wrap dynamic len array into stackvar union
281 * liblttng-ust-comm/lttng-ust-com.c: remove unnecessary goto in ustcomm_accept_unix_sock()
282 * liblttng-ust/lttng-ust-comm.c: fixing typo.
283 * Fix: remove unused texinfo dep from configure.ac
284 * Fix C99 strict compatibility: don't use void * for function pointers
285 * Fix c99 compatibility: tp_rcu_dereference_bp() should not use braced-groups within expressions
286 * Revert "Fix c99 compatibility: tp_rcu_dereference_bp() should not use braced-groups within expressions"
287 * Fix c99 compatibility: tp_rcu_dereference_bp() should not use braced-groups within expressions
288 * Fix: perform TLS fixup of nest count outside of UST mutex
289 * Fix: liblttng-ust-fork deadlock
290 * Fix: handle pthread errors
291 * Fix: local apps allowed should disable local (not global) tracing
292 * Fix strict ISO-C compatibility for ust-tracepoint-event.h public header
293 * Fix: support -std=c99 in tracepoint macros
294 * Fix c99 compatibility: use __typeof__ instead of typeof in public headers
295 * hello test: fail on old style definition
296 * Fix: tracepoint.h should not generate old-style definitions
297 * Fix: don't define variables in headers
298 * test "hello": add boolean test
299 * Fix: perform macro expansion on tracepoint signatures
300 * UST check pointer/de-reference order
301 * Fix list field: handle error
302 * Implement event fields listing
303 * Implement field listing command
304 * Fix: Block all signals in listener thread
305 * Add CodingStyle document to tarball
306 * Add coding style document
307 * endian.h: support cygwin
308 * align.h: support cygwin page size
309 * Add cygwin support to libringbuffer getcpu.h
310 * Add "2x int" and "2x long" types to the Java interface
311 * Add Integer and Long tracepoint types to the Java interface
312 * Fix: don't SIGBUS when filesystem is full
313 * tracepoint: include stdio.h for NULL definition
314 * manpage update: document that probes need gcc
315 * Fix: remove # in front on extern "C" {
316 * Cleanup: don't use GNU old-style field designator extension
317 * Fix: remove padding field after variable sized array
318 * Use unsigned long type for events discarded counter
319 * Fix: getcpu build with modern uClibc versions
320 * Fix: lttng-ust.pc needs to specify -ldl
321 * Fix: examples Makefiles should pass $(LIBS) at last
322 * Build a jar for the Java side of the JNI interface
323 * Fix: ustctl need to send the second fd upon error of 1st fd
324 * Fix: Add missing fork test program dependency library
325 * Fix: Make the JNI interface actually work
326 * Merge branch 'dev'
327 * Fix: stringify version description
328
329 2012-03-29 lttng-ust 2.0.1
330 * Use bsd-compatible fcntl for close-on-exec on socket
331 * Fix multi-session wildcard support
332 * Fix event lost count when buffer is full
333 * Remove inappropriate \n from easy-ust sample
334
335 2012-03-20 lttng-ust 2.0.0
336 * First STABLE version
337 * Add version name
338
339 2012-03-20 lttng-ust 2.0.0-rc4
340 * Fix out-of-bound write in ltt-events.c
341 * Document LTTNG_UST_DEBUG_VALGRIND compilation flag
342 * Update COPYING
343 * Add exception handling to lttng-gen-tp io operations
344
345 2012-03-16 lttng-ust 2.0.0-rc3
346 * Fix: sendmsg should retry on EINTR, and use MSG_NOSIGNAL
347 * fix: ustcomm_close_unix_sock should close, not shutdown
348 * Fix: do not print EPIPE perror, as it is an expected error
349 * Ensure that multiplication of clock offset is done on 64-bit
350 * Add 2 missing licenses in deprecated tests
351 * Remove unbuild and unused (deprecated) make_shared_lib test
352 * License text standardization, add missing licenses
353 * Cleanup: remove duplicate check for 0 num_subbuf and subbuf_size
354 * Fix: power of 2 size check should apply to size_t type, not uint32_t
355 * Fix: recvmsg should handle EINTR
356 * Make lttng-gen-tp work on python 2.6
357 * Make lttng-gen-tp executable
358
359 2012-03-02 lttng-ust 2.0.0-rc2
360 * Manpage fixes
361 * Fix: dmesg printout should not print metadata warnings
362 * Fix: use transport name as channel name
363 * Fix: Add signature check in tracepoint activation
364 * Fix: add tracepoint signature at tracepoint definition site
365 * Fix: keep event probe signature, for use by event probe signature check
366 * Fix ABI: add padding to structures shared between UST and consumer
367 * Fix ABI: add padding to tracepoint and ring buffer config public structu
368 * Fix ABI: Adding missing padding in tracepoint event structures
369 * Fix: Add include/lttng/ust-config.h to git ignore
370 * Fix effect: update README about dlopen()
371 * Fix: fixup vtid TLS
372 * Fix: fixup ringbuffer tls at constructor by forcing read
373 * Fix: fix deadlock with dlopen() lttng-ust
374 * Fix: only print event errors every 1048576 hits
375 * Fix: add missing debug printout to identify the cause of lost events
376 * fix: liblttng-ust-ctl should check for incorrect parameters
377 * fix: ust comm error handling segfault
378 * Fix: Return -EINVAL instead of print warning if non power of 2 size/num_
379 * fix: on exit, leave thread/mmap reclaim to OS
380 * fix: Handle sys_futex with async cancel, add missing pthread_join
381 * fix: Only munmap the wait page when not exiting from process
382 * Use CPPFLAGS instead of CFLAGS for -I
383 * Fix type range comparison always false for 64-bit arch
384 * demo: remove useless libs
385 * tests: include missing headers
386 * Add missing limits.h include for NAME_MAX
387
388 2012-02-20 lttng-ust 2.0.0-rc1
389 * Standardize version across toolchain
390 * Fix a typo in gen-tp Makefile
391 * Implement the .o file generation in lttng-gen-tp
392
393 2012-02-16 lttng-ust 1.9.8
394 * Fix comment in tracepoint.h
395 * Add loglevel info to manpage
396 * Remove stale binary file
397 * Add lttng-ust(3)
398 * Add a man page for lttng-gen-tp
399 * Install easy-ust and gen-tp examples in doc/
400 * Create the lttng-gen-tp tools as an helper to generate UST .h and .c files
401 * Add missing #define _GNU_SOURCE for sched_getcpu()
402 * Define _GNU_SOURCE for all implementation files rather than getcpu.h
403 * Add sched_getcpu and sysconf to AC_CHECK_FUNCS
404 * Mark lib_ring_buffer_print_errors unused
405 * Cleanup: remove extra space from easy_ust example
406 * Add missing comma to tracepoint STAP_PROBEV call
407
408 2012-02-13 lttng-ust 1.9.7
409 * liblttng-ust-java: add missing -classpath ./
410 * Only specify that sdt.h provides system integration for now
411 * Add STAP_PROBEV check ton configure.ac
412 * Add sdt.h integration
413 * Remove extern C around probe header
414 * Move lttng/config.h to lttng/ust-config.h, and use LTTNG_UST_ namespace
415 * Add a configure report at the end of the output
416 * Add sdt.h integration option
417 * Set default loglevel in metadata
418 * Fix: LTTng-UST java jni wrapper does not build with OpenJDK
419
420 2012-02-09 lttng-ust 1.9.6
421 * Fix tracepoint.h multiple .o within module/core exec linkage bug
422 * tracepoint: name -> _name to fix possible namespace clash
423 * Add debug printout to tracepoint.c
424 * Rename liblttng-ust-libc to liblttng-ust-libc-wrapper
425 * Update hardcoded loglevel
426 * Add "easy_ust" example
427 * Update gitignore
428 * Zero-initialize struct msghdr
429 * Add environment information
430 * Fix event-specific enabling
431 * Update static lib linking
432 * liblttng-ust-libc: fix linking
433 * liblttng-ust-libc: fix lib dependency
434 * Install README and ChangeLog into system doc
435 * Add hello-static-lib test
436 * Fix static provider linking: introduce TRACEPOINT_PROBE_DYNAMIC_LINKAGE
437 * Fix 32-bit type: allocated len is used
438 * Fix 32-bit type mismatch
439
440 2012-02-02 lttng-ust 1.9.5
441 * UST comm ABI: Add padding, push version to 2.0
442 * Update loglevel names
443 * Implement loglevels as event and wildcard attributes
444 * Update loglevel ABI: only loglevel value/enum is known by UST
445 * Pre-assign fixed loglevels
446 * Remove old (now unused) loglevel control code entirely
447 * Update loglevel selection ABI
448 * Use boot_id as monotonic clock uuid
449 * clock: add clock description to metadata
450 * Properly fix the timekeeping overflow detection
451 * Revert "Fix timestamps for slow-paced event rates"
452 * Revert "Force 64-bit timestamps"
453 * Declare struct lttng_ust_calibrate
454 * Force 64-bit timestamps
455 * demo program: ensure we don't link demo on useless libs
456 * ust comm: Receive second FD even if 1st receive failed
457 * ust consumer: close shm fd after mapping it
458 * Add a comment about which wait fd is closed early by UST.
459 * Remove leftover structure in ust-abi.h
460 * Close stream and channel file descriptors as soon as passed to
461 sessiond
462 * Fix AC_LANG_SOURCE usage: only takes one parameter
463 * Fix timestamps for slow-paced event rates
464 * configure.ac: Use AC_LANG_SOURCE for if else macros
465 * Add execution instructions to the demo test program
466 * Force the building of shared noinst libraries in the demo test
467 program.
468 * Only print the futex perror in debug mode
469
470 2011-12-23 lttng-ust 1.9.4
471 * Split liblttng-ust into liblttng-ust and liblttng-ust-tracepoint libs
472 * Comment the union field (only used in call_rcu scheme)
473
474 2011-12-21 lttng-ust 1.9.3
475 * Fix clock source overflow on 32-bit archs
476 * Remove unused trace_clock_frequency
477 * check for negative wait() return value
478 * Add DBG message when registering a probe
479 * Only show futex warning "perror" in debug mode
480
481 2011-12-14 lttng-ust 1.9.2
482 * Add missing ust_libc.h to Makefile.am
483 * Use DBG instead of WARN for futex_wake workaround message
484 * Make dlopen more robust by using the .0 target for the library
485
486 2011-12-13 lttng-ust 1.9.1
487 * First LTTng-UST 2.0 prerelease.
This page took 0.038212 seconds and 4 git commands to generate.