Signed-off-by: Mohamad Gebai <mgebai@suse.com>
endif()
endif(${WITH_LTTNG})
+option(WITH_OSD_INSTRUMENT_FUNCTIONS OFF)
+
#option for Babeltrace
option(HAVE_BABELTRACE "Babeltrace libraries are enabled" ON)
if(${HAVE_BABELTRACE})
OPTION(osd_pg_object_context_cache_count, OPT_INT, 64)
OPTION(osd_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled
+OPTION(osd_function_tracing, OPT_BOOL, false) // true if function instrumentation should use LTTng
OPTION(osd_fast_info, OPT_BOOL, true) // use fast info attr, if we can
/* Define if you want to use LTTng */
#cmakedefine WITH_LTTNG
+/* Define if you want to OSD function instrumentation */
+#cmakedefine WITH_OSD_INSTRUMENT_FUNCTIONS
+
/* Define if you want to use Babeltrace */
#cmakedefine WITH_BABELTRACE