diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2020-09-04 10:44:17 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-09-07 19:15:10 +0000 |
commit | 0935afb947e520fd8e41ebfc311888eafc6afdc0 (patch) | |
tree | 3a263636462fad5b661775ce83a5ab09e591413c /libglusterfs/src/glusterfs/mem-types.h | |
parent | c696144b3690f7ed8cf04a8b51ca601f45e427ad (diff) |
rpcsvc: Add latency tracking for rpc programs
Added latency tracking of rpc-handling code. With this change we
should be able to monitor the amount of time rpc-handling code is
consuming for each of the rpc call.
fixes: #1466
Change-Id: I04fc7f3b12bfa5053c0fc36885f271cb78f581cd
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs/mem-types.h')
-rw-r--r-- | libglusterfs/src/glusterfs/mem-types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/mem-types.h b/libglusterfs/src/glusterfs/mem-types.h index 36cf7820ad5..d45d5b68c91 100644 --- a/libglusterfs/src/glusterfs/mem-types.h +++ b/libglusterfs/src/glusterfs/mem-types.h @@ -133,6 +133,7 @@ enum gf_common_mem_types_ { gf_common_volfile_t, gf_common_mt_mgmt_v3_lock_timer_t, /* used only in one location */ gf_common_mt_server_cmdline_t, /* used only in one location */ + gf_common_mt_latency_t, gf_common_mt_end }; #endif |