]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: configuration for OSD function instrumentation
authorMohamad Gebai <mgebai@suse.com>
Thu, 11 May 2017 13:05:31 +0000 (09:05 -0400)
committerMohamad Gebai <mgebai@suse.com>
Thu, 25 May 2017 19:16:14 +0000 (15:16 -0400)
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
CMakeLists.txt
src/common/config_opts.h
src/include/config-h.in.cmake

index e33cf17744dda4538d559c5526c4b3057a58aeab..a324f6aeca2e7e7209145133d2a321dd87075187 100644 (file)
@@ -437,6 +437,8 @@ if(${WITH_LTTNG})
   endif()
 endif(${WITH_LTTNG})
 
+option(WITH_OSD_INSTRUMENT_FUNCTIONS OFF)
+
 #option for Babeltrace
 option(HAVE_BABELTRACE "Babeltrace libraries are enabled" ON)
 if(${HAVE_BABELTRACE})
index ae8ddca5fd69dfb0021f0e774492f4394280e0fa..406db6b423c40b87fadc0e58b81fb585915b2902 100644 (file)
@@ -897,6 +897,7 @@ OPTION(osd_fast_fail_on_connection_refused, OPT_BOOL, true) // immediately mark
 
 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
 
index 8a903ef610836946098d0c8113689b5c170a69ca..759e5fcebb93db6500ea2794b90551d990d9667d 100644 (file)
 /* 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