Mathieu Desnoyers [Thu, 23 Feb 2012 18:25:05 +0000 (13:25 -0500)]
Link statically to internal libraries
Previously, we installed all "internal" libs as .so, because static
linking a static lib into a dynamic lib did remove the unused objects.
Use the -Wl,--no-as-needed linker flag to fix this issue, allowing us to
entirely privatize private libs.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 23 Feb 2012 12:54:23 +0000 (07:54 -0500)]
Combine duplicated API/pretty-print timestamp code
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Julien Desfossez [Thu, 23 Feb 2012 12:37:06 +0000 (07:37 -0500)]
API : export the offsetted timestamp
We export now the offsetted view of the timestamp as well as the raw
timestamp to the users.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Tue, 21 Feb 2012 21:47:15 +0000 (16:47 -0500)]
Fix : segfault when printing timestamp on index
If we detect we lost events in a packet, we print an error message
containing the begin and end timestamps of the packet. If we detect
this packet loss while generating the index (during the open_trace), the
trace_collection is not yet referenced and so the clock information is
not available. This fix prevents the printing at this stage.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Tue, 21 Feb 2012 15:45:14 +0000 (10:45 -0500)]
Fix : coherency in const parameters
This patchs adds the const attribute to the field access functions
(get_int64 and others) in order to keep the coherency with the get_field
and get_field_list function which return a const pointer.
fixes #84
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 20 Feb 2012 20:47:52 +0000 (15:47 -0500)]
Update version to 1.0.0-pre1
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 20 Feb 2012 20:27:51 +0000 (15:27 -0500)]
Generically print tracer version (and env) in verbose mode
closes #82
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 20:03:59 +0000 (15:03 -0500)]
Fix open_mmap_trace missing support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:53:16 +0000 (14:53 -0500)]
fix: context.h add missing documentation for packet_seek parameter
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:53:07 +0000 (14:53 -0500)]
Cleanup iterator.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:43:31 +0000 (14:43 -0500)]
Fix callback.h documentation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:42:28 +0000 (14:42 -0500)]
Cleanup: babeltrace.h does not need to include ctf/events.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:39:27 +0000 (14:39 -0500)]
API fix: Move callbacks to CTF plugin
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:26:51 +0000 (14:26 -0500)]
Removed unneeded ctf_* forward declarations from babeltrace.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:24:04 +0000 (14:24 -0500)]
Remove unneeded forward declarations (ctf-specific) from iterator.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 19:21:41 +0000 (14:21 -0500)]
fix: move read event from iterator to event.h
because it is CTF-specific.
Need to move the format registry to libbabeltrace due to
cross-dependencies between libbabeltrace and formats.
Now, the format libs depend on libbabeltrace, never the opposite.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 18:06:22 +0000 (13:06 -0500)]
Fix: ctf specific events.c needs to be within CTF plugin
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 18:01:29 +0000 (13:01 -0500)]
API fix: packet_seek should take an index rather than offset
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 17:49:42 +0000 (12:49 -0500)]
Fix API: allow packet_seek override
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 17:35:56 +0000 (12:35 -0500)]
Fix: add lib missing includes
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 17:32:55 +0000 (12:32 -0500)]
Fix: packet_seek is local to plugins, but can be overridden
libbabeltrace should not know about them.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 17:27:56 +0000 (12:27 -0500)]
Fix API: rename unclear move_pos_slow to packet_seek
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 17:19:39 +0000 (12:19 -0500)]
Fix: Check for unknown format
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 17 Feb 2012 17:15:49 +0000 (12:15 -0500)]
Fix: do not use ctf-specific struct in format.h
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Fri, 17 Feb 2012 17:00:01 +0000 (12:00 -0500)]
fix : callback type, doc and links to libbabeltrace
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Fri, 17 Feb 2012 16:40:47 +0000 (11:40 -0500)]
Fix : callback chain len
Wrong check caused a segmentation fault when checking for a callback at
the end of the callback chain.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 19:36:05 +0000 (14:36 -0500)]
Update version to 0.12
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Thu, 16 Feb 2012 19:34:21 +0000 (14:34 -0500)]
Typedef bt_intern_str
Remove external dependency to glib
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Thu, 16 Feb 2012 19:13:19 +0000 (14:13 -0500)]
Export the list header with a new namespace
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Thu, 16 Feb 2012 18:13:50 +0000 (13:13 -0500)]
API : add_trace return the trace_handle id
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 18:07:50 +0000 (13:07 -0500)]
fix manpage: refer to lttng(1)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Thu, 16 Feb 2012 17:33:25 +0000 (12:33 -0500)]
API : cleanup includes
The user just need to include babeltrace/babeltrace.h to use the API.
Also, create a babeltrace/ctf directory to store CTF-related code.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Thu, 16 Feb 2012 16:53:44 +0000 (11:53 -0500)]
API : Access CTF events fields
Update the iterator code to return a bt_ctf_event.
Access to field list within a scope.
Access to field values depending on type.
[ Edit by Mathieu Desnoyers: minor updates: uint64_t for timestamp, and
style fixes. ]
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 16 Feb 2012 12:01:28 +0000 (07:01 -0500)]
manpage: Add babeltrace-log.1
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Wed, 15 Feb 2012 02:37:34 +0000 (21:37 -0500)]
API : seek by timestamp
Add a new function to create a timestamp-based position and the support
in bt_iter_set_pos to seek to certain timestamp.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Yannick Brosseau [Tue, 14 Feb 2012 19:11:45 +0000 (14:11 -0500)]
Move the add_traces_recursive out of the library
The exact API for this function is hard to define, so we move back
the function directly to the converter code where it can serve
as an example for applications who want to use this functionnality.
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 14 Feb 2012 05:48:38 +0000 (00:48 -0500)]
manpage: use pp instead of PP
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 23:30:39 +0000 (18:30 -0500)]
Update version to 0.11.1
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Alexandre Montplaisir [Mon, 13 Feb 2012 23:29:09 +0000 (18:29 -0500)]
Add trace-collection.h to the installed headers
Or else the tarball generated by 'make dist' fails to compile with
context.c:27:41: fatal error: babeltrace/trace-collection.h: No
such file or directory
Signed-off-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 15:43:20 +0000 (10:43 -0500)]
Update version to 0.11
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 14:26:53 +0000 (09:26 -0500)]
Add --clock-force-correlate option
For support of older 2.0-pre traces.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 14:03:55 +0000 (09:03 -0500)]
lib: open trace error handling fix
When a trace from a trace collection path fails, consider this as a hard
error. Print errors to stderr rather than stdout.
The end goal is to never show an output if any of the trace specified
(or trace within a trace collection) fails to open.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Juha Niskanen [Mon, 13 Feb 2012 13:55:20 +0000 (08:55 -0500)]
Use default if there is no clock declaration
In absence of clock description in metadata, use a default clock
source which increments once per nanosecond.
Without this patch, the converter crashes when given old traces
that are lacking clock description block.
[ Edit by Mathieu Desnoyers: style cleanup, added clock description,
added comments. ]
Signed-off-by: Juha Niskanen <juniskane@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 13 Feb 2012 13:35:12 +0000 (08:35 -0500)]
iterator: fix type warning on 32-bit build
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Juha Niskanen [Mon, 13 Feb 2012 13:33:58 +0000 (08:33 -0500)]
Use 64-bit type for packet and content size
Expression filestats.st_size * CHAR_BIT wraps around very easily
when stored to 32-bit size_t. Currently BabelTrace cannot handle
input larger than 256Mb because of this and diagnostic messages
from this function can be incorrect because of overflow.
This patch fixes my immediate problem, but further work is needed
for proper large file support i.e. handling files bigger than 2Gb.
Signed-off-by: Juha Niskanen <juniskane@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 19:26:16 +0000 (14:26 -0500)]
Fix context API
- bt_context_add_traces_recursive ->
don't have 2 symbols that just differ from a "s".
- bt_context_add_trace return values:
- Now, nonzero is error, zero is OK.
- Streamline with bt_context_add_traces_recursive, so none return
trace handle IDs.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 19:18:47 +0000 (14:18 -0500)]
Add missing context-internal.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 19:18:26 +0000 (14:18 -0500)]
struct bt_context is opaque
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 19:14:16 +0000 (14:14 -0500)]
Update comment to match context API code
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 18:22:47 +0000 (13:22 -0500)]
Print loglevel names
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 17:01:01 +0000 (12:01 -0500)]
babeltrace lib cleanup, folded with open/remove trace functions
Folded patch from Yannick Brosseau <yannick.brosseau@gmail.com>, along
with various updates and cleanups, related to babeltrace lib.
Original changelog from Yannick Brosseau:
Move the trace_collection into its own file.
Port the converter to uses the new functions
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Fri, 10 Feb 2012 02:32:52 +0000 (21:32 -0500)]
API : iterator get and set position
This patch implements the save and restore position on a iterator.
Passed successfully these tests :
- test 1:
save the position
read n events (tested with multiple values of n)
restore
compare the outputs
- test 2:
in loop until the end of the trace :
save the position
read 5 events
restore the position
read 5 events
compare each block of 5 events
- test 3:
save the position before printing the first event
parse the trace entirely
restore to the beginning
parse the trace entirely
compare the 2 outputs
- test 4:
seek in the future (manually tweaked the values to restore to)
compare with a normal trace starting from the restore point
[ edit: use g_new/g_new0/g_free instead of malloc/calloc/free.
Use g_new0 anytime a structure is not explicitly initialized by
a helper, so if it grows in the future with new fields, they will be
zeroed. ]
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 10 Feb 2012 00:44:34 +0000 (19:44 -0500)]
Update version to 0.10
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 9 Feb 2012 21:05:15 +0000 (16:05 -0500)]
Fix clock freq
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 9 Feb 2012 13:44:48 +0000 (08:44 -0500)]
clock: use freq field
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 7 Feb 2012 14:47:25 +0000 (09:47 -0500)]
Show env. in verbose mode
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 7 Feb 2012 14:38:58 +0000 (09:38 -0500)]
Remove all code that depends on trace collection directory structure
We now perform equivalent functionnality with environment within trace
metadata.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 7 Feb 2012 14:32:29 +0000 (09:32 -0500)]
Use environment information for extra fields
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 7 Feb 2012 14:28:33 +0000 (09:28 -0500)]
Parse environment declarations from LTTng-modules and LTTng-UST
LTTng-UST:
vpid, procname, domain.
LTTng-modules:
domain, sysname, release, version.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 7 Feb 2012 04:36:37 +0000 (23:36 -0500)]
Fix typo
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 6 Feb 2012 17:21:11 +0000 (12:21 -0500)]
Add babeltrace.1 manpage
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 6 Feb 2012 17:20:52 +0000 (12:20 -0500)]
Update help
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 6 Feb 2012 17:12:31 +0000 (12:12 -0500)]
Install license files and dependency listing into the system doc
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 4 Feb 2012 21:47:23 +0000 (16:47 -0500)]
Add ChangeLog to doc install
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 2 Feb 2012 17:47:01 +0000 (12:47 -0500)]
Update version to 0.9
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 2 Feb 2012 04:19:24 +0000 (23:19 -0500)]
Allow signed values in get_signed. Cast unsigned into signed.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 1 Feb 2012 23:24:56 +0000 (18:24 -0500)]
Show loglevel information only with value
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 1 Feb 2012 22:28:15 +0000 (17:28 -0500)]
env needs to be a keyword too
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 1 Feb 2012 22:26:23 +0000 (17:26 -0500)]
Add env {} warning test case
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 1 Feb 2012 22:24:54 +0000 (17:24 -0500)]
Add environment (env {}) parser-level support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 1 Feb 2012 21:42:21 +0000 (16:42 -0500)]
Revert "Remove leading underscores from identifiers directly in lexer"
This reverts commit
f071e095a2a8f76dd78becfa103b952af68e148d.
The reason why the underscores are needed in the first place is because
we want to make sure sequences and variants to not have clash between
fields called e.g. "stream" and the dynamic scope
"stream.event.header.". Therefore, we need to keep the leading
underscores as part of the internal identifier representation.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 1 Feb 2012 20:43:51 +0000 (15:43 -0500)]
Remove leading underscores from identifiers directly in lexer
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 31 Jan 2012 21:23:57 +0000 (16:23 -0500)]
Fix: do not remove field names when adding fields
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Tue, 31 Jan 2012 16:59:22 +0000 (11:59 -0500)]
API : iterator namespace cleanup
For coherence, rename babeltrace_iter to bt_iter, and
trace_collection_pos to bt_iter_pos.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 23:33:12 +0000 (18:33 -0500)]
Time offset: use trace offset average
Use the average offset for a given clock across all trace descriptions
as offset for the trace collection. This ensures that the time-stamps
stay invariant for a given trace collection: it won't change if the
traversal order of the trace directories change.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Mon, 30 Jan 2012 22:25:50 +0000 (17:25 -0500)]
API : trace_handle
Add the trace_handle structure to allow the user to manipulate a trace.
Will be useful for getting information on specific trace files and
remove traces from a trace_collection without rebuilding the
trace_collection entirely.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 21:41:39 +0000 (16:41 -0500)]
Print event discarded at end of stream
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 21:10:08 +0000 (16:10 -0500)]
Discarded event time range is between last packet event and timestamp_end
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 19:30:35 +0000 (14:30 -0500)]
Print time range during which events have been dropped
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 18:57:41 +0000 (13:57 -0500)]
Print events discarded
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 17:53:50 +0000 (12:53 -0500)]
Add clock offset support
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 17:11:01 +0000 (12:11 -0500)]
Warn user of clock offsets do not match
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 16:43:59 +0000 (11:43 -0500)]
Add clocks to trace collection
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 30 Jan 2012 15:38:19 +0000 (10:38 -0500)]
clock: show as time of day
- todo: implement offset at trace collection level.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 28 Jan 2012 19:58:56 +0000 (14:58 -0500)]
Implement clock mapping within integer type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 28 Jan 2012 19:18:49 +0000 (14:18 -0500)]
Implement clock IR generation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 28 Jan 2012 03:45:24 +0000 (22:45 -0500)]
Add warning tests
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 28 Jan 2012 03:44:49 +0000 (22:44 -0500)]
Relax unknown field handling: warn instead of error
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 27 Jan 2012 20:32:28 +0000 (15:32 -0500)]
Fix erroneous use of "-n" for additional fields, add "-f"
The -n option is for enabling "field name" printing.
Add a new "-f" option for enabling optional fields.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 27 Jan 2012 20:05:02 +0000 (15:05 -0500)]
Output warnings and errors to stderr
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 27 Jan 2012 18:42:13 +0000 (13:42 -0500)]
Fix double typedef of bt_event_name
Reported-by: Tan Dung Le Tran <tan.dung.le.tran@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 27 Jan 2012 01:32:05 +0000 (20:32 -0500)]
Parse clock descriptions
Parse basic clock descriptions and integer "map = identifiers...;".
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Wed, 25 Jan 2012 20:29:47 +0000 (15:29 -0500)]
API : split iterator headers from babeltrace.h
Removed the iterator specific prototypes from babeltrace.h
No change in functionnality.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Wed, 25 Jan 2012 19:46:16 +0000 (14:46 -0500)]
Add missing context.h/context.c
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Wed, 25 Jan 2012 19:30:12 +0000 (14:30 -0500)]
Introduce contexts
The context is an object in which the trace_collection is opened. The
iterator (and later callbacks) depend on the context. This patch, does
not modify the behaviour, it is just the introduction of the contexts.
Also moved convert_trace() in the converter code since it is not a
public API function.
Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 19 Jan 2012 15:24:17 +0000 (10:24 -0500)]
Fix parallel build for lib/
When we have a dependency from a library on another library (with
LIBADD), we need to put the lib we depend on in another directory, and
build that directory prior to the current directory. This is what is
done in the http://sourceware.org/autobook/autobook/autobook_92.html
"11.5 Convenience Libraries" example.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Mon, 16 Jan 2012 17:56:37 +0000 (12:56 -0500)]
Organise libbabeltrace
Move the library from converter/ to lib/.
Split functionnalities into separate files :
- babeltrace.c
- iterator.c
- callbacks.c
New internal include files for shared structures between iterator and
callbacks :
- include/babeltrace/callbacks-internal.h
- include/babeltrace/iterator-internal.h
No new functionnalities, just a cleanup of the structure.
Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Mon, 16 Jan 2012 17:36:05 +0000 (12:36 -0500)]
Export the format.h header
This header is necessary to open traces since it deals with the various
formats available.
Install it in the include/babeltrace/ folder and make sure it is
included when we include babeltrace.h
Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Julien Desfossez [Mon, 16 Jan 2012 17:35:03 +0000 (12:35 -0500)]
Create the babeltrace include dir on install
And for now just install babeltrace.h in it.
Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 9 Jan 2012 20:30:23 +0000 (15:30 -0500)]
callbacks: use correct type for element size
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.040457 seconds and 4 git commands to generate.