babeltrace.git
6 years agoAdd Doxygen support to build system to build the API doc
Philippe Proulx [Wed, 16 Nov 2016 05:48:28 +0000 (00:48 -0500)] 
Add Doxygen support to build system to build the API doc

This patch adds what is needed to generate the HTML documentation
of Babeltrace's C API using Doxygen to look for documentation source
in selected header files.

The new configure option --enable-api-doc enables the API doc
build using Doxygen (Doxygen must be found in this case). Whether or
not this API doc is built is indicated in the summary at the end of
the configure script execution.

Doxygen's input is doc/api/Doxyfile.in. This file has a few
substitutions like the project's version and the paths to input
files.

The API doc target, if enabled with the configure option, is part of
the `all` target.

With the `install` target, the files are installed in
$(DESTDIR)$(docdir)/api, e.g. /usr/share/doc/babeltrace/api.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAllow ctf-writer to use new time-keeping facilities
Jérémie Galarneau [Mon, 21 Nov 2016 23:07:03 +0000 (18:07 -0500)] 
Allow ctf-writer to use new time-keeping facilities

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd a shadow HT to query event classes by id
Jérémie Galarneau [Fri, 18 Nov 2016 23:08:11 +0000 (18:08 -0500)] 
Add a shadow HT to query event classes by id

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement proper notification comparison
Jérémie Galarneau [Wed, 16 Nov 2016 20:46:26 +0000 (15:46 -0500)] 
Implement proper notification comparison

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoPrint timestamps in text plug-in
Jérémie Galarneau [Fri, 18 Nov 2016 21:42:16 +0000 (16:42 -0500)] 
Print timestamps in text plug-in

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoReplace hackish use of bt_ctf_field_validate by is_set
Jérémie Galarneau [Thu, 17 Nov 2016 22:40:18 +0000 (17:40 -0500)] 
Replace hackish use of bt_ctf_field_validate by is_set

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix logging typo
Jérémie Galarneau [Thu, 17 Nov 2016 22:07:46 +0000 (17:07 -0500)] 
Fix logging typo

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement bt_ctf_field_is_set()
Jérémie Galarneau [Thu, 17 Nov 2016 22:07:33 +0000 (17:07 -0500)] 
Implement bt_ctf_field_is_set()

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement bt_ctf_clock_value interface
Jérémie Galarneau [Thu, 17 Nov 2016 21:47:47 +0000 (16:47 -0500)] 
Implement bt_ctf_clock_value interface

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoTrack clock states in notification iterator
Jérémie Galarneau [Thu, 17 Nov 2016 20:49:53 +0000 (15:49 -0500)] 
Track clock states in notification iterator

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFreeze original field type copied on validation
Philippe Proulx [Thu, 17 Nov 2016 02:00:54 +0000 (21:00 -0500)] 
Freeze original field type copied on validation

The following situation should fail:

    field_type = create a structure FT with a sequence
                 or variant FT field
    ec = bt_ctf_event_class_create("ec")
    bt_ctf_event_class_set_payload_type(ec, field_type)
    sc = bt_ctf_stream_class_create("sc")
    bt_ctf_stream_class_add_event_class(sc, ec)
    modify field_type in any way -> should fail

In this scenario, field_type gets copied when the
validation process is executed in bt_ctf_stream_class_create()
because it contains a sequence or variant FT.

The original field type, field_type, should also be frozen
when this validation succeeds so that it behaves like it was
not copied in the first place.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd trace name attribute
Jérémie Galarneau [Tue, 15 Nov 2016 21:47:18 +0000 (16:47 -0500)] 
Add trace name attribute

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd logging to validation and serialization failure paths
Jérémie Galarneau [Tue, 15 Nov 2016 20:30:29 +0000 (15:30 -0500)] 
Add logging to validation and serialization failure paths

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofix leak in structure validation logging
Jérémie Galarneau [Tue, 15 Nov 2016 20:30:08 +0000 (15:30 -0500)] 
fix leak in structure validation logging

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoHandle empty strings in the notif-iter btr_string callbacks
Jérémie Galarneau [Tue, 15 Nov 2016 17:31:30 +0000 (12:31 -0500)] 
Handle empty strings in the notif-iter btr_string callbacks

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAllow stream_id change in event class attributes
Jérémie Galarneau [Tue, 15 Nov 2016 16:49:12 +0000 (11:49 -0500)] 
Allow stream_id change in event class attributes

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd field validation logging
Jérémie Galarneau [Tue, 15 Nov 2016 16:36:09 +0000 (11:36 -0500)] 
Add field validation logging

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoremove double bt_put
Jérémie Galarneau [Mon, 14 Nov 2016 21:51:05 +0000 (16:51 -0500)] 
remove double bt_put

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoText output plugin argument parsing
Mathieu Desnoyers [Mon, 31 Oct 2016 15:57:45 +0000 (11:57 -0400)] 
Text output plugin argument parsing

Implement plugin argument handling, and legacy behavior.

The sink plugin uses "name-default=show", "name-default=hide",
"field-default=show", and "field-default-hide" to specify the default
behavior for names and fields. It is used to implement the compability
layer with Babeltrace 1.x (all/none), but is a more flexible approach,
because it then allows both use-cases:

- default=show: can then set individual items to "false" (blacklist),
- default=hide: can then set individual items to "true" (whitelist).

In comparison, the old legacy options only allowed to specify a
whitelist.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement output text plugin (basic)
Mathieu Desnoyers [Tue, 25 Oct 2016 21:15:26 +0000 (17:15 -0400)] 
Implement output text plugin (basic)

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: documentation: refer to bt_put()
Mathieu Desnoyers [Fri, 28 Oct 2016 16:40:59 +0000 (12:40 -0400)] 
Fix: documentation: refer to bt_put()

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofix initialize stream which may be used in error paths
Jérémie Galarneau [Mon, 14 Nov 2016 20:49:26 +0000 (15:49 -0500)] 
fix initialize stream which may be used in error paths

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoCoding standard clean-ups
Jérémie Galarneau [Mon, 14 Nov 2016 20:49:13 +0000 (15:49 -0500)] 
Coding standard clean-ups

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofix leak of event class
Jérémie Galarneau [Mon, 14 Nov 2016 20:48:50 +0000 (15:48 -0500)] 
fix leak of event class

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agofix leak of variant field path
Jérémie Galarneau [Mon, 14 Nov 2016 20:48:23 +0000 (15:48 -0500)] 
fix leak of variant field path

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agostream leak in ctf_fs_iterator_next
Jérémie Galarneau [Fri, 11 Nov 2016 20:53:09 +0000 (15:53 -0500)] 
stream leak in ctf_fs_iterator_next

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRemove superflous set_current_packet_content_sizes
Jérémie Galarneau [Wed, 9 Nov 2016 22:18:13 +0000 (17:18 -0500)] 
Remove superflous set_current_packet_content_sizes

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd bt_notification_get_stream interface
Jérémie Galarneau [Wed, 9 Nov 2016 19:19:17 +0000 (14:19 -0500)] 
Add bt_notification_get_stream interface

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoMerge streams in ctf fs component
Jérémie Galarneau [Wed, 9 Nov 2016 19:18:42 +0000 (14:18 -0500)] 
Merge streams in ctf fs component

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoValidate notification type before casting
Jérémie Galarneau [Wed, 9 Nov 2016 19:17:30 +0000 (14:17 -0500)] 
Validate notification type before casting

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRemove unnecessary check of release callback on bt_ref_get
Jérémie Galarneau [Thu, 3 Nov 2016 20:33:48 +0000 (16:33 -0400)] 
Remove unnecessary check of release callback on bt_ref_get

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoLarge performance improvement by caching event class name and id
Jérémie Galarneau [Thu, 3 Nov 2016 20:33:13 +0000 (16:33 -0400)] 
Large performance improvement by caching event class name and id

$ time ./converter/babeltrace --plugin-path=plugins ~/lttng-traces/allo-20160829-153459/kernel/ > /dev/null

real    0m6.490s
user    0m6.413s
sys     0m0.067s

Caching of event class id and name

$ time ./converter/babeltrace --plugin-path=plugins ~/lttng-traces/allo-20160829-153459/kernel/ > /dev/null

real    0m1.027s
user    0m1.013s
sys     0m0.003s

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: ensure that a stream class is not associated to a trace
Jérémie Galarneau [Thu, 3 Nov 2016 18:23:51 +0000 (14:23 -0400)] 
Fix: ensure that a stream class is not associated to a trace

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: SIGBUS error on reading past a file's end in mmap'ed region
Jérémie Galarneau [Thu, 3 Nov 2016 17:25:14 +0000 (13:25 -0400)] 
Fix: SIGBUS error on reading past a file's end in mmap'ed region

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAllow user data in heap compare function
Jérémie Galarneau [Wed, 2 Nov 2016 20:42:15 +0000 (16:42 -0400)] 
Allow user data in heap compare function

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoTest bt_notification_heap
Jérémie Galarneau [Wed, 2 Nov 2016 20:11:20 +0000 (16:11 -0400)] 
Test bt_notification_heap

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement the notification heap interface
Jérémie Galarneau [Tue, 1 Nov 2016 20:34:16 +0000 (16:34 -0400)] 
Implement the notification heap interface

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd bt_notification_heap interface
Jérémie Galarneau [Tue, 1 Nov 2016 01:52:46 +0000 (21:52 -0400)] 
Add bt_notification_heap interface

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoValidate ref count opt-in in bt_ref_get
Jérémie Galarneau [Fri, 28 Oct 2016 21:27:09 +0000 (17:27 -0400)] 
Validate ref count opt-in in bt_ref_get

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoNull check of plug-in properties in debug output
Jérémie Galarneau [Fri, 28 Oct 2016 20:35:47 +0000 (16:35 -0400)] 
Null check of plug-in properties in debug output

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoMake --plugin-path optional
Jérémie Galarneau [Fri, 28 Oct 2016 20:35:24 +0000 (16:35 -0400)] 
Make --plugin-path optional

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd bt_ctf_field_variant_get_tag
Jérémie Galarneau [Fri, 28 Oct 2016 15:49:46 +0000 (11:49 -0400)] 
Add bt_ctf_field_variant_get_tag

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix space indentations
Jérémie Galarneau [Thu, 27 Oct 2016 23:09:11 +0000 (19:09 -0400)] 
Fix space indentations

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd missing line-feeds in logging
Jérémie Galarneau [Thu, 27 Oct 2016 23:08:34 +0000 (19:08 -0400)] 
Add missing line-feeds in logging

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd support for statically-built plug-ins
Jérémie Galarneau [Thu, 27 Oct 2016 23:08:02 +0000 (19:08 -0400)] 
Add support for statically-built plug-ins

./configure --disable-shared BUILT_IN_PLUGINS=1

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd bt_ctf_event_get_packet
Jérémie Galarneau [Thu, 27 Oct 2016 21:35:59 +0000 (17:35 -0400)] 
Add bt_ctf_event_get_packet

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoWrong file name in ctf/plugin.c header
Jérémie Galarneau [Wed, 26 Oct 2016 14:50:14 +0000 (10:50 -0400)] 
Wrong file name in ctf/plugin.c header

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd test_ir_visit and test_trace_listener to the test list
Jérémie Galarneau [Tue, 25 Oct 2016 21:19:40 +0000 (17:19 -0400)] 
Add test_ir_visit and test_trace_listener to the test list

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix verbose and debug mode options
Jérémie Galarneau [Tue, 25 Oct 2016 15:43:21 +0000 (11:43 -0400)] 
Fix verbose and debug mode options

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoctf-fs: missing component->streams NULL check
Jérémie Galarneau [Mon, 24 Oct 2016 20:31:07 +0000 (16:31 -0400)] 
ctf-fs: missing component->streams NULL check

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoconverter: parse 1.x and 2.0 options
Philippe Proulx [Mon, 24 Oct 2016 20:27:19 +0000 (16:27 -0400)] 
converter: parse 1.x and 2.0 options

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix libadd referring to text plugin
Jérémie Galarneau [Tue, 11 Oct 2016 14:46:59 +0000 (10:46 -0400)] 
Fix libadd referring to text plugin

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd missing text plugin files
Jérémie Galarneau [Tue, 11 Oct 2016 14:44:38 +0000 (10:44 -0400)] 
Add missing text plugin files

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoMissing btr makefile
Jérémie Galarneau [Tue, 11 Oct 2016 14:43:28 +0000 (10:43 -0400)] 
Missing btr makefile

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd missing event notification implementation file
Jérémie Galarneau [Tue, 11 Oct 2016 14:40:29 +0000 (10:40 -0400)] 
Add missing event notification implementation file

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoallow multiple ctf streams to be open
Jérémie Galarneau [Tue, 11 Oct 2016 07:54:00 +0000 (03:54 -0400)] 
allow multiple ctf streams to be open

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoRename correlator to muxer
Jérémie Galarneau [Mon, 10 Oct 2016 02:46:35 +0000 (22:46 -0400)] 
Rename correlator to muxer

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix packet switch bug
Jérémie Galarneau [Mon, 10 Oct 2016 01:54:01 +0000 (21:54 -0400)] 
Fix packet switch bug

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement filter component type
Jérémie Galarneau [Tue, 20 Sep 2016 19:14:45 +0000 (15:14 -0400)] 
Implement filter component type

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd filter component type
Jérémie Galarneau [Tue, 20 Sep 2016 03:13:36 +0000 (23:13 -0400)] 
Add filter component type

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoSinks own their input iterators
Jérémie Galarneau [Tue, 20 Sep 2016 02:29:21 +0000 (22:29 -0400)] 
Sinks own their input iterators

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotext: Remove stream_timestamps hashtable
Jérémie Galarneau [Mon, 12 Sep 2016 19:07:19 +0000 (15:07 -0400)] 
text: Remove stream_timestamps hashtable

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoDocs: bt_ctf_stream_class_add_event_class comment typo
Jérémie Galarneau [Mon, 12 Sep 2016 18:32:16 +0000 (14:32 -0400)] 
Docs: bt_ctf_stream_class_add_event_class comment typo

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agotext: wip event formating
Jérémie Galarneau [Thu, 8 Sep 2016 15:58:54 +0000 (11:58 -0400)] 
text: wip event formating

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix source component memory leak
Jérémie Galarneau [Thu, 8 Sep 2016 01:00:46 +0000 (21:00 -0400)] 
Fix source component memory leak

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoadd end of stream notification
Jérémie Galarneau [Wed, 7 Sep 2016 22:23:56 +0000 (18:23 -0400)] 
add end of stream notification

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoPlugins are alive!
Jérémie Galarneau [Wed, 7 Sep 2016 18:56:02 +0000 (14:56 -0400)] 
Plugins are alive!

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoadd debug printout
Jérémie Galarneau [Tue, 6 Sep 2016 20:13:10 +0000 (16:13 -0400)] 
add debug printout

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: uninitialized use of ctf_fs
Jérémie Galarneau [Tue, 6 Sep 2016 20:12:34 +0000 (16:12 -0400)] 
Fix: uninitialized use of ctf_fs

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd reading loop to babeltrace binary
Jérémie Galarneau [Tue, 6 Sep 2016 20:11:57 +0000 (16:11 -0400)] 
Add reading loop to babeltrace binary

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement notification iterator wrappers
Jérémie Galarneau [Tue, 6 Sep 2016 19:12:39 +0000 (15:12 -0400)] 
Implement notification iterator wrappers

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement ctf fs iterator functions
Jérémie Galarneau [Mon, 5 Sep 2016 21:16:57 +0000 (17:16 -0400)] 
Implement ctf fs iterator functions

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoFix: path value retrieval memory leak
Jérémie Galarneau [Mon, 5 Sep 2016 19:47:29 +0000 (15:47 -0400)] 
Fix: path value retrieval memory leak

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoInit ctf fs data and metadata streams
Jérémie Galarneau [Mon, 5 Sep 2016 19:36:49 +0000 (15:36 -0400)] 
Init ctf fs data and metadata streams

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoMove remaining protorectoral files to ctf fs plugin
Jérémie Galarneau [Wed, 31 Aug 2016 19:16:06 +0000 (15:16 -0400)] 
Move remaining protorectoral files to ctf fs plugin

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAccomodate component destructor API changes in text plugin
Jérémie Galarneau [Tue, 30 Aug 2016 20:33:33 +0000 (16:33 -0400)] 
Accomodate component destructor API changes in text plugin

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd ctf fs iterator initialization
Jérémie Galarneau [Tue, 30 Aug 2016 20:33:17 +0000 (16:33 -0400)] 
Add ctf fs iterator initialization

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoCheck for NULL user destroy in iterator
Jérémie Galarneau [Tue, 30 Aug 2016 19:51:22 +0000 (15:51 -0400)] 
Check for NULL user destroy in iterator

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoCode standard cleanup
Jérémie Galarneau [Tue, 30 Aug 2016 19:41:54 +0000 (15:41 -0400)] 
Code standard cleanup

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoImplement base iterator interface
Jérémie Galarneau [Tue, 30 Aug 2016 19:41:40 +0000 (15:41 -0400)] 
Implement base iterator interface

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 years agoAdd notification utility library
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>
6 years agoAdd implementation of bt_component_source_set_iterator_init_cb
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>
6 years agoCleanup ctf/fs/Makefile.am
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>
6 years agoAdd bt_component_source_validate() implementation
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>
6 years agoIntegrate ctf proto into the plugin build system
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>
6 years agodestroy_text must conform to bt_component_destroy_cb
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>
6 years agoAdd ctf fs component skeleton
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>
6 years agoReorder bt_component_status enum
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>
6 years agoRemove weird character from ctf-btr.h
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>
6 years agoRemove bt_ctf_clock_create_empty() usage
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>
6 years agoAdd ctf-reader prototype
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>
6 years agoir: make bt_ctf_field_type_copy() public
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>
6 years agoTests: NULL clock names are now allowed
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>
6 years agoAdd documentation to bt_ctf_clock_set_name
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>
6 years agoAllow NULL clock name
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>
6 years agoir: allow the creation of an empty clock (nameless)
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>
6 years agoWorkaround glib g_module_open bug
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>
6 years agoMissing dirent include in component-factory.c
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>
6 years agoRecursively search the plugin path
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>
6 years agoTests: add trace listener interface test
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>
This page took 0.039556 seconds and 4 git commands to generate.