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