From: Jason Dillaman Date: Wed, 30 Sep 2015 23:17:08 +0000 (-0400) Subject: common: new tracing config options X-Git-Tag: v0.94.6~44^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c82f93915875875b21ed779e7aaf297b8fbcdca1;p=ceph.git common: new tracing config options Config options to enable LTTng-UST tracepoint providers for the OSD, OSD objectstore, librados, and librbd. Signed-off-by: Jason Dillaman (cherry picked from commit 2ccef89badb1f7a63721a0bf48d05eb4c2d0a97a) Conflicts: src/common/config_opts.h: trivial resolution --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index dd376a6f724cf..f2b16c58bcb73 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -672,6 +672,7 @@ OPTION(osd_failsafe_full_ratio, OPT_FLOAT, .97) // what % full makes an OSD "ful OPTION(osd_failsafe_nearfull_ratio, OPT_FLOAT, .90) // what % full makes an OSD near full (failsafe) OPTION(osd_pg_object_context_cache_count, OPT_INT, 64) +OPTION(osd_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled // determines whether PGLog::check() compares written out log to stored log OPTION(osd_debug_pg_log_writeout, OPT_BOOL, false) @@ -743,6 +744,7 @@ OPTION(osd_max_attr_name_len, OPT_U32, 100) // max rados attr name len; canno OPTION(osd_max_attr_size, OPT_U64, 0) OPTION(osd_objectstore, OPT_STR, "filestore") // ObjectStore backend type +OPTION(osd_objectstore_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled // Override maintaining compatibility with older OSDs // Set to true for testing. Users should NOT set this. OPTION(osd_debug_override_acting_compat, OPT_BOOL, false) @@ -871,6 +873,7 @@ OPTION(journal_discard, OPT_BOOL, false) //using ssd disk as journal, whether su OPTION(rados_mon_op_timeout, OPT_DOUBLE, 0) // how many seconds to wait for a response from the monitor before returning an error from a rados operation. 0 means on limit. OPTION(rados_osd_op_timeout, OPT_DOUBLE, 0) // how many seconds to wait for a response from osds before returning an error from a rados operation. 0 means no limit. +OPTION(rados_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled OPTION(rbd_op_threads, OPT_INT, 1) OPTION(rbd_op_thread_timeout, OPT_INT, 60) @@ -895,6 +898,7 @@ OPTION(rbd_clone_copy_on_read, OPT_BOOL, false) OPTION(rbd_blacklist_on_break_lock, OPT_BOOL, true) // whether to blacklist clients whose lock was broken OPTION(rbd_blacklist_expire_seconds, OPT_INT, 0) // number of seconds to blacklist - set to 0 for OSD default OPTION(rbd_request_timed_out_seconds, OPT_INT, 30) // number of seconds before maint request times out +OPTION(rbd_tracing, OPT_BOOL, false) // true if LTTng-UST tracepoints should be enabled /* * The following options change the behavior for librbd's image creation methods that