2012-01-11 Babeltrace 1.0.2 * Fix: add tests/lib missing files to Makefile.am 2012-01-11 Babeltrace 1.0.1 * Provides a basic pkg-config file for libbabeltrace * Fix erroneous warning/error messages * Fix comment in context.h * Cleanup: Remove whitespace at EOL from mit-license.txt * Add missing permission notice in each source file * Adding a test which do a sequence of seek BEGIN, LAST, BEGIN, LAST * Run seek tests on a second trace file * Add #define _GNU_SOURCE to remove warning about asprintf * Include a test for SEEK_BEGIN and SEEK_LAST * Fix: Report success even if we find at least one valid stream in find_max_timestamp_ctf_stream_class * Fix SEEK_BEGIN for streams that do not contain any event 2012-10-27 Babeltrace 1.0.0 * tests: add test traces to distribution tarball * Document bash requirement for make check in README * Add tests to make check * Fix: add missing header size validation * callbacks.c: handle extract_ctf_stream_event return value * Cleanup: fix cppcheck warning * Cleanup: fix cppcheck warnings * fix double-free on error path 2012-10-18 Babeltrace 1.0.0-rc6 * Add valgrind suppression file for libpopt * Fix: unplug memory leak that causes popt-0.13 to segfault * Fix: test all close/fclose ret val, fix double close * Cleanup: add missing newline * Fix: fd leak on trace close * Fix memory leaks induced by lack of libpopt documentation * babeltrace: fix poptGetOptArg memleak * plugins: implement plugin unregister * Doc: valgrind with babeltrace (glib workaround) * callsites: fix memory leak * Fix: free all the metadata-related memory * Fix : Free the iterator callback arrays * Fix : cleanup teardown of context * Fix : protect static float and double declarations * callsite: support instruction pointer field * Document that list.h is LGPLv2.1, but entirely trivial * Fix: callsite support: list multiple callsites * Add callsite support * Fix: Allow 64-bit packet offset * Fix: emf uri: surround by " " * Handle model.emf.uri event info * Fix: Documentation cleanup * Fix: misplaced C++ ifdef * Fix babeltrace-log get big line when the input file last line don't have enter * API Fix: bt_ctf_iter_read_event_flags * Fix: get encoding for char arrays and sequences * Fix: access to declaration from declaration_field * Fix: get_declaration_* should not cast to field * Fix babeltrace-log uninitialized memory (v2) * Revert "Fix babeltrace-log uninitialized memory" * Fix babeltrace-log uninitialized memory * Fix: access field properties by declaration * Fix: check return value of get_char_array * Fix: C++ support to API header files 2012-08-27 Babeltrace 1.0.0-rc5 * Change default printout to add host, process names and vpid * Add support for trace:hostname field * Fix: allow specifying more than one input trace path * Fix: make warnings (partial errors) visible * Fix: --clock-force-correlate to handle trace collections gathered from v * Documentation: update API doc with enum functions * Fix: API: remove unsupported BT_SEEK_END from API * API documentation * Cleanup: shut up gcc uninitialized var warning * Fix: support large files on 32-bit systems * Fix: remove unused fts.h include * Fix: add missing enum support to API * Fix: handle clock offset with frequency different from 1GHz * Cleanup: update ifdef wrapper name * Fix: clarify bt_ctf_get_field_list * Fix trace-collection.h: No such file or directory that build code with l * Fix: check return value of bt_context_create * Fix: ensure mmap_base_offset is zeroed on initialization * Fix: Reswitch to FTW for add_traces_recursive * Fix: don't free unallocated index * Fix: don't close the metadata FD if a FP is passed * Add BT_SEEK_LAST type to bt_iter_pos * Fix: iterator.c BT_SEEK_RESTORE: check return value * Fix: complete error handling of babeltrace API * cleanup: protected -> hidden: cleanup symbol table * Fix: add mmap_base_offset to ctf_stream_pos * Fix: assign the current clock for mmap traces * Fix: libbabeltrace add missing static declaration * Fix: safety checks for opening mmap traces * Remove trace-collection.h from include_headers * Fix: protect visibility of ctf-parser functions * Fix: correct name of bt_ctf_field_get_error in comments and typo in man * Fix: wrong type in bt_ctf_get_uint64/int64 * API cleanup name get_timestamp and get_cycles * fix comment struct bt_saved_pos * Fix: Add missing clock-types.h * Get rid of clock-raw and use real clock * Cleanup (messages): Make the wording of the signedness warning clearer * Fix: error path if heap_init fails * Fix: Remove obsolete bt_iter_seek function * Make the signedness warning useful with the field name * Fix: Restore heap for SEEK_BEGIN * Fix: check if handle is valid * Fix: iterator set_pos * Fix: get rid of consumed flag * Fix: add missing heap_copy * Fix: babeltrace assert() triggered by directories within trace * Several fixes for bt_iter_pos related functions * Fix iterator: various fixes * Fix: remove duplicate yydebug var * Fix babeltrace iterator lib: seek at time 0 2012-05-30 Babeltrace 1.0.0-rc4 * Add CodingStyle to tarball * Add coding style document * Fix: babeltrace should use output format argument * Fix: accept traces which skip stream ids * Use mmap_align * align header: define PAGE_SIZE * Implement mmap alignment header * Cleanup: type warnings * Cleanup: do not overwrite const argv parameters 2012-05-29 Babeltrace 1.0.0-rc3 * Fix: converter error logic * Fix: report appropriate field in error message * Fix: support 64-bit events discarded counter types * Fix: add missing bt_ctf_get_int_len API * Fix bt_context_add_traces_recursive error code 2012-04-24 Babeltrace 1.0.0-rc2 * Fix: return an error if no trace can be opened * Fix: double destroy in context remove 2012-04-18 Babeltrace 1.0.0-rc1 * Fix: -n "field names" option should allow "none" * Fix: Show context field name by default * Manpage fix: babeltrace-log manpage should refer to lttng(1) * Clarify warning message for events discarded * Fix: babeltrace should skip erroneous traces * Fix: put explicit error messages and warnings when opening a trace * Fix: segfault on error handling * Fix: enum must use last value + 1 as next item value * Fix: warn, and don't assert, when reading a value outside enum range * API Fix : missing list fields of event decl * API fix : fill the values for timestamp begin and end * API : list of events in the trace * UUID field should be optional, as specified by CTF spec * Babeltrace ctf-text duplicated error message * API fix/breakage : reexporting bt_ctf_event * fix/breakage API : replace bt_ctf_event * add ctf_event_definition pointer to ctf_stream_definition * Rename ctf_event to ctf_event_declaration * Rename ctf_stream to ctf_stream_definition * Rename ctf_stream_event to ctf_event_definition * Rename ctf_stream_class to ctf_stream_declaration * Cleanup: Remove unneeded local variables from function * API Fix : give access to trace_handle and context * API Fix : handle id to use the public functions * Fix : add the missing seek begin 2012-03-16 Babeltrace 1.0.0-pre4 * fix : bt_ctf_iter_create defaults to BEGIN pos * Fix : only one iterator per context * Fix error checking in bt_context_add_traces_recursive * bt_context_add_trace, bt_iter_pos and bt_iter needed some more comments. * Fix API: add const qualifiers, privatize struct bt_ctf_event * Fix: split ctf/event.c * Fix: seek by timestamp * Fix: remove leftover code from seek begin (unimplemented for now) * Fix: seek error handling * Fix: callbacks.c: more explicit error msg * Fix: ctf/iterator.h bt_ctf_iter_read_event() comment * Add missing iterator.h into the git repo * API fix: Move ctf iterator API members to new babeltrace/ctf/iterator.h * API cleanup: Move bt_iter_create/destroy to internal header * Fix: update missing copyrights and ifdef protection mismatch * Clarify clock correlation error message * Fix build warning: set -lpopt as LDFLAGS rather than CFLAGS * Fix: add missing _GNU_SOURCE define to babeltrace-log.c * Fix: Add memstream.h dependency to Makefile.am * Implement fallback for systems lacking open_memstream and fopenmem * Fix: try to include endian.h by default 2012-03-02 Babeltrace 1.0.0-pre3 * Fix uuid in metadata * Babeltrace wrapper update * uuid wrapper: fix use in visitor * Endian wrapper use fix * FreeBSD uuid wrapper fixes * Fix missing uuid wrapper change * Add endian.h wrapper * Use standard __LONG_MAX__ instead of __WORDSIZE * Create BSD wrapper for uuid * fix API : deal with the optional underscore * Fix API : functions to access fields properties 2012-02-23 Babeltrace 1.0.0-pre2 * linker: privatize prio_heap and babeltrace_types * Linker: privatize libbabeltrace_types * Link statically to internal libraries * Combine duplicated API/pretty-print timestamp code * API : export the offsetted timestamp * Fix : segfault when printing timestamp on index * Fix : coherency in const parameters 2012-02-20 Babeltrace 1.0.0-pre1 * Generically print tracer version (and env) in verbose mode * Fix open_mmap_trace missing support * fix: context.h add missing documentation for packet_seek parameter * Cleanup iterator.h * Fix callback.h documentation * Cleanup: babeltrace.h does not need to include ctf/events.h * API fix: Move callbacks to CTF plugin * Removed unneeded ctf_* forward declarations from babeltrace.h * Remove unneeded forward declarations (ctf-specific) from iterator.h * fix: move read event from iterator to event.h * Fix: ctf specific events.c needs to be within CTF plugin * API fix: packet_seek should take an index rather than offset * Fix API: allow packet_seek override * Fix: add lib missing includes * Fix: packet_seek is local to plugins, but can be overridden * Fix API: rename unclear move_pos_slow to packet_seek * Fix: Check for unknown format * Fix: do not use ctf-specific struct in format.h * fix : callback type, doc and links to libbabeltrace * Fix : callback chain len 2012-02-16 Babeltrace 0.12 * Typedef bt_intern_str * Export the list header with a new namespace * API : add_trace return the trace_handle id * fix manpage: refer to lttng(1) * API : cleanup includes * API : Access CTF events fields * manpage: Add babeltrace-log.1 * API : seek by timestamp * Move the add_traces_recursive out of the library * manpage: use pp instead of PP 2012-02-13 Babeltrace 0.11.1 * Add trace-collection.h to the installed headers 2012-02-13 Babeltrace 0.11 * Add --clock-force-correlate option * lib: open trace error handling fix * Use default if there is no clock declaration * iterator: fix type warning on 32-bit build * Use 64-bit type for packet and content size * Fix context API * Add missing context-internal.h * struct bt_context is opaque * Update comment to match context API code * Print loglevel names * babeltrace lib cleanup, folded with open/remove trace functions * API : iterator get and set position 2012-02-09 Babeltrace 0.10 * Fix clock freq * clock: use freq field * Show env. in verbose mode * Remove all code that depends on trace collection directory structure * Use environment information for extra fields * Parse environment declarations from LTTng-modules and LTTng-UST * Fix typo * Add babeltrace.1 manpage * Update help * Install license files and dependency listing into the system doc * Add ChangeLog to doc install 2012-02-02 Babeltrace 0.9 * Allow signed values in get_signed. Cast unsigned into signed. * Show loglevel information only with value * env needs to be a keyword too * Add env {} warning test case * Add environment (env {}) parser-level support * Revert "Remove leading underscores from identifiers directly in lexer" * Remove leading underscores from identifiers directly in lexer * Fix: do not remove field names when adding fields * API : iterator namespace cleanup * Time offset: use trace offset average * API : trace_handle * Print event discarded at end of stream * Discarded event time range is between last packet event and timestamp_end * Print time range during which events have been dropped * Print events discarded * Add clock offset support * Warn user of clock offsets do not match * Add clocks to trace collection * clock: show as time of day * Implement clock mapping within integer type * Implement clock IR generation * Add warning tests * Relax unknown field handling: warn instead of error * Fix erroneous use of "-n" for additional fields, add "-f" * Output warnings and errors to stderr * Fix double typedef of bt_event_name * Parse clock descriptions * API : split iterator headers from babeltrace.h * Add missing context.h/context.c * Introduce contexts * Fix parallel build for lib/ * Organise libbabeltrace * Export the format.h header * Create the babeltrace include dir on install * callbacks: use correct type for element size * callbacks: Fix set size array size * Fix callback chain array usage * Add time delta to ctf-text * ctf-text: show timestamp in sec.nsec * Fix wrong variable error check * Use the generic call to move_pos_slow 2011-12-12 Babeltrace 0.8 * Add loglevel support * Update libpopt dependency to 1.13 * Document dependency on libpopt >= 1.8 * Describe libtool version dependency * AC_PROG_LIBTOOL is deprecated in favor of LT_INIT * Use realpath for path * Helper function to extract string from fields * Use realpath on trace collection path * allow printing domains when no procname are present, handle various / patterns * Add trace:domain,trace:procname,trace:pid support * Add "-n trace" option to print trace name * Do not install ctf-parser-test * Make ctf open errors more verbose * configure.ac: add check for popt library * Show field names by default, enhance --names option * Move opt_field_names/babeltrace_verbose/babeltrace_debug into lib * Add mmap trace reading * Pass stream pointer with callback caller data 2011-09-29 Babeltrace 0.7 * Add missing stdint.h * Use integer extraction functions * Extract int and char arrays from fields * Add parameters to callbacks * Fix float support * Fix type cast warning * Integer support: add missing signed casts * Remove underscore prefix from field names (pretty-print) * Fix sequence iteration * Fix sequence field name use after free * Fix support for empty streams * Optional file pointer to metadata * Specify callback to move packet in open_trace * Free the callbacks on iter_destroy * Add callback support * Basic seek support * Add callback API * Enhance babeltrace API with position save/restore * Remove unused structure forward declarations * Remove stale local .c struct declarations (unused) * Annotate branches in ctf.c event reading/writing code * Annotate prio heap likely branch * Annotate likely/unlikely branches in headers 2011-08-12 Babeltrace 0.6 * Introduce Babeltrace public API: babeltrace.h * Fix support for gold linker: inappropriate dep removal of plugins 2011-08-12 Babeltrace 0.5 * Initialize size to 0 to eliminate incorrect gcc uninitialized var warning * Fix non-matching packet context wrt last packet event read