Fix: missing parenthesis in offset_align_floor
[babeltrace.git] / ChangeLog
CommitLineData
4235dc7a
MD
12014-02-28 Babeltrace 1.1.2
2 * Cleanup: remove logically dead code
3 * Fix: ctf.c fscanf missing integer length check
4 * Add Jérémie Galarneau as co-maintainer
5 * Fix: disallow re-using same event ID in same stream
6 * Fix: check for unknown enum/variant fields
7 * Fix: libbabeltrace lib build dependencies
8 * Be more widely accepting for missing variant/enum fields
9 * Refuse 0 integer size
10 * Fix: read/write mode check
11 * Cleanup: do not duplicate code in float fix
12 * Fix: floats should set content size in tmp definition
13 * Fix: test content size vs headers len
14 * Fix: test for less than 1 byte packets
15 * Fix: reversed logic in packet vs content size
16 * Fix: clarify end of packet error
17 * Fix: string packet boundary handling, bits vs bytes
18 * Fix: add stricter checks on packet boundaries
19 * Cleanup: fix typo
20 * Fix: fail when reading 0 byte event
21 * Fix: Take the iterator's end position into account
22 * Fix: Use the bt_iter_set_pos function to set the begin_pos
23 * Fix: Don't create a new packet if ctf_move_pos() seeks out of a packet
24 * Fix: Uninitialized ctf_stream_pos structure in ctf_float_write()
25 * Fix: Use the packet's final size when mmap-ing the next packet
26 * Fix: Close traces on context destruction
27 * gcc warning fix: -Wextra
28 * Declare enum type to use from C++
29 * Tests: fix string octal encoding
30 * Fix ctf_clock_declaration_visit returning an error when reading a boolean
31 * Fix CTF parser hang with bison 3.0
32 * Add missing lex/bison generated files to make clean
33 * Test for presence of bison and flex when building from git
34 * Fix: Unchecked asprintf/vasprintf return values
35 * Missing NULL pointer init in tap.c
36 * Document: manpage: chronologically ordered events
37 * Cleanup: comment mismatch with code
38 * Cleanup: remove whitespaces at end of lines
39
87353f23
MD
402013-06-18 Babeltrace 1.1.1
41 * Compare traces by stream path as secondary key
42 * Fix: use index, not cur_index, for SEEK_SET validation
43 * Fix: ctf-text irregular output with disabled field names
44 * Support old compilers
45 * Remove useless variable assignment
46 * Fix: Remove extra quote after an include directive
47 * Don't dereference before NULL check
48 * eliminate dead code
49 * fix babeltrace-log error checking
50 * Fix resource leak on error path
51 * Fix: handle error checking should compare against NULL
52 * Remove unused array in bt_context_add_traces_recursive
53 * Fix: Suppress a compiler warning (always-false condition)
54 * Cleanup: remove trailing whitespaces
55 * Move memstream.h and uuid.h to include/babeltrace/compat directory
56 * Fix: handling of empty streams
57 * Add new option --clock-offset-ns
58 * Fix: add missing error return when create_event_definitions fails
59 * Fix: ctf-text should link on libbabeltrace-ctf
60 * Move clock to bt_trace_descriptor
61 * Remove unused stream_heap
62 * Move trace collection pointer to bt_trace_descriptor
63 * Move bt_handle to bt_trace_descriptor
64 * Move bt_context to bt_trace_descriptor
65 * Privatize struct bt_trace descriptor, move trace path
66 * Add backward ref from bt_stream_pos to bt_trace_descriptor
67 * Fix kFreeBSD build
68 * Fix: babeltrace-log timestamps should be in nsec
69 * Use objstack for AST allocation
70 * Remove unused gc field
71 * Use objstack to store nodes
72 * Use objstack for strings
73 * Implement objstack for parser
74 * Fix: octal and hex string handling
75 * Simplify error node
76 * Lexer cleanup
77 * Fix: invalid integer suffix parsing
78 * Test cleanup
79 * Test cleanup
80 * Test cleanup
81 * Fix: bootstrap should call libtoolize
82 * Fix bootstrap script
83 * Use uint64_t for packet_map_len
84 * Add smalltrace succeed/fail test cases
85 * Support packets and trace files smaller than page size
86 * Move ctf-metadata plugin into its own shared object
87 * Implement ctf-metadata output plugin
88 * Handle make_node errors with TLS dummy node
89 * Remove nested expressions
90 * Eliminate dead code
91 * Fix: trace_collection_add() add after check
92 * Handle integers in lexer rather than grammar
93 * Implement perror printf
94 * Support escape characters in metadata strings
95 * Add error node to AST
96 * Introduce macro to enforce matching enum to string for node types
97 * Fix: add semantic check in grammar
98 * Implement likely/unlikely ifdefs
99 * Fix unary constant use after error
100 * Use new print macros in ctf-parser.y
101 * Print error on invalid token
102 * Implement macros for error printout
103 * Add line number to parser nodes
104 * Fix: handle errors gracefully
105 * Fix: memleak on error path
106 * Add missing NULL pointer check
107 * Show token in CTF parser error
108 * Remove unused lineno from struct ctf_scanner
109 * Show line numbers in CTF parser errors
110 * Ignore Windows-style EOL character in metadata
111 * Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P
112
c99b1910
MD
1132013-03-23 Babeltrace 1.1.0
114 * Reinsert "at end of stream" message for discarded events
115 * Improvement: Message from babeltrace concerning discarded events needs i
116 * Cleanup: typo fix
117 * Cleanup: add end of line at end of verbose message
118 * Fix: misleading message from babeltrace --verbose
119 * Fix: babeltrace --fields all overrides --no-delta
120 * Add verbosity to stream id error message
121 * Fix: Ensure the specified input format is CTF
122 * Fix: Undefined behavior of double free on strlist in get_names_args
123 * Fix: ctf-text: don't close stdout
124 * Fix: warning message for unexpected trace byte order
125 * Namespace the struct declaration
126 * Namespace the struct definition
127 * Namespace the struct format
128 * Namespace the struct mmap_stream
129 * Namespace the struct trace_descriptor
130 * Namespace struct stream_pos
131 * Namespace compliance for dependencies function
132 * Cleanup error messages
133 * Fix: babeltrace: make '-w' actually work
134 * Convert the unit tests to the TAP format
135 * Spelling cleanups within comments
136 * Move the bitfield test to tests/lib/
137 * Fix: Added a null pointer check to bt_ctf_field_name
138 * Add babeltrace.pc to gitignore
139 * namespacing: place flex/bison symbols under bt_yy namespace
140 * namespace the lookup_integer function
141 * namespace the definition functions
142 * namespace the variant functions
143 * namespace the declaration functions
144 * namespace the collection functions
145 * namespace the heap functions
146 * namespace the struct functions
147 * namespace the string functions
148 * namespace the sequence functions
149 * namespace the int functions
150 * namespace the enum functions
151 * namespace definition_ref and definition_unref
152 * namespace declaration_ref and declaration_unref
153 * namespace the array functions
154 * namespace the scope_path functions
155 * Hide internal functions of libbabeltrace-ctf
156 * Hide internal functions of ctf-text
157 * BT_HIDDEN macro
158 * Namespace the lookup_enum function
159
9eaf2543
MD
1602012-01-24 Babeltrace 1.0.3
161 * Fix: Double free when calling bt_context_remove_trace()
162 * Add missing runall.sh to dist packaging
163 * Fix: alignment of compound types containing array field
164
6d204f6d
MD
1652012-01-11 Babeltrace 1.0.2
166 * Fix: add tests/lib missing files to Makefile.am
167
ce6370b5
MD
1682012-01-11 Babeltrace 1.0.1
169 * Provides a basic pkg-config file for libbabeltrace
170 * Fix erroneous warning/error messages
171 * Fix comment in context.h
172 * Cleanup: Remove whitespace at EOL from mit-license.txt
173 * Add missing permission notice in each source file
174 * Adding a test which do a sequence of seek BEGIN, LAST, BEGIN, LAST
175 * Run seek tests on a second trace file
176 * Add #define _GNU_SOURCE to remove warning about asprintf
177 * Include a test for SEEK_BEGIN and SEEK_LAST
178 * Fix: Report success even if we find at least one valid stream in find_max_timestamp_ctf_stream_class
179 * Fix SEEK_BEGIN for streams that do not contain any event
180
f6ed7fa4
MD
1812012-10-27 Babeltrace 1.0.0
182 * tests: add test traces to distribution tarball
183 * Document bash requirement for make check in README
184 * Add tests to make check
185 * Fix: add missing header size validation
186 * callbacks.c: handle extract_ctf_stream_event return value
187 * Cleanup: fix cppcheck warning
188 * Cleanup: fix cppcheck warnings
189 * fix double-free on error path
190
d01910af
MD
1912012-10-18 Babeltrace 1.0.0-rc6
192 * Add valgrind suppression file for libpopt
193 * Fix: unplug memory leak that causes popt-0.13 to segfault
194 * Fix: test all close/fclose ret val, fix double close
195 * Cleanup: add missing newline
196 * Fix: fd leak on trace close
197 * Fix memory leaks induced by lack of libpopt documentation
198 * babeltrace: fix poptGetOptArg memleak
199 * plugins: implement plugin unregister
200 * Doc: valgrind with babeltrace (glib workaround)
201 * callsites: fix memory leak
202 * Fix: free all the metadata-related memory
203 * Fix : Free the iterator callback arrays
204 * Fix : cleanup teardown of context
205 * Fix : protect static float and double declarations
206 * callsite: support instruction pointer field
207 * Document that list.h is LGPLv2.1, but entirely trivial
208 * Fix: callsite support: list multiple callsites
209 * Add callsite support
210 * Fix: Allow 64-bit packet offset
211 * Fix: emf uri: surround by " "
212 * Handle model.emf.uri event info
213 * Fix: Documentation cleanup
214 * Fix: misplaced C++ ifdef
215 * Fix babeltrace-log get big line when the input file last line don't have enter
216 * API Fix: bt_ctf_iter_read_event_flags
217 * Fix: get encoding for char arrays and sequences
218 * Fix: access to declaration from declaration_field
219 * Fix: get_declaration_* should not cast to field
220 * Fix babeltrace-log uninitialized memory (v2)
221 * Revert "Fix babeltrace-log uninitialized memory"
222 * Fix babeltrace-log uninitialized memory
223 * Fix: access field properties by declaration
224 * Fix: check return value of get_char_array
225 * Fix: C++ support to API header files
226
7c282828
MD
2272012-08-27 Babeltrace 1.0.0-rc5
228 * Change default printout to add host, process names and vpid
229 * Add support for trace:hostname field
230 * Fix: allow specifying more than one input trace path
231 * Fix: make warnings (partial errors) visible
232 * Fix: --clock-force-correlate to handle trace collections gathered from v
233 * Documentation: update API doc with enum functions
234 * Fix: API: remove unsupported BT_SEEK_END from API
235 * API documentation
236 * Cleanup: shut up gcc uninitialized var warning
237 * Fix: support large files on 32-bit systems
238 * Fix: remove unused fts.h include
239 * Fix: add missing enum support to API
240 * Fix: handle clock offset with frequency different from 1GHz
241 * Cleanup: update ifdef wrapper name
242 * Fix: clarify bt_ctf_get_field_list
243 * Fix trace-collection.h: No such file or directory that build code with l
244 * Fix: check return value of bt_context_create
245 * Fix: ensure mmap_base_offset is zeroed on initialization
246 * Fix: Reswitch to FTW for add_traces_recursive
247 * Fix: don't free unallocated index
248 * Fix: don't close the metadata FD if a FP is passed
249 * Add BT_SEEK_LAST type to bt_iter_pos
250 * Fix: iterator.c BT_SEEK_RESTORE: check return value
251 * Fix: complete error handling of babeltrace API
252 * cleanup: protected -> hidden: cleanup symbol table
253 * Fix: add mmap_base_offset to ctf_stream_pos
254 * Fix: assign the current clock for mmap traces
255 * Fix: libbabeltrace add missing static declaration
256 * Fix: safety checks for opening mmap traces
257 * Remove trace-collection.h from include_headers
258 * Fix: protect visibility of ctf-parser functions
259 * Fix: correct name of bt_ctf_field_get_error in comments and typo in man
260 * Fix: wrong type in bt_ctf_get_uint64/int64
261 * API cleanup name get_timestamp and get_cycles
262 * fix comment struct bt_saved_pos
263 * Fix: Add missing clock-types.h
264 * Get rid of clock-raw and use real clock
265 * Cleanup (messages): Make the wording of the signedness warning clearer
266 * Fix: error path if heap_init fails
267 * Fix: Remove obsolete bt_iter_seek function
268 * Make the signedness warning useful with the field name
269 * Fix: Restore heap for SEEK_BEGIN
270 * Fix: check if handle is valid
271 * Fix: iterator set_pos
272 * Fix: get rid of consumed flag
273 * Fix: add missing heap_copy
274 * Fix: babeltrace assert() triggered by directories within trace
275 * Several fixes for bt_iter_pos related functions
276 * Fix iterator: various fixes
277 * Fix: remove duplicate yydebug var
278 * Fix babeltrace iterator lib: seek at time 0
279
2ae35d4f
MD
2802012-05-30 Babeltrace 1.0.0-rc4
281 * Add CodingStyle to tarball
282 * Add coding style document
283 * Fix: babeltrace should use output format argument
284 * Fix: accept traces which skip stream ids
285 * Use mmap_align
286 * align header: define PAGE_SIZE
287 * Implement mmap alignment header
288 * Cleanup: type warnings
289 * Cleanup: do not overwrite const argv parameters
290
7dfa782e
MD
2912012-05-29 Babeltrace 1.0.0-rc3
292 * Fix: converter error logic
293 * Fix: report appropriate field in error message
294 * Fix: support 64-bit events discarded counter types
295 * Fix: add missing bt_ctf_get_int_len API
296 * Fix bt_context_add_traces_recursive error code
297
2eb5dde8
MD
2982012-04-24 Babeltrace 1.0.0-rc2
299 * Fix: return an error if no trace can be opened
300 * Fix: double destroy in context remove
301
36dbe3e6
MD
3022012-04-18 Babeltrace 1.0.0-rc1
303 * Fix: -n "field names" option should allow "none"
304 * Fix: Show context field name by default
305 * Manpage fix: babeltrace-log manpage should refer to lttng(1)
306 * Clarify warning message for events discarded
307 * Fix: babeltrace should skip erroneous traces
308 * Fix: put explicit error messages and warnings when opening a trace
309 * Fix: segfault on error handling
310 * Fix: enum must use last value + 1 as next item value
311 * Fix: warn, and don't assert, when reading a value outside enum range
312 * API Fix : missing list fields of event decl
313 * API fix : fill the values for timestamp begin and end
314 * API : list of events in the trace
315 * UUID field should be optional, as specified by CTF spec
316 * Babeltrace ctf-text duplicated error message
317 * API fix/breakage : reexporting bt_ctf_event
318 * fix/breakage API : replace bt_ctf_event
319 * add ctf_event_definition pointer to ctf_stream_definition
320 * Rename ctf_event to ctf_event_declaration
321 * Rename ctf_stream to ctf_stream_definition
322 * Rename ctf_stream_event to ctf_event_definition
323 * Rename ctf_stream_class to ctf_stream_declaration
324 * Cleanup: Remove unneeded local variables from function
325 * API Fix : give access to trace_handle and context
326 * API Fix : handle id to use the public functions
327 * Fix : add the missing seek begin
328
b07f0867
MD
3292012-03-16 Babeltrace 1.0.0-pre4
330 * fix : bt_ctf_iter_create defaults to BEGIN pos
331 * Fix : only one iterator per context
332 * Fix error checking in bt_context_add_traces_recursive
333 * bt_context_add_trace, bt_iter_pos and bt_iter needed some more comments.
334 * Fix API: add const qualifiers, privatize struct bt_ctf_event
335 * Fix: split ctf/event.c
336 * Fix: seek by timestamp
337 * Fix: remove leftover code from seek begin (unimplemented for now)
338 * Fix: seek error handling
339 * Fix: callbacks.c: more explicit error msg
340 * Fix: ctf/iterator.h bt_ctf_iter_read_event() comment
341 * Add missing iterator.h into the git repo
342 * API fix: Move ctf iterator API members to new babeltrace/ctf/iterator.h
343 * API cleanup: Move bt_iter_create/destroy to internal header
344 * Fix: update missing copyrights and ifdef protection mismatch
345 * Clarify clock correlation error message
346 * Fix build warning: set -lpopt as LDFLAGS rather than CFLAGS
347 * Fix: add missing _GNU_SOURCE define to babeltrace-log.c
348 * Fix: Add memstream.h dependency to Makefile.am
349 * Implement fallback for systems lacking open_memstream and fopenmem
350 * Fix: try to include endian.h by default
351
6c8ac581
MD
3522012-03-02 Babeltrace 1.0.0-pre3
353 * Fix uuid in metadata
354 * Babeltrace wrapper update
355 * uuid wrapper: fix use in visitor
356 * Endian wrapper use fix
357 * FreeBSD uuid wrapper fixes
358 * Fix missing uuid wrapper change
359 * Add endian.h wrapper
360 * Use standard __LONG_MAX__ instead of __WORDSIZE
361 * Create BSD wrapper for uuid
362 * fix API : deal with the optional underscore
363 * Fix API : functions to access fields properties
364
305c65e5
MD
3652012-02-23 Babeltrace 1.0.0-pre2
366 * linker: privatize prio_heap and babeltrace_types
367 * Linker: privatize libbabeltrace_types
368 * Link statically to internal libraries
369 * Combine duplicated API/pretty-print timestamp code
370 * API : export the offsetted timestamp
371 * Fix : segfault when printing timestamp on index
372 * Fix : coherency in const parameters
373
0a264ae4
MD
3742012-02-20 Babeltrace 1.0.0-pre1
375 * Generically print tracer version (and env) in verbose mode
376 * Fix open_mmap_trace missing support
377 * fix: context.h add missing documentation for packet_seek parameter
378 * Cleanup iterator.h
379 * Fix callback.h documentation
380 * Cleanup: babeltrace.h does not need to include ctf/events.h
381 * API fix: Move callbacks to CTF plugin
382 * Removed unneeded ctf_* forward declarations from babeltrace.h
383 * Remove unneeded forward declarations (ctf-specific) from iterator.h
384 * fix: move read event from iterator to event.h
385 * Fix: ctf specific events.c needs to be within CTF plugin
386 * API fix: packet_seek should take an index rather than offset
387 * Fix API: allow packet_seek override
388 * Fix: add lib missing includes
389 * Fix: packet_seek is local to plugins, but can be overridden
390 * Fix API: rename unclear move_pos_slow to packet_seek
391 * Fix: Check for unknown format
392 * Fix: do not use ctf-specific struct in format.h
393 * fix : callback type, doc and links to libbabeltrace
394 * Fix : callback chain len
395
0d8f8c2e
MD
3962012-02-16 Babeltrace 0.12
397 * Typedef bt_intern_str
398 * Export the list header with a new namespace
399 * API : add_trace return the trace_handle id
400 * fix manpage: refer to lttng(1)
401 * API : cleanup includes
402 * API : Access CTF events fields
403 * manpage: Add babeltrace-log.1
404 * API : seek by timestamp
405 * Move the add_traces_recursive out of the library
406 * manpage: use pp instead of PP
407
0916c699
MD
4082012-02-13 Babeltrace 0.11.1
409 * Add trace-collection.h to the installed headers
410
fed6a350
MD
4112012-02-13 Babeltrace 0.11
412 * Add --clock-force-correlate option
413 * lib: open trace error handling fix
414 * Use default if there is no clock declaration
415 * iterator: fix type warning on 32-bit build
416 * Use 64-bit type for packet and content size
417 * Fix context API
418 * Add missing context-internal.h
419 * struct bt_context is opaque
420 * Update comment to match context API code
421 * Print loglevel names
422 * babeltrace lib cleanup, folded with open/remove trace functions
423 * API : iterator get and set position
424
d40a9bb4
MD
4252012-02-09 Babeltrace 0.10
426 * Fix clock freq
427 * clock: use freq field
428 * Show env. in verbose mode
429 * Remove all code that depends on trace collection directory structure
430 * Use environment information for extra fields
431 * Parse environment declarations from LTTng-modules and LTTng-UST
432 * Fix typo
433 * Add babeltrace.1 manpage
434 * Update help
435 * Install license files and dependency listing into the system doc
436 * Add ChangeLog to doc install
437
ab43a115
MD
4382012-02-02 Babeltrace 0.9
439 * Allow signed values in get_signed. Cast unsigned into signed.
440 * Show loglevel information only with value
441 * env needs to be a keyword too
442 * Add env {} warning test case
443 * Add environment (env {}) parser-level support
444 * Revert "Remove leading underscores from identifiers directly in lexer"
445 * Remove leading underscores from identifiers directly in lexer
446 * Fix: do not remove field names when adding fields
447 * API : iterator namespace cleanup
448 * Time offset: use trace offset average
449 * API : trace_handle
450 * Print event discarded at end of stream
451 * Discarded event time range is between last packet event and timestamp_end
452 * Print time range during which events have been dropped
453 * Print events discarded
454 * Add clock offset support
455 * Warn user of clock offsets do not match
456 * Add clocks to trace collection
457 * clock: show as time of day
458 * Implement clock mapping within integer type
459 * Implement clock IR generation
460 * Add warning tests
461 * Relax unknown field handling: warn instead of error
462 * Fix erroneous use of "-n" for additional fields, add "-f"
463 * Output warnings and errors to stderr
464 * Fix double typedef of bt_event_name
465 * Parse clock descriptions
466 * API : split iterator headers from babeltrace.h
467 * Add missing context.h/context.c
468 * Introduce contexts
469 * Fix parallel build for lib/
470 * Organise libbabeltrace
471 * Export the format.h header
472 * Create the babeltrace include dir on install
473 * callbacks: use correct type for element size
474 * callbacks: Fix set size array size
475 * Fix callback chain array usage
476 * Add time delta to ctf-text
477 * ctf-text: show timestamp in sec.nsec
478 * Fix wrong variable error check
479 * Use the generic call to move_pos_slow
480
fc493d94
MD
4812011-12-12 Babeltrace 0.8
482 * Add loglevel support
483 * Update libpopt dependency to 1.13
484 * Document dependency on libpopt >= 1.8
485 * Describe libtool version dependency
486 * AC_PROG_LIBTOOL is deprecated in favor of LT_INIT
487 * Use realpath for path
488 * Helper function to extract string from fields
489 * Use realpath on trace collection path
490 * allow printing domains when no procname are present, handle
491 various / patterns
492 * Add trace:domain,trace:procname,trace:pid support
493 * Add "-n trace" option to print trace name
494 * Do not install ctf-parser-test
495 * Make ctf open errors more verbose
496 * configure.ac: add check for popt library
497 * Show field names by default, enhance --names option
498 * Move opt_field_names/babeltrace_verbose/babeltrace_debug into lib
499 * Add mmap trace reading
500 * Pass stream pointer with callback caller data
501
627516db
MD
5022011-09-29 Babeltrace 0.7
503 * Add missing stdint.h
504 * Use integer extraction functions
505 * Extract int and char arrays from fields
506 * Add parameters to callbacks
507 * Fix float support
508 * Fix type cast warning
509 * Integer support: add missing signed casts
510 * Remove underscore prefix from field names (pretty-print)
511 * Fix sequence iteration
512 * Fix sequence field name use after free
513 * Fix support for empty streams
514 * Optional file pointer to metadata
515 * Specify callback to move packet in open_trace
516 * Free the callbacks on iter_destroy
517 * Add callback support
518 * Basic seek support
519 * Add callback API
520 * Enhance babeltrace API with position save/restore
521 * Remove unused structure forward declarations
522 * Remove stale local .c struct declarations (unused)
523 * Annotate branches in ctf.c event reading/writing code
524 * Annotate prio heap likely branch
525 * Annotate likely/unlikely branches in headers
526
d199691b
MD
5272011-08-12 Babeltrace 0.6
528 * Introduce Babeltrace public API: babeltrace.h
529 * Fix support for gold linker: inappropriate dep removal of plugins
627516db 530
0136c382
MD
5312011-08-12 Babeltrace 0.5
532 * Initialize size to 0 to eliminate incorrect gcc uninitialized
533 var warning
534 * Fix non-matching packet context wrt last packet event read
This page took 0.046126 seconds and 4 git commands to generate.