Philippe Proulx [Wed, 16 Mar 2016 01:07:48 +0000 (21:07 -0400)]
Fix: config: check id (EH) and stream_id (PH) sizes
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:50:06 +0000 (20:50 -0400)]
config: error reporting: "ts" -> "timestamp"
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:44:27 +0000 (20:44 -0400)]
Fix: config: timestamp_begin and timestamp_end must be mapped to the same clock
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:32:52 +0000 (20:32 -0400)]
Fix: config: check for content_size gt packet_size
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 16 Mar 2016 00:29:03 +0000 (20:29 -0400)]
Fix: config: packet context type is mandatory and must be a struct
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 23:19:30 +0000 (19:19 -0400)]
README.md: move documentation to the project's wiki
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 21:12:14 +0000 (17:12 -0400)]
linux-fs: zero packet buffer initially
This fixes Valgrind warnings.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 20:12:07 +0000 (16:12 -0400)]
config: fix comment
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 19:41:57 +0000 (15:41 -0400)]
metadata: add is_dynamic to type objs and fix align
The alignment of any type is None if it's not known statically,
i.e. if the type contains a variant containing more than one types
not having the same alignment, recursively.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 19:38:09 +0000 (15:38 -0400)]
Fix: config: entity type: check for struct type
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 15 Mar 2016 01:14:27 +0000 (21:14 -0400)]
Add a few provided includable config files
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 22:57:39 +0000 (18:57 -0400)]
Fix: config: check for enum type member object value outside range
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 22:00:50 +0000 (18:00 -0400)]
Fix: config: check for unknown props in enum type member object
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 21:51:19 +0000 (17:51 -0400)]
config: "integer type" -> "value type" (for enum type)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 21:10:36 +0000 (17:10 -0400)]
config: error reporting: type obj can be an assoc array or a string
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 21:10:22 +0000 (17:10 -0400)]
Fix: config: check unknown props in float type object size
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 20:55:24 +0000 (16:55 -0400)]
Fix: config: check for unknown "base" values in int type object
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 19:55:46 +0000 (15:55 -0400)]
Fix: config: check for trace object's "byte-order" node type
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Mon, 14 Mar 2016 19:39:51 +0000 (15:39 -0400)]
Fix: config: check PH "uuid" field's element type's signedness
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:59:31 +0000 (00:59 -0500)]
Fix: do not allow negative log level values
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:56:23 +0000 (00:56 -0500)]
config: make event's log-level property accept integer
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:55:56 +0000 (00:55 -0500)]
config: prefer using $log-levels prop in 2.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Sat, 12 Mar 2016 05:36:02 +0000 (00:36 -0500)]
Fix: config: check for unknown props in config object
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 17 Mar 2016 06:50:05 +0000 (02:50 -0400)]
Add include functionality
README.md is not modified because its content will be moved
to the project's wiki anyway.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 11 Mar 2016 18:38:11 +0000 (13:38 -0500)]
Fix: config: check for node type before checking props
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 11 Mar 2016 18:37:09 +0000 (13:37 -0500)]
config: prefer using $inherit prop in 2.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 23:06:51 +0000 (18:06 -0500)]
config: prefer using $return-ctype prop in 2.1
All properties of config objects which do not end up in the
TSDL metadata, i.e. properties for barectf itself, should be
prefixed with $ in the future.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 23:05:51 +0000 (18:05 -0500)]
config: convert config version to integer
'2.0' -> 200
'2.1' -> 201
'2.10' -> 210
This makes versions comparable.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 23:05:18 +0000 (18:05 -0500)]
Fix: metadata: add missing return_ctype property
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 22:50:18 +0000 (17:50 -0500)]
README.md: add C99 compliance limitation
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 22:35:07 +0000 (17:35 -0500)]
Fix: use unions to write floats to avoid aliasing warnings
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 22:02:31 +0000 (17:02 -0500)]
Examples: add -Wall -pedantic to CFLAGS
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 21:58:52 +0000 (16:58 -0500)]
templates: add __extension__ before statement expressions
This removes the warnings printed by GCC with -pedantic, since
statement expressions are a GCC extension.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 21:31:53 +0000 (16:31 -0500)]
barectf v2.1.0-dev
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Thu, 10 Mar 2016 21:16:14 +0000 (16:16 -0500)]
Add CHANGELOG.md
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 30 Oct 2015 03:50:11 +0000 (23:50 -0400)]
barectf v2.0.2
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 30 Oct 2015 03:46:47 +0000 (23:46 -0400)]
Fix: _split_version_suffix() may return 1 element
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Fri, 23 Oct 2015 20:56:36 +0000 (16:56 -0400)]
README.md: fix Arch Linux install command-line
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 14 Oct 2015 16:18:56 +0000 (12:18 -0400)]
README.md: add PyPI badge
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Wed, 14 Oct 2015 16:18:35 +0000 (12:18 -0400)]
barectf v2.0.1
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 13 Oct 2015 18:08:20 +0000 (14:08 -0400)]
Parallella plat.: close_packet(): fix array indexing
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 13 Oct 2015 18:05:08 +0000 (14:05 -0400)]
Parallella platform: is_backend_full(): do not init. `full`
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Philippe Proulx [Tue, 13 Oct 2015 18:04:42 +0000 (14:04 -0400)]
barectf-platform-parallella.c: fix spacing
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Thomas Bertauld [Sat, 10 Oct 2015 23:41:00 +0000 (19:41 -0400)]
Enhance the understandability of some actions in the parallella platform
Thomas Bertauld [Sat, 10 Oct 2015 23:37:18 +0000 (19:37 -0400)]
Fixing the missing initialization of the field 'initialized' in the global context of an eCore on the parallella platform
Philippe Proulx [Wed, 22 Jul 2015 15:30:07 +0000 (11:30 -0400)]
platforms/parallella/consumer: minor cleaning
Philippe Proulx [Tue, 2 Jun 2015 17:18:20 +0000 (13:18 -0400)]
barectf v2.0.0
Jérémie Galarneau [Fri, 5 Jun 2015 09:34:56 +0000 (11:34 +0200)]
Docs: Capitalize README.md section headers
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 8 Jun 2015 21:21:48 +0000 (17:21 -0400)]
barectf v0.3.1
Philippe Proulx [Mon, 8 Jun 2015 21:20:53 +0000 (17:20 -0400)]
Improve quality of some error messages
Philippe Proulx [Fri, 29 May 2015 00:03:20 +0000 (20:03 -0400)]
barectf v0.3.0
Philippe Proulx [Thu, 28 May 2015 23:58:00 +0000 (19:58 -0400)]
Add version argument
Philippe Proulx [Tue, 26 May 2015 00:28:35 +0000 (20:28 -0400)]
README.md: document events_discarded feature
Philippe Proulx [Tue, 26 May 2015 00:19:59 +0000 (20:19 -0400)]
barectf v0.2.0
Philippe Proulx [Tue, 26 May 2015 00:15:15 +0000 (20:15 -0400)]
Add support for discarded events on packet close
If a stream's packet context has the "events_discarded" field,
its barectf_close_packet() function will accept an additional
parameter which indicates the number of discarded events
*so far for this stream* (free-running counter, i.e. not per packet).
Philippe Proulx [Mon, 25 May 2015 23:44:23 +0000 (19:44 -0400)]
Add bitfield functions wrapping actual macros
Not inlining macro expansions should save some space in
the program section.
Philippe Proulx [Tue, 25 Nov 2014 23:29:56 +0000 (18:29 -0500)]
barectf 0.1.2
Philippe Proulx [Tue, 25 Nov 2014 23:29:23 +0000 (18:29 -0500)]
examples -> doc/examples
Philippe Proulx [Tue, 25 Nov 2014 23:28:39 +0000 (18:28 -0500)]
Add examples
Philippe Proulx [Tue, 25 Nov 2014 23:22:28 +0000 (18:22 -0500)]
Fix: write float/double floating point numbers
Casting them to unsigned integers does not keep the
IEEE 754 format.
Philippe Proulx [Tue, 25 Nov 2014 21:41:55 +0000 (16:41 -0500)]
Prettify C output with newlines
Philippe Proulx [Tue, 25 Nov 2014 21:39:16 +0000 (16:39 -0500)]
Fix: _write_field_enum()
Philippe Proulx [Fri, 21 Nov 2014 21:17:34 +0000 (16:17 -0500)]
setup.py/README.md: update after transfer, bump
Philippe Proulx [Mon, 17 Nov 2014 23:20:38 +0000 (18:20 -0500)]
README.md: fix comments in snippets
Philippe Proulx [Fri, 14 Nov 2014 22:21:40 +0000 (17:21 -0500)]
README.md: fix spelling
Philippe Proulx [Fri, 14 Nov 2014 22:18:50 +0000 (17:18 -0500)]
README.md: add IPv4 header complex structure notes
Philippe Proulx [Fri, 14 Nov 2014 22:09:26 +0000 (17:09 -0500)]
doc: improve CTF packet anatomy diagram
Philippe Proulx [Fri, 14 Nov 2014 22:04:36 +0000 (17:04 -0500)]
README.md: fix C snippet indentation
Philippe Proulx [Fri, 14 Nov 2014 21:59:03 +0000 (16:59 -0500)]
Add doc images
Philippe Proulx [Fri, 14 Nov 2014 21:57:36 +0000 (16:57 -0500)]
README.md: ANSI C -> C99
Philippe Proulx [Fri, 14 Nov 2014 21:56:52 +0000 (16:56 -0500)]
Add README.md
Philippe Proulx [Thu, 13 Nov 2014 22:43:34 +0000 (17:43 -0500)]
Fix _get_integer_param_ctype()
Philippe Proulx [Thu, 13 Nov 2014 22:41:22 +0000 (17:41 -0500)]
Fix validation
Philippe Proulx [Thu, 13 Nov 2014 21:42:16 +0000 (16:42 -0500)]
Fix a few CTF write bugs
Philippe Proulx [Thu, 13 Nov 2014 20:54:29 +0000 (15:54 -0500)]
Fix string write
Philippe Proulx [Thu, 13 Nov 2014 20:44:09 +0000 (15:44 -0500)]
Fix sequence length from env.
Philippe Proulx [Thu, 13 Nov 2014 20:19:19 +0000 (15:19 -0500)]
Fix array/sequence write
Philippe Proulx [Thu, 13 Nov 2014 00:21:00 +0000 (19:21 -0500)]
Solve a few bugs
Philippe Proulx [Wed, 12 Nov 2014 20:23:36 +0000 (15:23 -0500)]
Catch write errors
Philippe Proulx [Wed, 12 Nov 2014 20:22:35 +0000 (15:22 -0500)]
Comment a lot and output both headers
Philippe Proulx [Wed, 12 Nov 2014 07:47:59 +0000 (02:47 -0500)]
Add event name validation
Philippe Proulx [Wed, 12 Nov 2014 07:43:49 +0000 (02:43 -0500)]
Add a few steps
Philippe Proulx [Wed, 12 Nov 2014 07:40:31 +0000 (02:40 -0500)]
Add some verbosity
Philippe Proulx [Wed, 12 Nov 2014 07:35:46 +0000 (02:35 -0500)]
setup.py: update keywords
Philippe Proulx [Wed, 12 Nov 2014 07:34:35 +0000 (02:34 -0500)]
setup.py: update description (C99)
Philippe Proulx [Wed, 12 Nov 2014 07:33:31 +0000 (02:33 -0500)]
Improve output
Philippe Proulx [Wed, 12 Nov 2014 07:14:57 +0000 (02:14 -0500)]
Generate trace function body
Philippe Proulx [Wed, 12 Nov 2014 06:14:38 +0000 (01:14 -0500)]
Generate trace functions parameters
Philippe Proulx [Wed, 12 Nov 2014 05:23:11 +0000 (00:23 -0500)]
Open function: generate body
Philippe Proulx [Wed, 12 Nov 2014 04:38:03 +0000 (23:38 -0500)]
setup.py: do not require manual pyPEG2 install
Philippe Proulx [Wed, 12 Nov 2014 04:37:35 +0000 (23:37 -0500)]
Open function body
Philippe Proulx [Wed, 12 Nov 2014 01:33:07 +0000 (20:33 -0500)]
templates.py: use tabs
Philippe Proulx [Wed, 12 Nov 2014 01:32:56 +0000 (20:32 -0500)]
get* -> gen* for generation
Philippe Proulx [Wed, 12 Nov 2014 01:31:26 +0000 (20:31 -0500)]
Generate basic header
Philippe Proulx [Sat, 8 Nov 2014 09:07:04 +0000 (04:07 -0500)]
_validate_context_field -> _validate_context_fields
Philippe Proulx [Sat, 8 Nov 2014 09:06:38 +0000 (04:06 -0500)]
Add event context/fields validation
Philippe Proulx [Sat, 8 Nov 2014 08:56:03 +0000 (03:56 -0500)]
Remove prints
Philippe Proulx [Sat, 8 Nov 2014 08:54:50 +0000 (03:54 -0500)]
Create generator class, fix a few things
Philippe Proulx [Sat, 8 Nov 2014 04:32:33 +0000 (23:32 -0500)]
Fix: get struct size in map
Philippe Proulx [Sat, 8 Nov 2014 04:28:27 +0000 (23:28 -0500)]
Improve C lines output
This page took 0.037497 seconds and 4 git commands to generate.