Jérémie Galarneau [Tue, 30 Aug 2016 04:21:15 +0000 (00:21 -0400)]
Add notification utility library
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 30 Aug 2016 04:04:53 +0000 (00:04 -0400)]
Add implementation of bt_component_source_set_iterator_init_cb
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 30 Aug 2016 04:02:11 +0000 (00:02 -0400)]
Cleanup ctf/fs/Makefile.am
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 30 Aug 2016 04:01:39 +0000 (00:01 -0400)]
Add bt_component_source_validate() implementation
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 30 Aug 2016 03:30:35 +0000 (23:30 -0400)]
Integrate ctf proto into the plugin build system
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 27 Aug 2016 20:16:41 +0000 (16:16 -0400)]
destroy_text must conform to bt_component_destroy_cb
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 27 Aug 2016 20:15:28 +0000 (16:15 -0400)]
Add ctf fs component skeleton
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 27 Aug 2016 20:14:58 +0000 (16:14 -0400)]
Reorder bt_component_status enum
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 27 Aug 2016 19:17:23 +0000 (15:17 -0400)]
Remove weird character from ctf-btr.h
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 27 Aug 2016 18:44:04 +0000 (14:44 -0400)]
Remove bt_ctf_clock_create_empty() usage
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 15 Aug 2016 01:09:18 +0000 (21:09 -0400)]
Add ctf-reader prototype
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sun, 14 Aug 2016 19:14:22 +0000 (15:14 -0400)]
ir: make bt_ctf_field_type_copy() public
This function can be useful for some source plugins which support
aliases in their metadata description: the base type is created
once, then one copy is created for each instance (possibly with
a different tag if it's a variant alias, for example).
The copy and all its children have their valid flag reset to 0 (as
well as their frozen flag). This means that they are not considered
valid after the copy operation. The length and tag field paths of
resp. sequence and variant field types will be resolved later when
this copy is used as one of the types of an event class, a stream
class, or a trace, and when it's about to be frozen in those
contexts.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Aug 2016 18:33:58 +0000 (14:33 -0400)]
Tests: NULL clock names are now allowed
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Aug 2016 18:33:32 +0000 (14:33 -0400)]
Add documentation to bt_ctf_clock_set_name
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Aug 2016 18:31:25 +0000 (14:31 -0400)]
Allow NULL clock name
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sun, 14 Aug 2016 19:08:38 +0000 (15:08 -0400)]
ir: allow the creation of an empty clock (nameless)
bt_ctf_clock_create_empty() is used to create an empty clock object.
This clock has no name, and it cannot be added to any other object
until its name is set using bt_ctf_clock_set_name().
This helps the creation of a clock object when its name is not known
in advance, just like the other properties.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 19 Aug 2016 16:22:00 +0000 (12:22 -0400)]
Workaround glib g_module_open bug
See https://bugzilla.gnome.org/show_bug.cgi?id=769391
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 29 Jul 2016 22:10:25 +0000 (18:10 -0400)]
Missing dirent include in component-factory.c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 29 Jul 2016 22:10:08 +0000 (18:10 -0400)]
Recursively search the plugin path
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 29 Jul 2016 20:54:37 +0000 (16:54 -0400)]
Tests: add trace listener interface test
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 29 Jul 2016 20:56:29 +0000 (16:56 -0400)]
trace listener test
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 29 Jul 2016 20:56:04 +0000 (16:56 -0400)]
Clean-up: use COMMON_TEST_LDADD to simplify Makefile
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 29 Jul 2016 19:36:28 +0000 (15:36 -0400)]
Implement trace listener interface
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 28 Jul 2016 21:27:57 +0000 (17:27 -0400)]
Change "handler" terminology to the more specific listener
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 28 Jul 2016 01:35:33 +0000 (21:35 -0400)]
Tests: add visitor interface test
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 4 Jun 2016 16:20:07 +0000 (12:20 -0400)]
Add CTF-IR visitor interface
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 Apr 2016 16:15:10 +0000 (12:15 -0400)]
Add trace moficiation notification handler interface
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 Apr 2016 16:14:32 +0000 (12:14 -0400)]
Docs: fix comment
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 19 Apr 2016 21:35:44 +0000 (17:35 -0400)]
Cast destroy_text to bt_component_destroy_cb
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:32:14 +0000 (12:32 -0500)]
Update text plugin skeleton
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:31:26 +0000 (12:31 -0500)]
Take ownership of component class in bt_component_source_create
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:30:57 +0000 (12:30 -0500)]
Implement bt_component_sink_set_handle_notification_cb
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:30:28 +0000 (12:30 -0500)]
Register sink components to the event notification by default
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:30:04 +0000 (12:30 -0500)]
Implement sink validation function
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:29:46 +0000 (12:29 -0500)]
Call plugin exit function before unloading
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:29:32 +0000 (12:29 -0500)]
Implement bt_component_set_destroy_cb
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:29:11 +0000 (12:29 -0500)]
Fix error check not checking for BT_COMPONENT_STATUS_OK
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:28:51 +0000 (12:28 -0500)]
Make component class destructor optional
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:28:06 +0000 (12:28 -0500)]
Update copyrights
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:27:43 +0000 (12:27 -0500)]
Clarify bt_component_sink_handle_notification_cb semantics
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:26:26 +0000 (12:26 -0500)]
Clarify bt_component_destroy_cb semantics
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:26:00 +0000 (12:26 -0500)]
Clean-up in babeltrace.c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 17:25:39 +0000 (12:25 -0500)]
Leak fix
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 25 Feb 2016 01:37:39 +0000 (20:37 -0500)]
Add bt_component_sink_register_notification_type
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 24 Feb 2016 23:17:20 +0000 (18:17 -0500)]
Initialize component class init callback
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 24 Feb 2016 23:02:00 +0000 (18:02 -0500)]
Remove bt_component_set_error_stream
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 24 Feb 2016 23:01:34 +0000 (18:01 -0500)]
Warn on duplicate component class registration
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 24 Feb 2016 22:30:06 +0000 (17:30 -0500)]
Don't load plug-ins recursively by default
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 24 Feb 2016 22:27:37 +0000 (17:27 -0500)]
Bump library version to 2.0
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Wed, 24 Feb 2016 09:41:05 +0000 (04:41 -0500)]
Install plugins in $(libdir)/babeltrace/plugins
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Wed, 24 Feb 2016 08:52:08 +0000 (03:52 -0500)]
Plugins: rename reader -> fs, and symbols.c to plugin.c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Wed, 24 Feb 2016 08:44:46 +0000 (03:44 -0500)]
Plugins: remove unnecessary stuff in Makefile.am files
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Wed, 24 Feb 2016 06:23:56 +0000 (01:23 -0500)]
Move plugin system sources to lib/plugin-system
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Wed, 24 Feb 2016 02:32:11 +0000 (21:32 -0500)]
Strip babeltrace.c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 24 Feb 2016 00:49:04 +0000 (19:49 -0500)]
Add base plug-in skeletons
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 17 Feb 2016 22:01:31 +0000 (17:01 -0500)]
List detected component classes
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 16 Feb 2016 20:10:34 +0000 (15:10 -0500)]
Fix header guard
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 16 Feb 2016 19:27:45 +0000 (14:27 -0500)]
Component creation
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Mon, 15 Feb 2016 19:46:56 +0000 (14:46 -0500)]
Introduce public component class interface
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Mon, 15 Feb 2016 16:44:04 +0000 (11:44 -0500)]
Remove specialized reference counting functions
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 9 Feb 2016 22:54:21 +0000 (17:54 -0500)]
Plugin symbol resolving fix
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 26 Jan 2016 20:44:39 +0000 (15:44 -0500)]
Coding style fix
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 Jan 2016 18:59:10 +0000 (13:59 -0500)]
Build fix
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 Jan 2016 17:20:27 +0000 (12:20 -0500)]
text plugin test
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 4 Sep 2015 19:24:38 +0000 (15:24 -0400)]
Create sink plugins
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 15 Aug 2015 13:49:06 +0000 (09:49 -0400)]
Discover plugins in converter.c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 15 Aug 2015 15:18:18 +0000 (11:18 -0400)]
Adapt plugin system to use unified reference counting
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 23 Jul 2015 20:59:17 +0000 (16:59 -0400)]
Add ctf-text entry point initialization comment
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 23 Jul 2015 20:54:47 +0000 (16:54 -0400)]
ctf-text plugin stub
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 23 Jul 2015 20:31:33 +0000 (16:31 -0400)]
Resolve plugin symbols
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 23 Jul 2015 17:45:47 +0000 (13:45 -0400)]
Introduce bt_plugin and bt_component_class
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 17 Jul 2015 15:32:13 +0000 (11:32 -0400)]
Load plugins and components
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 14 Jul 2015 21:00:24 +0000 (17:00 -0400)]
Start of bt_component_factory implementation
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Mon, 13 Jul 2015 15:46:46 +0000 (11:46 -0400)]
Docs: plugin-system.h documentation
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Mon, 13 Jul 2015 01:56:53 +0000 (21:56 -0400)]
Move initialization of components to init functions
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sun, 12 Jul 2015 19:09:01 +0000 (15:09 -0400)]
Missing Makefiles
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 10 Jul 2015 21:15:17 +0000 (17:15 -0400)]
Add iterator and source implementations
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 8 Jul 2015 20:04:34 +0000 (16:04 -0400)]
Remove unneeded __cplusplus externs from source internal header
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 8 Jul 2015 19:56:07 +0000 (15:56 -0400)]
Implementation of bt_component_sink_handle_notification
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 8 Jul 2015 19:48:42 +0000 (15:48 -0400)]
Build fix and sink implementation
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 8 Jul 2015 15:24:56 +0000 (11:24 -0400)]
Rename plugin.c to component.c in Makefile
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 8 Jul 2015 15:24:12 +0000 (11:24 -0400)]
Rename plugin implementation to component
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 7 Jul 2015 20:37:47 +0000 (16:37 -0400)]
Rename to separate the plug-in and component notions
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 7 Jul 2015 20:16:34 +0000 (16:16 -0400)]
Rename plugin-internal.h to component-internal.h
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 7 Jul 2015 14:43:32 +0000 (10:43 -0400)]
Missing notification parameter in bt_component_sink_handle_notification
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 7 Jul 2015 00:48:17 +0000 (20:48 -0400)]
More modifications
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 3 Jun 2015 08:39:55 +0000 (10:39 +0200)]
Integrate modifications after plugin review
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 26 May 2015 17:58:49 +0000 (13:58 -0400)]
Add options to ctf-text plugin
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 May 2015 21:13:44 +0000 (17:13 -0400)]
Implement ctf text output plug-in stub
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 May 2015 19:59:16 +0000 (15:59 -0400)]
Build system: build reader plug-in stub
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 May 2015 19:10:48 +0000 (15:10 -0400)]
Add initial plug-in stubs
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 May 2015 19:06:53 +0000 (15:06 -0400)]
More build fixes
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 21 May 2015 18:09:38 +0000 (14:09 -0400)]
build fixes
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 May 2015 21:47:59 +0000 (17:47 -0400)]
remove extra line in reader
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 May 2015 21:22:17 +0000 (17:22 -0400)]
Implement source plugin base
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 May 2015 17:54:01 +0000 (13:54 -0400)]
Error stream is now an attribute of the base plugin class
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 May 2015 17:53:34 +0000 (13:53 -0400)]
Implement plugin base class
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 20 May 2015 02:32:07 +0000 (22:32 -0400)]
Start ctf reader implementation stub
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 19 May 2015 20:18:35 +0000 (16:18 -0400)]
Add headers to build system
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Tue, 19 May 2015 16:35:08 +0000 (12:35 -0400)]
Notification interfaces
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
This page took 0.038721 seconds and 4 git commands to generate.