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>
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>
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>
Mathieu Desnoyers [Mon, 9 May 2011 15:45:36 +0000 (11:45 -0400)]
Update pretty-print
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 9 May 2011 15:28:56 +0000 (11:28 -0400)]
move struct ctf_stream -> struct ctf_stream_class
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 9 May 2011 14:59:04 +0000 (10:59 -0400)]
Add -t option
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 9 May 2011 13:47:54 +0000 (09:47 -0400)]
Update pretty-print
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Mon, 9 May 2011 11:05:28 +0000 (07:05 -0400)]
move content of struct field into struct definition
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sun, 8 May 2011 00:38:36 +0000 (20:38 -0400)]
Add missing libpopt dependency in README file
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 20:26:22 +0000 (16:26 -0400)]
update usage()
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 20:09:40 +0000 (16:09 -0400)]
fix timestamp parsing
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 19:47:15 +0000 (15:47 -0400)]
Add timestamps to babeltrace-log -t
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 17:38:16 +0000 (13:38 -0400)]
Cleanup babeltrace-log
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 16:53:39 +0000 (12:53 -0400)]
Move babeltrace-log to converter directory
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 16:50:14 +0000 (12:50 -0400)]
Complete dummy trace creation
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 16:27:59 +0000 (12:27 -0400)]
Use O_RDWR for open write mode (for mmap)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 15:46:49 +0000 (11:46 -0400)]
Prettify usage()
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 15:41:01 +0000 (11:41 -0400)]
cleanup usage()
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 15:35:17 +0000 (11:35 -0400)]
Add test traces
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 15:34:25 +0000 (11:34 -0400)]
Be more verbose went encountering unexpected EOF
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mathieu Desnoyers [Sat, 7 May 2011 15:30:29 +0000 (11:30 -0400)]
Change -EOF for EOF (it is worth -1), fix assertion
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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>
This page took 0.038124 seconds and 4 git commands to generate.