Mathieu Desnoyers [Sat, 7 May 2011 15:00:07 +0000 (11:00 -0400)]
Ignore hidden files, error message enhancement
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 14:50:03 +0000 (10:50 -0400)]
Use stdout FILE * rather than /dev/stdout for default output
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 14:18:32 +0000 (10:18 -0400)]
fix packet vs file size check
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 07:01:38 +0000 (03:01 -0400)]
Add missing EOF check in string validation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 06:46:20 +0000 (02:46 -0400)]
Add out-of-bound checks
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 06:02:40 +0000 (02:02 -0400)]
cleanup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 06:01:22 +0000 (02:01 -0400)]
Add checks on packet and content size
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 05:55:05 +0000 (01:55 -0400)]
Remove dead code, enable optimized integer read/write
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 05:38:21 +0000 (01:38 -0400)]
update integer text output formatting
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 05:37:07 +0000 (01:37 -0400)]
Provide sane defaults
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 05:27:01 +0000 (01:27 -0400)]
prettify output
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 05:16:11 +0000 (01:16 -0400)]
Use stdout output by default
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 01:29:52 +0000 (21:29 -0400)]
text conversion works
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 00:28:17 +0000 (20:28 -0400)]
update gitignore
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 00:25:37 +0000 (20:25 -0400)]
Add missing makefile
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 00:24:40 +0000 (20:24 -0400)]
Add missing ctf-text.c to repo
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 00:21:20 +0000 (20:21 -0400)]
Add "text" plugin to list.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 00:07:15 +0000 (20:07 -0400)]
text output
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 23:13:18 +0000 (19:13 -0400)]
Fix ctf teardown
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 23:04:22 +0000 (19:04 -0400)]
init pos cleanup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 22:41:30 +0000 (18:41 -0400)]
Fix missing header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 22:36:52 +0000 (18:36 -0400)]
Restructure objects around generic_rw() accessor
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 15:22:12 +0000 (11:22 -0400)]
Use inheritance for trace descriptor and positions
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 12:36:11 +0000 (08:36 -0400)]
Add single-stream tests
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 12:34:16 +0000 (08:34 -0400)]
Allow missing stream {} declarator in single-stream traces
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 12:25:48 +0000 (08:25 -0400)]
only enable printf_debug in lexer and parser in babeltrace debug
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 6 May 2011 01:02:53 +0000 (21:02 -0400)]
CTF: open trace read
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 22:48:58 +0000 (18:48 -0400)]
Add missing string declaration (without {})
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 17:21:57 +0000 (13:21 -0400)]
strings: don't free, just realloc
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 17:01:22 +0000 (13:01 -0400)]
Add dummy trace creator in tests
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 16:52:41 +0000 (12:52 -0400)]
Fix integer/float/string read: keep value in definition structure
Makes magic number read works.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 16:39:42 +0000 (12:39 -0400)]
bitfields: use "type" parameter for unit pointer type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 16:18:08 +0000 (12:18 -0400)]
test bitfield: adapt tests to 64-bit arch (long -> int for input type)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 16:17:29 +0000 (12:17 -0400)]
Portable bitfields: protect against variable name clashes in macros
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 04:41:15 +0000 (00:41 -0400)]
Add array and sequence "len" accessor
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 5 May 2011 04:21:35 +0000 (00:21 -0400)]
Start packet mmap work
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 4 May 2011 20:04:09 +0000 (16:04 -0400)]
Unref: handle null pointers
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 4 May 2011 20:00:05 +0000 (16:00 -0400)]
Update tests to include new packet.header description
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 30 Apr 2011 22:16:54 +0000 (18:16 -0400)]
Handle noninteractive input for metadata
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 30 Apr 2011 21:02:56 +0000 (17:02 -0400)]
Trivial cleanup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 30 Apr 2011 19:58:40 +0000 (15:58 -0400)]
Move stream pos declaration into CTF header
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 30 Apr 2011 19:54:56 +0000 (15:54 -0400)]
CTF trace open/close
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 29 Apr 2011 18:19:08 +0000 (14:19 -0400)]
Use dynamic shared libraries, list formats
We need to make the format librarires dynamically linked to be able to
get the constructor to run.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 29 Apr 2011 16:28:36 +0000 (12:28 -0400)]
Add babeltrace option parsing
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 29 Apr 2011 15:20:46 +0000 (11:20 -0400)]
ctf metadata visitor: remove word_size from trace declaration
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 29 Apr 2011 15:20:16 +0000 (11:20 -0400)]
Remove word_size from tests
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 29 Apr 2011 00:40:00 +0000 (20:40 -0400)]
Add error handling to generate io struct visitor
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 29 Apr 2011 00:39:32 +0000 (20:39 -0400)]
Add metadata test cases
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 28 Apr 2011 23:45:49 +0000 (19:45 -0400)]
Add enum {} default mapping to "int" type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 28 Apr 2011 23:28:19 +0000 (19:28 -0400)]
enum, change enum name <container_type> to enum name : container_type
This follows c++0x semantic (upcoming c++ standard).
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 28 Apr 2011 19:17:55 +0000 (15:17 -0400)]
Change typealias separator from ":" to ":="
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 27 Apr 2011 02:07:51 +0000 (22:07 -0400)]
metadata: Support empty structures
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 27 Apr 2011 01:12:53 +0000 (21:12 -0400)]
Enum: fix handling of container type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 27 Apr 2011 00:59:36 +0000 (20:59 -0400)]
Hash table usage fixes
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 27 Apr 2011 00:40:39 +0000 (20:40 -0400)]
io struct generation debugging ongoing
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 27 Apr 2011 00:13:14 +0000 (20:13 -0400)]
Fix major -> minor typo in tests
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 26 Apr 2011 21:28:01 +0000 (17:28 -0400)]
CTF metadata structure generation code finished
Still awaiting debugging.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 26 Apr 2011 21:10:00 +0000 (17:10 -0400)]
Tests: signedness -> signed
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Tue, 26 Apr 2011 01:33:13 +0000 (21:33 -0400)]
Add type_specifier list node
Needed to correctly iterate on type_specifier_list and then iterate on
each type_specifier of the list.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 22 Apr 2011 14:52:44 +0000 (10:52 -0400)]
Add embedded metadata examples
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 21:01:36 +0000 (17:01 -0400)]
ctf visitor generate I/O struct: Compile fixes, part 1
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 19:37:02 +0000 (15:37 -0400)]
gen io structs: int fd -> FILE *fd
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 19:36:01 +0000 (15:36 -0400)]
Update gen io structs, basic implementation complete
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 19:00:33 +0000 (15:00 -0400)]
gen io struct visitor: update enum
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 18:47:12 +0000 (14:47 -0400)]
Remove enum <32> from tests
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 18:46:00 +0000 (14:46 -0400)]
Remove enum < integer_constant > from grammar
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 18:23:02 +0000 (14:23 -0400)]
enum, sequence, array: use declaration list for length/container type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 16:57:09 +0000 (12:57 -0400)]
Add uuid test to configure.ac
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 16:52:39 +0000 (12:52 -0400)]
Update readme for uuid dep.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 16:41:16 +0000 (12:41 -0400)]
Remove unneeded declaration "name", work in progress for gen io struct
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 06:55:54 +0000 (02:55 -0400)]
typealias: Fix reduce conflict in grammar for abstract declarators
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 04:19:08 +0000 (00:19 -0400)]
Work in progress generate io struct
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 02:30:13 +0000 (22:30 -0400)]
ctf visitor generate I/O struct: visit typedef/typealias
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 21 Apr 2011 02:01:24 +0000 (22:01 -0400)]
Update typealias behavior
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 18 Apr 2011 20:49:59 +0000 (16:49 -0400)]
Create "untagged" variant structure
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 18 Apr 2011 19:35:53 +0000 (15:35 -0400)]
Scope path: split dynamic scope path
Keep the lookup code regular.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 16 Apr 2011 00:36:51 +0000 (20:36 -0400)]
Dynamic scope: child position is MAX_INT
Ensure that lookup knows the parent fields are prior to the child
location.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 16 Apr 2011 00:24:21 +0000 (20:24 -0400)]
Definition scope: update
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 15 Apr 2011 02:14:11 +0000 (22:14 -0400)]
Dynamic definition scope hierarchy
Correctly handle hierarchy of definition scope lookups.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Thu, 14 Apr 2011 06:45:24 +0000 (02:45 -0400)]
Definition scope lookup (for variant/enum)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 13 Apr 2011 22:11:24 +0000 (18:11 -0400)]
Add missing _Imaginary type
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 4 Apr 2011 21:15:59 +0000 (17:15 -0400)]
Generate IO struct visitor adapt to def/declaration
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 4 Apr 2011 20:19:40 +0000 (16:19 -0400)]
Coding indentation cleanup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 4 Apr 2011 20:14:32 +0000 (16:14 -0400)]
Rename "type" to "declaration"
Follows CTF pre-v1.7
commit
457d8b0a0cff67a7489b7eead5b8b26701b430f8
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 4 Apr 2011 19:45:10 +0000 (15:45 -0400)]
Rename "declaration" to "definition"
Follow current CTF pre-v1.7 as of
commit
457d8b0a0cff67a7489b7eead5b8b26701b430f8
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 4 Apr 2011 18:34:00 +0000 (14:34 -0400)]
Update generate IO struct work in progress
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 27 Mar 2011 16:00:56 +0000 (12:00 -0400)]
Add struct/variant/enum named type to type scope
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 26 Mar 2011 20:26:18 +0000 (16:26 -0400)]
I/O structures accessors generation (work in progress)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 21 Mar 2011 20:09:07 +0000 (16:09 -0400)]
ctf metadata field is set bitmasks
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 11 Mar 2011 22:45:11 +0000 (17:45 -0500)]
Update readme
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 11 Mar 2011 19:58:18 +0000 (14:58 -0500)]
Update readme
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Fri, 11 Mar 2011 17:28:41 +0000 (12:28 -0500)]
Document git tree dependencies
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 2 Mar 2011 17:07:05 +0000 (12:07 -0500)]
register type name fix
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Wed, 2 Mar 2011 16:50:08 +0000 (11:50 -0500)]
Separate declaration scope from type scope
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 27 Feb 2011 17:47:10 +0000 (12:47 -0500)]
cleanup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 27 Feb 2011 17:46:40 +0000 (12:46 -0500)]
Add CTF metadata trace structures
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 27 Feb 2011 17:34:06 +0000 (12:34 -0500)]
Declaration scope lookup
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 27 Feb 2011 16:02:53 +0000 (11:02 -0500)]
Build fixes.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 27 Feb 2011 15:29:21 +0000 (10:29 -0500)]
Rename: type_class, type -> type, declaration
Fits better with the parser semantic.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 26 Feb 2011 21:01:55 +0000 (16:01 -0500)]
CTF float/types compile fixes
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
This page took 0.0393829999999999 seconds and 5 git commands to generate.