babeltrace.git
11 years agoFix sequence field name use after free
Mathieu Desnoyers [Fri, 16 Sep 2011 17:40:34 +0000 (13:40 -0400)] 
Fix sequence field name use after free

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix support for empty streams
Mathieu Desnoyers [Thu, 15 Sep 2011 17:05:41 +0000 (13:05 -0400)] 
Fix support for empty streams

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoOptional file pointer to metadata
Julien Desfossez [Wed, 14 Sep 2011 02:48:18 +0000 (22:48 -0400)] 
Optional file pointer to metadata

For some use-cases it may be useful to control the file pointer to the
metadata instead of lookup absolutely for a file named "metadata" in the
trace directory. If the pointer is NULL, we fallback to the original
mode.

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoSpecify callback to move packet in open_trace
Julien Desfossez [Tue, 13 Sep 2011 21:56:56 +0000 (17:56 -0400)] 
Specify callback to move packet in open_trace

This patch adds a new parameter to open_trace to allow the user to
specify the function to call when babeltrace needs to switch packet.
This patch is a first step for the mmap reading code integration.

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFree the callbacks on iter_destroy
Julien Desfossez [Tue, 13 Sep 2011 21:15:28 +0000 (17:15 -0400)] 
Free the callbacks on iter_destroy

[ edit : use TRUE instead of 1 ]

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd callback support
Julien Desfossez [Tue, 13 Sep 2011 19:06:42 +0000 (15:06 -0400)] 
Add callback support

This patchs provides the code to add callbacks per event or for each
events. For now the priority is not handled so the callbacks are
processed in a FIFO manner and global callbacks are processed before
per-event callbacks.

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoBasic seek support
Julien Desfossez [Tue, 13 Sep 2011 17:59:22 +0000 (13:59 -0400)] 
Basic seek support

For now just mimic the previous behaviour of babeltrace but with a basic
seek structure.
We define the babeltrace_iter_seek that seeks each file_stream of an
iterator to a given position and the babeltrace_filestream_seek function
that does the actual seek on the file_stream and can be used internally.

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd callback API
Mathieu Desnoyers [Thu, 1 Sep 2011 14:02:52 +0000 (10:02 -0400)] 
Add callback API

Implementation still has to be done.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoEnhance babeltrace API with position save/restore
Mathieu Desnoyers [Wed, 31 Aug 2011 20:03:03 +0000 (16:03 -0400)] 
Enhance babeltrace API with position save/restore

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoRemove unused structure forward declarations
Mathieu Desnoyers [Wed, 31 Aug 2011 19:44:16 +0000 (15:44 -0400)] 
Remove unused structure forward declarations

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoRemove stale local .c struct declarations (unused)
Mathieu Desnoyers [Wed, 31 Aug 2011 19:29:49 +0000 (15:29 -0400)] 
Remove stale local .c struct declarations (unused)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAnnotate branches in ctf.c event reading/writing code
Mathieu Desnoyers [Tue, 16 Aug 2011 19:05:17 +0000 (15:05 -0400)] 
Annotate branches in ctf.c event reading/writing code

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAnnotate prio heap likely branch
Mathieu Desnoyers [Tue, 16 Aug 2011 19:00:02 +0000 (15:00 -0400)] 
Annotate prio heap likely branch

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAnnotate likely/unlikely branches in headers
Mathieu Desnoyers [Tue, 16 Aug 2011 18:53:58 +0000 (14:53 -0400)] 
Annotate likely/unlikely branches in headers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate version to 0.6 v0.6
Mathieu Desnoyers [Sat, 13 Aug 2011 00:19:10 +0000 (20:19 -0400)] 
Update version to 0.6

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoExport the babeltrace API in babeltrace.h
Julien Desfossez [Sat, 13 Aug 2011 00:15:28 +0000 (20:15 -0400)] 
Export the babeltrace API in babeltrace.h

Rename the previous babeltrace.h as babeltrace-internal.h

[ Edit by Mathieu Desnoyers: API cleanup. ]

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix support for gold linker: inappropriate dep removal of plugins
Mathieu Desnoyers [Sat, 13 Aug 2011 00:00:58 +0000 (20:00 -0400)] 
Fix support for gold linker: inappropriate dep removal of plugins

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd missing converter/babeltrace-api.h
Mathieu Desnoyers [Fri, 12 Aug 2011 22:47:52 +0000 (18:47 -0400)] 
Add missing converter/babeltrace-api.h

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoBabeltrace public API
Julien Desfossez [Fri, 12 Aug 2011 22:46:31 +0000 (18:46 -0400)] 
Babeltrace public API

Add a new library to allow external tools to read traces.
Updated convert_trace to use this API.

[ Edit by Mathieu Desnoyers: add error value checks, update comments ]

Signed-off-by: Julien Desfossez <julien.desfossez@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix babeltrace-log output header
Mathieu Desnoyers [Fri, 12 Aug 2011 21:38:37 +0000 (17:38 -0400)] 
Fix babeltrace-log output header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoSave current event id
Mathieu Desnoyers [Fri, 12 Aug 2011 21:36:29 +0000 (17:36 -0400)] 
Save current event id

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoBabeltrace: print correct version number
Mathieu Desnoyers [Fri, 12 Aug 2011 19:41:17 +0000 (15:41 -0400)] 
Babeltrace: print correct version number

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate version to 0.5, add changelog v0.5
Mathieu Desnoyers [Fri, 12 Aug 2011 17:12:04 +0000 (13:12 -0400)] 
Update version to 0.5, add changelog

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoInitialize size to 0 to eliminate incorrect gcc uninitialized var warning
Mathieu Desnoyers [Fri, 12 Aug 2011 14:42:24 +0000 (10:42 -0400)] 
Initialize size to 0 to eliminate incorrect gcc uninitialized var warning

gcc does not seem to keep track of both size and has_size.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix non-matching packet context wrt last packet event read
Mathieu Desnoyers [Thu, 11 Aug 2011 20:38:04 +0000 (16:38 -0400)] 
Fix non-matching packet context wrt last packet event read

The last event in a packet is seen with the timestamp of the beginning
of the next packet due to an incorrect handling of ctf_move_pos() : the
"ctf_move_pos_slow" that switches between packets needs to be called at
the next event, rather than at the end of the last event of the packet.
When the position was getting to the end of the payload of the last
event, it was immediately changing packet, which changed all packet
context information, including the current timestamp.

This is fixed by explicitely calling the ctf_move_pos_slow() on packet
boundaries at the beginning of event read rather than at each
ctf_move_pos call.

We also fix handling of empty trace packets here: when an empty packet
is detected, we need to move on to the next packet immediately within
ctf_move_pos_slow() rather than let the caller think there is some event
data in the empty packet.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoVersion 0.4 v0.4
Mathieu Desnoyers [Sat, 6 Aug 2011 18:59:27 +0000 (14:59 -0400)] 
Version 0.4

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoMultiple Directory Conversion
Amer Alhalabi [Fri, 5 Aug 2011 18:42:35 +0000 (14:42 -0400)] 
Multiple Directory Conversion

Code added/modified to merge and convert many CTF binary files located
in different directories into one ASCII file.

Edit by Mathieu Desnoyers:

- Introduce struct trace_collection, because this will eventually be
  seen as an API to the outside world, so I want to hide the internal
  dependency on glib types.
- Added #define _XOPEN_SOURCE 700 needed for openat and nftw at the top
  of babeltrace.c.

Signed-off-by: Amer Alhalabi <amer.alhalabi@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoVersion 0.3 v0.3
Mathieu Desnoyers [Wed, 3 Aug 2011 20:07:55 +0000 (16:07 -0400)] 
Version 0.3

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd lttng-modules 2.0-pre5 trace file
Mathieu Desnoyers [Wed, 3 Aug 2011 17:38:36 +0000 (13:38 -0400)] 
Add lttng-modules 2.0-pre5 trace file

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoSkip padding from metadata end of packet
Mathieu Desnoyers [Wed, 3 Aug 2011 17:38:17 +0000 (13:38 -0400)] 
Skip padding from metadata end of packet

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoupdate test files header to "CTF 1.8"
Mathieu Desnoyers [Wed, 3 Aug 2011 17:11:57 +0000 (13:11 -0400)] 
update test files header to "CTF 1.8"

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate message
Mathieu Desnoyers [Wed, 3 Aug 2011 17:08:31 +0000 (13:08 -0400)] 
Update message

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix reading of empty packets
Mathieu Desnoyers [Tue, 2 Aug 2011 20:34:01 +0000 (16:34 -0400)] 
Fix reading of empty packets

Prior to this fix, an empty packet would be considered as an end of
file. (off-by-one in the size comparison)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd warning for missing /* TSDL header
Mathieu Desnoyers [Tue, 2 Aug 2011 19:03:53 +0000 (15:03 -0400)] 
Add warning for missing /* TSDL header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd text-based metadata header: /* TSDL
Mathieu Desnoyers [Sun, 31 Jul 2011 17:52:42 +0000 (13:52 -0400)] 
Add text-based metadata header: /* TSDL

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate ctf path test
Mathieu Desnoyers [Fri, 29 Jul 2011 18:48:25 +0000 (14:48 -0400)] 
Update ctf path test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate ctf-path test case
Mathieu Desnoyers [Fri, 29 Jul 2011 17:39:13 +0000 (13:39 -0400)] 
Update ctf-path test case

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate ctf-path todo test
Mathieu Desnoyers [Fri, 29 Jul 2011 17:14:51 +0000 (13:14 -0400)] 
Update ctf-path todo test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd tofix test (path lookup not supported by grammar)
Mathieu Desnoyers [Fri, 29 Jul 2011 17:10:15 +0000 (13:10 -0400)] 
Add tofix test (path lookup not supported by grammar)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoRemove incorrect comment from ctf-ir
Mathieu Desnoyers [Wed, 27 Jul 2011 19:24:45 +0000 (15:24 -0400)] 
Remove incorrect comment from ctf-ir

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd lttng-modules-2.0-pre1 test trace
Mathieu Desnoyers [Tue, 26 Jul 2011 14:13:33 +0000 (10:13 -0400)] 
Add lttng-modules-2.0-pre1 test trace

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoRetry needs to recreate type def and aliases too
Mathieu Desnoyers [Tue, 26 Jul 2011 00:38:05 +0000 (20:38 -0400)] 
Retry needs to recreate type def and aliases too

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoSet old declaration to NULL when retry
Mathieu Desnoyers [Tue, 26 Jul 2011 00:28:59 +0000 (20:28 -0400)] 
Set old declaration to NULL when retry

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoKeep byte order field mask set upon retry
Mathieu Desnoyers [Tue, 26 Jul 2011 00:19:36 +0000 (20:19 -0400)] 
Keep byte order field mask set upon retry

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoClear field mask before retry.
Mathieu Desnoyers [Tue, 26 Jul 2011 00:13:13 +0000 (20:13 -0400)] 
Clear field mask before retry.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoHandle correctly cross-endianness for text-based metadata
Mathieu Desnoyers [Tue, 26 Jul 2011 00:09:06 +0000 (20:09 -0400)] 
Handle correctly cross-endianness for text-based metadata

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoByte order is only set when packet-based metadata is found.
Mathieu Desnoyers [Mon, 25 Jul 2011 23:05:44 +0000 (19:05 -0400)] 
Byte order is only set when packet-based metadata is found.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agopacket-based-metadata test trace did not follow CTF specification
Mathieu Desnoyers [Mon, 25 Jul 2011 21:14:47 +0000 (17:14 -0400)] 
packet-based-metadata test trace did not follow CTF specification

Needed to account for the header size in the content size.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agobyte order from arch only needs to be set when not using packet metadata
Mathieu Desnoyers [Mon, 25 Jul 2011 21:14:02 +0000 (17:14 -0400)] 
byte order from arch only needs to be set when not using packet metadata

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix read of text-based metadata traces
Mathieu Desnoyers [Mon, 25 Jul 2011 20:04:53 +0000 (16:04 -0400)] 
Fix read of text-based metadata traces

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate version to 0.2 v0.2
Mathieu Desnoyers [Fri, 22 Jul 2011 19:57:49 +0000 (15:57 -0400)] 
Update version to 0.2

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix gcc 4.6 warnings
Mathieu Desnoyers [Wed, 20 Jul 2011 22:09:39 +0000 (18:09 -0400)] 
Fix gcc 4.6 warnings

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix cross-endianness handling
Mathieu Desnoyers [Wed, 20 Jul 2011 20:11:37 +0000 (16:11 -0400)] 
Fix cross-endianness handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix memory initialization for parser test
Mathieu Desnoyers [Wed, 20 Jul 2011 19:56:54 +0000 (15:56 -0400)] 
Fix memory initialization for parser test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoRevert "Fix uninitialized memory in metadata parser"
Mathieu Desnoyers [Wed, 20 Jul 2011 19:56:17 +0000 (15:56 -0400)] 
Revert "Fix uninitialized memory in metadata parser"

This reverts commit a7d3eed364faffe9054776b3423572d792103316.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix uninitialized memory in metadata parser
Mathieu Desnoyers [Wed, 20 Jul 2011 19:51:46 +0000 (15:51 -0400)] 
Fix uninitialized memory in metadata parser

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate readme v0.1
Mathieu Desnoyers [Wed, 20 Jul 2011 15:12:55 +0000 (11:12 -0400)] 
Update readme

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd missing include files to dist tarball
Mathieu Desnoyers [Wed, 20 Jul 2011 01:36:18 +0000 (21:36 -0400)] 
Add missing include files to dist tarball

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix segfault when typealias fails
Simon Marchi [Mon, 18 Jul 2011 20:23:14 +0000 (16:23 -0400)] 
Fix segfault when typealias fails

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd dummy output module
Mathieu Desnoyers [Mon, 18 Jul 2011 20:17:29 +0000 (16:17 -0400)] 
Add dummy output module

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix test case
Mathieu Desnoyers [Mon, 18 Jul 2011 19:32:27 +0000 (15:32 -0400)] 
Fix test case

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoDuplicate variant field name test
Simon Marchi [Thu, 14 Jul 2011 13:43:10 +0000 (09:43 -0400)] 
Duplicate variant field name test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoDuplicate struct field name test
Simon Marchi [Thu, 14 Jul 2011 13:42:45 +0000 (09:42 -0400)] 
Duplicate struct field name test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoDuplicate variant field name check
Simon Marchi [Thu, 14 Jul 2011 13:40:28 +0000 (09:40 -0400)] 
Duplicate variant field name check

Check that no field with the same name has been defined in the variant.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoDuplicate struct field name check
Simon Marchi [Thu, 14 Jul 2011 13:37:51 +0000 (09:37 -0400)] 
Duplicate struct field name check

Check that no field with the same name has been defined in the struct.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoMerge branch 'master' of ssh://efficios.com/home/efficios/git/babeltrace
Mathieu Desnoyers [Thu, 14 Jul 2011 13:36:56 +0000 (09:36 -0400)] 
Merge branch 'master' of ssh://efficios.com/home/efficios/git/babeltrace

Conflicts:
formats/ctf/ctf.c

11 years agoAdd tofix/ parser test files
Mathieu Desnoyers [Wed, 13 Jul 2011 19:15:35 +0000 (15:15 -0400)] 
Add tofix/ parser test files

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoCTF: fix packet indexing
Mathieu Desnoyers [Wed, 13 Jul 2011 15:11:10 +0000 (11:11 -0400)] 
CTF: fix packet indexing

Slowness was caused by unneeded recreation of stream event fields for
each packet.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoCTF format: packet metadata final \0 fix
Mathieu Desnoyers [Wed, 13 Jul 2011 15:10:22 +0000 (11:10 -0400)] 
CTF format: packet metadata final \0 fix

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agobabeltrace: remove duplicate default test
Mathieu Desnoyers [Tue, 12 Jul 2011 16:18:20 +0000 (12:18 -0400)] 
babeltrace: remove duplicate default test

Reported-by: Amer Alhalabi <amer.alhalabi@ericsson.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd abstract array test
Mathieu Desnoyers [Mon, 11 Jul 2011 19:02:15 +0000 (15:02 -0400)] 
Add abstract array test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix abstract array handling
Mathieu Desnoyers [Mon, 11 Jul 2011 19:01:55 +0000 (15:01 -0400)] 
Fix abstract array handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd shared copyright to EfficiOS Inc. and Linux Foundation
Mathieu Desnoyers [Thu, 30 Jun 2011 21:38:49 +0000 (17:38 -0400)] 
Add shared copyright to EfficiOS Inc. and Linux Foundation

Work on Babeltrace performed by EfficiOS Inc. that was funded by the
Linux Foundation has a shared copyright between those two entities.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix babeltrace-log incorrect timestamp type
Mathieu Desnoyers [Tue, 28 Jun 2011 22:45:52 +0000 (18:45 -0400)] 
Fix babeltrace-log incorrect timestamp type

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoPretty-print 0-value timestamps
Mathieu Desnoyers [Tue, 28 Jun 2011 22:18:01 +0000 (18:18 -0400)] 
Pretty-print 0-value timestamps

Useful when dealing with dmesg logs which have 0-value timestamp.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd -h option to babeltrace-log
Mathieu Desnoyers [Sat, 25 Jun 2011 07:15:12 +0000 (03:15 -0400)] 
Add -h option to babeltrace-log

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix message arg type
Mathieu Desnoyers [Fri, 24 Jun 2011 01:00:08 +0000 (21:00 -0400)] 
Fix message arg type

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoMove ctf_file_stream away from ctf-ir
Mathieu Desnoyers [Thu, 23 Jun 2011 21:40:12 +0000 (17:40 -0400)] 
Move ctf_file_stream away from ctf-ir

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoMove stream_id to struct ctf_stream
Mathieu Desnoyers [Thu, 23 Jun 2011 20:27:10 +0000 (16:27 -0400)] 
Move stream_id to struct ctf_stream

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoRename struct ctf_file_event to struct ctf_stream_event
Mathieu Desnoyers [Thu, 23 Jun 2011 20:10:32 +0000 (16:10 -0400)] 
Rename struct ctf_file_event to struct ctf_stream_event

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoMove intermediate representation to ctf-ir/
Mathieu Desnoyers [Thu, 23 Jun 2011 20:06:17 +0000 (16:06 -0400)] 
Move intermediate representation to ctf-ir/

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoexport lookup_definition
Mathieu Desnoyers [Thu, 23 Jun 2011 19:57:24 +0000 (15:57 -0400)] 
export lookup_definition

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix babeltrace-log (output) handling in ctf.c
Mathieu Desnoyers [Wed, 22 Jun 2011 18:46:41 +0000 (14:46 -0400)] 
Fix babeltrace-log (output) handling in ctf.c

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd sponsors to README file
Mathieu Desnoyers [Wed, 22 Jun 2011 18:26:44 +0000 (14:26 -0400)] 
Add sponsors to README file

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate README file: point to CTF specification
Mathieu Desnoyers [Wed, 22 Jun 2011 18:25:41 +0000 (14:25 -0400)] 
Update README file: point to CTF specification

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate gitignore
Mathieu Desnoyers [Wed, 8 Jun 2011 21:05:41 +0000 (17:05 -0400)] 
Update gitignore

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoPacket metadata read should substract header size
Mathieu Desnoyers [Wed, 8 Jun 2011 21:01:44 +0000 (17:01 -0400)] 
Packet metadata read should substract header size

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix XML output in ctf-parser-test
Simon Marchi [Wed, 1 Jun 2011 14:53:28 +0000 (10:53 -0400)] 
Fix XML output in ctf-parser-test

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoCheck for files not containing any header
Mathieu Desnoyers [Thu, 26 May 2011 00:20:50 +0000 (20:20 -0400)] 
Check for files not containing any header

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFilter out redundant packet context fields unless in verbose mode
Mathieu Desnoyers [Tue, 24 May 2011 14:09:06 +0000 (10:09 -0400)] 
Filter out redundant packet context fields unless in verbose mode

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoFix compile warning in semantic validator
Mathieu Desnoyers [Tue, 24 May 2011 02:55:12 +0000 (22:55 -0400)] 
Fix compile warning in semantic validator

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd heap debug option, fix heap
Mathieu Desnoyers [Tue, 24 May 2011 01:05:14 +0000 (21:05 -0400)] 
Add heap debug option, fix heap

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoKeep packet header and context current
Mathieu Desnoyers [Mon, 23 May 2011 23:43:34 +0000 (19:43 -0400)] 
Keep packet header and context current

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoMove definitions to per-file structure
Mathieu Desnoyers [Mon, 23 May 2011 23:18:20 +0000 (19:18 -0400)] 
Move definitions to per-file structure

Otherwise, causes problem due to read of multiple files and interaction
with priority heap: the notion of "current" event and current packet is
only valid on a per-file basis.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoPriority heap: fix insert
Mathieu Desnoyers [Mon, 23 May 2011 21:57:10 +0000 (17:57 -0400)] 
Priority heap: fix insert

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd ldconfig to README
Mathieu Desnoyers [Mon, 23 May 2011 20:49:39 +0000 (16:49 -0400)] 
Add ldconfig to README

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUse priority heap to order by timestamp
Mathieu Desnoyers [Mon, 23 May 2011 20:38:37 +0000 (16:38 -0400)] 
Use priority heap to order by timestamp

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoAdd MIT-licensed priority heap, based on CLRS, chap. 6
Mathieu Desnoyers [Mon, 23 May 2011 20:09:15 +0000 (16:09 -0400)] 
Add MIT-licensed priority heap, based on CLRS, chap. 6

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate flex and bison deps in README
Mathieu Desnoyers [Mon, 23 May 2011 19:07:37 +0000 (15:07 -0400)] 
Update flex and bison deps in README

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
11 years agoUpdate glib dep to 2.22 in configure.ac
Mathieu Desnoyers [Mon, 23 May 2011 19:01:36 +0000 (15:01 -0400)] 
Update glib dep to 2.22 in configure.ac

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.038841 seconds and 4 git commands to generate.