Commit 2608fe68 authored by Thomas Applencourt's avatar Thomas Applencourt

Add zeprof.c

parent 59286da2
Pipeline #12609 failed with stage
*.swp
*.o
*.so
*.c
*.h
*.yaml
*.tp
......@@ -9,4 +8,3 @@ babeltrace_ze_lib.rb
ze_library.rb
ze_bindings.rb
ze_refinements.rb
zeprof_callbacks.cpp
#include <babeltrace2/babeltrace.h>
#include "zeinterval.h"
/* Mandatory */
BT_PLUGIN_MODULE();
/* Define the `zeprof` plugin */
BT_PLUGIN(zeprof);
//~ ~ ~
// Filter Interval
//~ ~ ~
BT_PLUGIN_FILTER_COMPONENT_CLASS(interval, zeinterval_dispatch_message_iterator_next);
BT_PLUGIN_FILTER_COMPONENT_CLASS_INITIALIZE_METHOD(interval, zeinterval_dispatch_initialize);
BT_PLUGIN_FILTER_COMPONENT_CLASS_FINALIZE_METHOD(interval, zeinterval_dispatch_finalize);
BT_PLUGIN_FILTER_COMPONENT_CLASS_MESSAGE_ITERATOR_CLASS_INITIALIZE_METHOD(
interval, zeinterval_dispatch_message_iterator_initialize);
BT_PLUGIN_FILTER_COMPONENT_CLASS_MESSAGE_ITERATOR_CLASS_FINALIZE_METHOD(interval,
zeinterval_dispatch_message_iterator_finalize);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment