babeltrace.git
6 years agoUpdate .gitignore
Michael Jeanson [Thu, 12 Jan 2017 17:01:02 +0000 (12:01 -0500)] 
Update .gitignore

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoGenerate a binary looking for in-tree plug-ins
Jérémie Galarneau [Tue, 17 Jan 2017 01:07:33 +0000 (20:07 -0500)] 
Generate a binary looking for in-tree plug-ins

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoTrimmer fix: don't emit end of trace on out-of-bound event
Jérémie Galarneau [Mon, 16 Jan 2017 19:33:06 +0000 (14:33 -0500)] 
Trimmer fix: don't emit end of trace on out-of-bound event

Trimmer must properly end packets and streams before returning
END_OF_TRACE.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoTrimmer fix: forward evaluation result to downstream components
Jérémie Galarneau [Mon, 16 Jan 2017 17:52:11 +0000 (12:52 -0500)] 
Trimmer fix: forward evaluation result to downstream components

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoClean-up indentation in babeltrace-cfg.c
Jérémie Galarneau [Fri, 13 Jan 2017 21:01:45 +0000 (16:01 -0500)] 
Clean-up indentation in babeltrace-cfg.c

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoctf-fs fix: only apply timestamp end field on packet end
Jérémie Galarneau [Fri, 13 Jan 2017 21:00:49 +0000 (16:00 -0500)] 
ctf-fs fix: only apply timestamp end field on packet end

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: don't attempt to mmap packet at end of file
Jérémie Galarneau [Fri, 6 Jan 2017 23:29:05 +0000 (18:29 -0500)] 
Fix: don't attempt to mmap packet at end of file

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: print usage even if omit arguments are received
Mathieu Desnoyers [Fri, 16 Dec 2016 20:22:51 +0000 (21:22 +0100)] 
Fix: print usage even if omit arguments are received

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: integration of legacy mode with implicit source
Mathieu Desnoyers [Fri, 16 Dec 2016 20:09:45 +0000 (21:09 +0100)] 
Fix: integration of legacy mode with implicit source

Needed to add an implicit sink for non-legacy mode too.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoTests: adapt writer tests as IR now allows NULL headers and contexts
Jérémie Galarneau [Wed, 4 Jan 2017 21:53:10 +0000 (16:53 -0500)] 
Tests: adapt writer tests as IR now allows NULL headers and contexts

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoStop trimmer iteration when end bound is reached
Jérémie Galarneau [Sat, 17 Dec 2016 16:05:26 +0000 (11:05 -0500)] 
Stop trimmer iteration when end bound is reached

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: passing NULL to glib mapped file unref function is not allowed
Jérémie Galarneau [Sat, 17 Dec 2016 17:11:29 +0000 (12:11 -0500)] 
Fix: passing NULL to glib mapped file unref function is not allowed

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix IR visitor: set min alignment on structure field type
Jérémie Galarneau [Sat, 17 Dec 2016 17:03:19 +0000 (12:03 -0500)] 
Fix IR visitor: set min alignment on structure field type

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: don't use implicit source in legacy mode
Mathieu Desnoyers [Fri, 16 Dec 2016 17:46:27 +0000 (18:46 +0100)] 
Fix: don't use implicit source in legacy mode

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: babeltrace launch wrapper script
Mathieu Desnoyers [Fri, 16 Dec 2016 16:35:15 +0000 (17:35 +0100)] 
Fix: babeltrace launch wrapper script

Call babeltrace.bin from wrapper script (not wrapper per se).
Transform the babeltrace.bin program name to babeltrace when installing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoUse build tree plugins when executing from build tree
Mathieu Desnoyers [Fri, 16 Dec 2016 08:20:05 +0000 (09:20 +0100)] 
Use build tree plugins when executing from build tree

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoMove print level of duplicate component warning to verbose
Mathieu Desnoyers [Fri, 16 Dec 2016 08:04:50 +0000 (09:04 +0100)] 
Move print level of duplicate component warning to verbose

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoHandle system and home plugin paths
Mathieu Desnoyers [Fri, 16 Dec 2016 06:24:07 +0000 (07:24 +0100)] 
Handle system and home plugin paths

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: params arg parsing: apply to current component params
Mathieu Desnoyers [Fri, 16 Dec 2016 06:35:57 +0000 (07:35 +0100)] 
Fix: params arg parsing: apply to current component params

We want to extend the current component params, not the base params. The
base params are already copied into the component's params when we get
the --source or --sink parameters.

Allow multiple --params (additive) to be passed to a component.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement implicit source component
Mathieu Desnoyers [Thu, 15 Dec 2016 12:26:54 +0000 (13:26 +0100)] 
Implement implicit source component

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRemove unused index version fields
Jérémie Galarneau [Wed, 14 Dec 2016 12:00:21 +0000 (07:00 -0500)] 
Remove unused index version fields

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoBuild CTF stream indexes from LTTng index files
Jérémie Galarneau [Mon, 12 Dec 2016 16:55:05 +0000 (11:55 -0500)] 
Build CTF stream indexes from LTTng index files

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd timerange, begin, end parameters
Mathieu Desnoyers [Mon, 12 Dec 2016 18:33:22 +0000 (19:33 +0100)] 
Add timerange, begin, end parameters

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotrimmer: error checking, reporting, begin > end check
Mathieu Desnoyers [Mon, 12 Dec 2016 08:20:13 +0000 (09:20 +0100)] 
trimmer: error checking, reporting, begin > end check

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotrimmer: infer end date from begin date
Mathieu Desnoyers [Mon, 12 Dec 2016 07:52:25 +0000 (08:52 +0100)] 
trimmer: infer end date from begin date

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoSupport standard timestamp formats for begin/end
Mathieu Desnoyers [Sun, 11 Dec 2016 12:53:26 +0000 (13:53 +0100)] 
Support standard timestamp formats for begin/end

Also use the new plugin parameters to convey this information. Don't
allocate a shortcut just yet.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoTrimmer: Filter-out packet that are not in the specified range
Jérémie Galarneau [Sun, 11 Dec 2016 14:32:59 +0000 (09:32 -0500)] 
Trimmer: Filter-out packet that are not in the specified range

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRename bt_notification_packet_start to "begin"
Jérémie Galarneau [Sun, 11 Dec 2016 14:32:37 +0000 (09:32 -0500)] 
Rename bt_notification_packet_start to "begin"

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: handle size 0 CTF fs streams
Jérémie Galarneau [Sun, 11 Dec 2016 10:52:30 +0000 (05:52 -0500)] 
Fix: handle size 0 CTF fs streams

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoWriter fix: don't skip first notification
Jérémie Galarneau [Sun, 11 Dec 2016 09:42:51 +0000 (04:42 -0500)] 
Writer fix: don't skip first notification

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoWriter: null contexts are not an error
Jérémie Galarneau [Sun, 11 Dec 2016 09:41:38 +0000 (04:41 -0500)] 
Writer: null contexts are not an error

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoclock working
Julien Desfossez [Wed, 23 Nov 2016 22:34:57 +0000 (17:34 -0500)] 
clock working

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofix: missing free on error path
Julien Desfossez [Fri, 18 Nov 2016 16:44:17 +0000 (11:44 -0500)] 
fix: missing free on error path

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agouse GString instead of non-portable char[PATH/NAME_MAX]
Julien Desfossez [Fri, 18 Nov 2016 16:41:58 +0000 (11:41 -0500)] 
use GString instead of non-portable char[PATH/NAME_MAX]

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofix: add .a of the ctf writer plugin in Makefile
Julien Desfossez [Fri, 18 Nov 2016 16:12:34 +0000 (11:12 -0500)] 
fix: add .a of the ctf writer plugin in Makefile

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoCTF Writer sink
Julien Desfossez [Wed, 16 Nov 2016 19:33:42 +0000 (14:33 -0500)] 
CTF Writer sink

This plugin outputs CTF traces based on what it receives as input.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd a trimmer component to the graph if begin/end options are used
Jérémie Galarneau [Sun, 11 Dec 2016 09:01:04 +0000 (04:01 -0500)] 
Add a trimmer component to the graph if begin/end options are used

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdditional check added to bt_component_sink_validate
Jérémie Galarneau [Sun, 11 Dec 2016 09:00:51 +0000 (04:00 -0500)] 
Additional check added to bt_component_sink_validate

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement bt_notification_iterator_set_seek_time_cb
Jérémie Galarneau [Sun, 11 Dec 2016 09:00:22 +0000 (04:00 -0500)] 
Implement bt_notification_iterator_set_seek_time_cb

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoClean-up notification iterator creation function
Jérémie Galarneau [Sun, 11 Dec 2016 08:59:43 +0000 (03:59 -0500)] 
Clean-up notification iterator creation function

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd filter component creation and validation callback
Jérémie Galarneau [Sun, 11 Dec 2016 08:57:56 +0000 (03:57 -0500)] 
Add filter component creation and validation callback

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd branch prediction hints in ref count interface
Jérémie Galarneau [Sun, 11 Dec 2016 08:56:56 +0000 (03:56 -0500)] 
Add branch prediction hints in ref count interface

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoClean-up: Add missing forward declaration
Jérémie Galarneau [Sun, 11 Dec 2016 08:56:16 +0000 (03:56 -0500)] 
Clean-up: Add missing forward declaration

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd bt_notification_iterator_seek_time_cb to notification iterator
Jérémie Galarneau [Sun, 11 Dec 2016 08:55:44 +0000 (03:55 -0500)] 
Add bt_notification_iterator_seek_time_cb to notification iterator

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement the filter base class validation and creation
Jérémie Galarneau [Sun, 11 Dec 2016 08:55:00 +0000 (03:55 -0500)] 
Implement the filter base class validation and creation

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement the trimmer plug-in
Jérémie Galarneau [Sun, 11 Dec 2016 08:54:26 +0000 (03:54 -0500)] 
Implement the trimmer plug-in

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd a "set" attribute to component begin/end config
Jérémie Galarneau [Sun, 11 Dec 2016 08:52:42 +0000 (03:52 -0500)] 
Add a "set" attribute to component begin/end config

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoComponent iterator points to first notification on creation
Jérémie Galarneau [Sun, 11 Dec 2016 08:49:34 +0000 (03:49 -0500)] 
Component iterator points to first notification on creation

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agogitignore TAGS and cscope
Julien Desfossez [Thu, 3 Nov 2016 14:40:44 +0000 (10:40 -0400)] 
gitignore TAGS and cscope

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoClean-up component-class internal header
Jérémie Galarneau [Thu, 8 Dec 2016 21:00:29 +0000 (16:00 -0500)] 
Clean-up component-class internal header

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement the Component Graph API
Jérémie Galarneau [Thu, 8 Dec 2016 19:10:22 +0000 (14:10 -0500)] 
Implement the Component Graph API

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofield-types.h: doc: use FT/field aliases
Philippe Proulx [Sun, 27 Nov 2016 22:49:19 +0000 (17:49 -0500)] 
field-types.h: doc: use FT/field aliases

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agodoc/api: Doxyfile: add FT/field aliases
Philippe Proulx [Sun, 27 Nov 2016 22:48:58 +0000 (17:48 -0500)] 
doc/api: Doxyfile: add FT/field aliases

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotrace.h: doc: add missing end of group
Philippe Proulx [Sat, 26 Nov 2016 02:27:23 +0000 (21:27 -0500)] 
trace.h: doc: add missing end of group

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agopacket.h: doc: add missing end of group
Philippe Proulx [Sat, 26 Nov 2016 02:27:06 +0000 (21:27 -0500)] 
packet.h: doc: add missing end of group

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocument field-types.h (API)
Philippe Proulx [Sat, 26 Nov 2016 02:25:48 +0000 (21:25 -0500)] 
Document field-types.h (API)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agovalues.h: doc: fix doc
Philippe Proulx [Sat, 26 Nov 2016 02:25:08 +0000 (21:25 -0500)] 
values.h: doc: fix doc

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotrace.h: doc: ctfirfieldtype -> ctfirfieldtypes
Philippe Proulx [Sat, 26 Nov 2016 02:24:36 +0000 (21:24 -0500)] 
trace.h: doc: ctfirfieldtype -> ctfirfieldtypes

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agodoc/api/dox: update pages
Philippe Proulx [Sat, 26 Nov 2016 02:24:16 +0000 (21:24 -0500)] 
doc/api/dox: update pages

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoapi/doc: update Doxyfile.in and add custom layout file
Philippe Proulx [Sat, 26 Nov 2016 02:23:49 +0000 (21:23 -0500)] 
api/doc: update Doxyfile.in and add custom layout file

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agobt_ctf_field_type_get_byte_order(): support enum FT
Philippe Proulx [Thu, 24 Nov 2016 21:44:39 +0000 (16:44 -0500)] 
bt_ctf_field_type_get_byte_order(): support enum FT

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofield-types.c: check that we don't add self FT to struct/var FT
Philippe Proulx [Thu, 24 Nov 2016 21:44:01 +0000 (16:44 -0500)] 
field-types.c: check that we don't add self FT to struct/var FT

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAPI doc: CTF IR writer -> CTF writer
Philippe Proulx [Wed, 23 Nov 2016 20:53:07 +0000 (15:53 -0500)] 
API doc: CTF IR writer -> CTF writer

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd trimmer plug-in skeleton
Jérémie Galarneau [Fri, 2 Dec 2016 20:36:52 +0000 (15:36 -0500)] 
Add trimmer plug-in skeleton

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix compiler warnings
Mathieu Desnoyers [Fri, 25 Nov 2016 22:33:39 +0000 (17:33 -0500)] 
Fix compiler warnings

Left one FIXME about unused function.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoCleanup: object-internal.h static inlines
Mathieu Desnoyers [Fri, 25 Nov 2016 22:21:08 +0000 (17:21 -0500)] 
Cleanup: object-internal.h static inlines

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: ctf_fs debug variable should be extern
Mathieu Desnoyers [Fri, 25 Nov 2016 21:26:18 +0000 (16:26 -0500)] 
Fix: ctf_fs debug variable should be extern

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocs: allow NULL packet, stream and event headers, contexts and payloads
Jérémie Galarneau [Fri, 25 Nov 2016 21:11:50 +0000 (16:11 -0500)] 
Docs: allow NULL packet, stream and event headers, contexts and payloads

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAllow NULL bt_ctf_packet_set_header and bt_ctf_packet_set_context
Jérémie Galarneau [Fri, 25 Nov 2016 20:12:02 +0000 (15:12 -0500)] 
Allow NULL bt_ctf_packet_set_header and bt_ctf_packet_set_context

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoHandle NULL stream/packet/event headers, contexts and payloads
Jérémie Galarneau [Fri, 25 Nov 2016 17:45:01 +0000 (12:45 -0500)] 
Handle NULL stream/packet/event headers, contexts and payloads

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotext output plugin: print time delta
Mathieu Desnoyers [Thu, 24 Nov 2016 23:08:15 +0000 (18:08 -0500)] 
text output plugin: print time delta

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotext output: wire up clock options, error checking
Mathieu Desnoyers [Thu, 24 Nov 2016 22:33:16 +0000 (17:33 -0500)] 
text output: wire up clock options, error checking

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRemove callsite text output code
Mathieu Desnoyers [Thu, 24 Nov 2016 22:19:05 +0000 (17:19 -0500)] 
Remove callsite text output code

Not supported in babeltrace 2 anymore.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoPrint other fields
Mathieu Desnoyers [Thu, 17 Nov 2016 13:20:22 +0000 (08:20 -0500)] 
Print other fields

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAllow NULL (unset) packet, stream and event headers, contexts
Jérémie Galarneau [Fri, 25 Nov 2016 17:24:42 +0000 (12:24 -0500)] 
Allow NULL (unset) packet, stream and event headers, contexts

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd time seek interface stub
Jérémie Galarneau [Thu, 24 Nov 2016 18:59:13 +0000 (13:59 -0500)] 
Add time seek interface stub

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoMove component iterator creation to base component class
Jérémie Galarneau [Thu, 24 Nov 2016 18:58:34 +0000 (13:58 -0500)] 
Move component iterator creation to base component class

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoevent.h: doc: put @cond/@endcond on single lines
Philippe Proulx [Wed, 23 Nov 2016 07:51:25 +0000 (02:51 -0500)] 
event.h: doc: put @cond/@endcond on single lines

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoref.h: doc: clarify descriptions
Philippe Proulx [Wed, 23 Nov 2016 07:44:25 +0000 (02:44 -0500)] 
ref.h: doc: clarify descriptions

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAPI doc: add notes about automatic resolving
Philippe Proulx [Wed, 23 Nov 2016 06:44:41 +0000 (01:44 -0500)] 
API doc: add notes about automatic resolving

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocument field-path.h (API)
Philippe Proulx [Wed, 23 Nov 2016 05:53:17 +0000 (00:53 -0500)] 
Document field-path.h (API)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoevent.h: doc: add missing parameter
Philippe Proulx [Wed, 23 Nov 2016 05:50:42 +0000 (00:50 -0500)] 
event.h: doc: add missing parameter

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAPI doc: add missing @postrefcountsame conditions
Philippe Proulx [Wed, 23 Nov 2016 05:49:09 +0000 (00:49 -0500)] 
API doc: add missing @postrefcountsame conditions

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAPI doc: add #include line in the detailed description
Philippe Proulx [Wed, 23 Nov 2016 04:44:45 +0000 (23:44 -0500)] 
API doc: add #include line in the detailed description

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocument event.h (API)
Philippe Proulx [Tue, 22 Nov 2016 23:08:04 +0000 (18:08 -0500)] 
Document event.h (API)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agostream.h: doc: add missing type doc
Philippe Proulx [Tue, 22 Nov 2016 23:07:53 +0000 (18:07 -0500)] 
stream.h: doc: add missing type doc

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoevent-class.h: doc: reorder functions
Philippe Proulx [Tue, 22 Nov 2016 23:07:34 +0000 (18:07 -0500)] 
event-class.h: doc: reorder functions

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotrace.h: doc: fix HTML tag
Philippe Proulx [Tue, 22 Nov 2016 23:01:19 +0000 (18:01 -0500)] 
trace.h: doc: fix HTML tag

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agobabeltrace-cfg: add the --path option
Philippe Proulx [Tue, 22 Nov 2016 20:57:56 +0000 (15:57 -0500)] 
babeltrace-cfg: add the --path option

--path=PATH is a shortcut for --params=path=PATH. The main use
case is to use tilde expansion when using babeltrace from a
shell:

    -P ~/my-traces/...

is way more convenient than:

    -p path=\"$HOME/my-traces/...\"

In Bash and Zsh, tilde expansion does not happen when the tilde
character is not the first of its word.

--plugin-path looses its short option (-P). I believe --path will
be used more than --plugin-path.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agobabeltrace-cfg: always copy the parameters of component instances
Philippe Proulx [Tue, 22 Nov 2016 20:57:21 +0000 (15:57 -0500)] 
babeltrace-cfg: always copy the parameters of component instances

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotrace.h: doc: various fixes
Philippe Proulx [Tue, 22 Nov 2016 20:37:04 +0000 (15:37 -0500)] 
trace.h: doc: various fixes

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agostream-class.h: doc: add freezing postcondition
Philippe Proulx [Tue, 22 Nov 2016 20:36:19 +0000 (15:36 -0500)] 
stream-class.h: doc: add freezing postcondition

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agostream-class.h: doc: add note about CTF IR writer-only API
Philippe Proulx [Tue, 22 Nov 2016 20:36:00 +0000 (15:36 -0500)] 
stream-class.h: doc: add note about CTF IR writer-only API

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocument stream.h (API)
Philippe Proulx [Tue, 22 Nov 2016 20:35:41 +0000 (15:35 -0500)] 
Document stream.h (API)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocument utils.h (API)
Philippe Proulx [Tue, 22 Nov 2016 19:48:39 +0000 (14:48 -0500)] 
Document utils.h (API)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocument visitor.h (API)
Philippe Proulx [Tue, 22 Nov 2016 19:31:27 +0000 (14:31 -0500)] 
Document visitor.h (API)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRename visitor and element names
Philippe Proulx [Tue, 22 Nov 2016 19:07:59 +0000 (14:07 -0500)] 
Rename visitor and element names

bt_ctf_ir_visitor -> bt_ctf_visitor
bt_ctf_ir_element -> bt_ctf_object
bt_ctf_ir_object_type -> bt_ctf_object_type

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoUse components specified on the command line
Jérémie Galarneau [Wed, 23 Nov 2016 16:34:06 +0000 (11:34 -0500)] 
Use components specified on the command line

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agobabeltrace-cfg: fix terminology (component instance vs. class)
Philippe Proulx [Tue, 22 Nov 2016 18:24:03 +0000 (13:24 -0500)] 
babeltrace-cfg: fix terminology (component instance vs. class)

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agobabeltrace-cfg: replace " with ` in messages
Philippe Proulx [Tue, 22 Nov 2016 18:16:56 +0000 (13:16 -0500)] 
babeltrace-cfg: replace " with ` in messages

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
This page took 0.040889 seconds and 4 git commands to generate.