babeltrace.git
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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

13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 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>
13 years agoUpdate glib dep to 2.22
Mathieu Desnoyers [Mon, 23 May 2011 18:59:38 +0000 (14:59 -0400)] 
Update glib dep to 2.22

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate automake version dep
Mathieu Desnoyers [Mon, 23 May 2011 18:57:33 +0000 (14:57 -0400)] 
Update automake version dep

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate timestamps by carrying the overflow
Mathieu Desnoyers [Mon, 23 May 2011 15:13:54 +0000 (11:13 -0400)] 
Update timestamps by carrying the overflow

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix null stream handling
Mathieu Desnoyers [Mon, 23 May 2011 14:10:14 +0000 (10:10 -0400)] 
Fix null stream handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate enum pretty print
Mathieu Desnoyers [Sun, 22 May 2011 16:52:59 +0000 (12:52 -0400)] 
Update enum pretty print

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoEnum printing fix, enum / variant header handling
Mathieu Desnoyers [Sun, 22 May 2011 16:26:13 +0000 (12:26 -0400)] 
Enum printing fix, enum / variant header handling

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoEnum: fix single-value hash table lookup
Mathieu Desnoyers [Sun, 22 May 2011 14:50:16 +0000 (10:50 -0400)] 
Enum: fix single-value hash table lookup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix handling of memopen size
Mathieu Desnoyers [Sun, 22 May 2011 04:27:10 +0000 (00:27 -0400)] 
Fix handling of memopen size

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate integer encoding
Mathieu Desnoyers [Sat, 21 May 2011 22:02:24 +0000 (18:02 -0400)] 
Update integer encoding

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd missing reference to variant
Mathieu Desnoyers [Sat, 21 May 2011 21:48:22 +0000 (17:48 -0400)] 
Add missing reference to variant

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd missing libadd
Mathieu Desnoyers [Sat, 21 May 2011 21:06:06 +0000 (17:06 -0400)] 
Add missing libadd

For gcc 4.6.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoExternalize symbols
Mathieu Desnoyers [Sat, 21 May 2011 20:52:32 +0000 (16:52 -0400)] 
Externalize symbols

should fix compile with gcc 4.6.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix incorrect unref
Mathieu Desnoyers [Sat, 21 May 2011 19:44:38 +0000 (15:44 -0400)] 
Fix incorrect unref

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoOnly show packet metadata read in debug mode
Mathieu Desnoyers [Sat, 21 May 2011 19:20:12 +0000 (15:20 -0400)] 
Only show packet metadata read in debug mode

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoClarify license terms of test-bitfield.c
Mathieu Desnoyers [Sat, 21 May 2011 16:50:53 +0000 (12:50 -0400)] 
Clarify license terms of test-bitfield.c

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCTF: Add support for event headers using variants
Mathieu Desnoyers [Wed, 18 May 2011 21:47:56 +0000 (17:47 -0400)] 
CTF: Add support for event headers using variants

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoctf-text: sequence: fix uninitialized return value
Mathieu Desnoyers [Wed, 18 May 2011 21:45:23 +0000 (17:45 -0400)] 
ctf-text: sequence: fix uninitialized return value

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoSequence: add missing handling of integer encoding
Mathieu Desnoyers [Tue, 17 May 2011 16:33:32 +0000 (12:33 -0400)] 
Sequence: add missing handling of integer encoding

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd "encoding" for sequence and array of integers
Mathieu Desnoyers [Tue, 17 May 2011 16:13:23 +0000 (12:13 -0400)] 
Add "encoding" for sequence and array of integers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoFix multi-packet packet-based metadata
Mathieu Desnoyers [Tue, 17 May 2011 13:06:10 +0000 (09:06 -0400)] 
Fix multi-packet packet-based metadata

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUse header_sizeof() for header size instead of gcc packed attribute
Mathieu Desnoyers [Tue, 17 May 2011 13:00:42 +0000 (09:00 -0400)] 
Use header_sizeof() for header size instead of gcc packed attribute

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoTest and fix packet-based metadata parsing
Mathieu Desnoyers [Tue, 17 May 2011 12:55:49 +0000 (08:55 -0400)] 
Test and fix packet-based metadata parsing

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agotrace_uuid -> uuid and add packet metadata support
Mathieu Desnoyers [Tue, 17 May 2011 12:10:25 +0000 (08:10 -0400)] 
trace_uuid -> uuid and add packet metadata support

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoDon't ever support named struct, enum, variant declaration within structures
Mathieu Desnoyers [Mon, 16 May 2011 22:08:17 +0000 (18:08 -0400)] 
Don't ever support named struct, enum, variant declaration within structures

Even gcc emits a warning:

blah.c:
struct blah {
struct bloh { int a; };
struct bloh a;
};

gcc -c -o blah blah.c
blah.c:4: warning: declaration does not declare anything

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate sequence (type specifier -> field ref), fix definition lookup
Mathieu Desnoyers [Mon, 16 May 2011 21:10:48 +0000 (17:10 -0400)] 
Update sequence (type specifier -> field ref), fix definition lookup

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoCreate copy of integer declaration before applying base-16 for pointers
Mathieu Desnoyers [Sat, 14 May 2011 05:35:44 +0000 (01:35 -0400)] 
Create copy of integer declaration before applying base-16 for pointers

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUse 0b prefix for binary pretty print
Mathieu Desnoyers [Sat, 14 May 2011 00:32:22 +0000 (20:32 -0400)] 
Use 0b prefix for binary pretty print

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoInteger base update
Mathieu Desnoyers [Sat, 14 May 2011 00:29:35 +0000 (20:29 -0400)] 
Integer base update

- Test and fix base2 binary formatting.
- Use base16 (hex) printout for pointers if the integer does not specify
  any specific base.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd base integer attribute, and use it in ctf-text
Mathieu Desnoyers [Fri, 13 May 2011 23:35:43 +0000 (19:35 -0400)] 
Add base integer attribute, and use it in ctf-text

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd structure align() attribute, fix empty string support in definition paths
Mathieu Desnoyers [Fri, 13 May 2011 21:41:19 +0000 (17:41 -0400)] 
Add structure align() attribute, fix empty string support in definition paths

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agomove clock id test TSDL to development subdir
Mathieu Desnoyers [Fri, 13 May 2011 11:16:01 +0000 (07:16 -0400)] 
move clock id test TSDL to development subdir

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoAdd alignment power of two check
Mathieu Desnoyers [Fri, 13 May 2011 11:14:05 +0000 (07:14 -0400)] 
Add alignment power of two check

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoHide timestamp field if timestamp is 0
Mathieu Desnoyers [Mon, 9 May 2011 18:55:57 +0000 (14:55 -0400)] 
Hide timestamp field if timestamp is 0

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoRemove extra space in pretty print
Mathieu Desnoyers [Mon, 9 May 2011 18:51:44 +0000 (14:51 -0400)] 
Remove extra space in pretty print

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate pretty print output
Mathieu Desnoyers [Mon, 9 May 2011 18:14:41 +0000 (14:14 -0400)] 
Update pretty print output

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
13 years agoUpdate pretty-printing output
Mathieu Desnoyers [Mon, 9 May 2011 17:23:40 +0000 (13:23 -0400)] 
Update pretty-printing output

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