diff options
author | Chuck Lever | 2018-03-27 16:51:39 +0200 |
---|---|---|
committer | J. Bruce Fields | 2018-04-03 21:08:12 +0200 |
commit | aaba72cd4e793fbf1c04e06dee3d2c3710339678 (patch) | |
tree | 07c10dd49ba18ca0cee58d1a96d27505d53f1378 /include/linux/sunrpc/svc.h | |
parent | sunrpc: Re-purpose trace_svc_process (diff) | |
download | kernel-qcow2-linux-aaba72cd4e793fbf1c04e06dee3d2c3710339678.tar.gz kernel-qcow2-linux-aaba72cd4e793fbf1c04e06dee3d2c3710339678.tar.xz kernel-qcow2-linux-aaba72cd4e793fbf1c04e06dee3d2c3710339678.zip |
sunrpc: Report per-RPC execution stats
Introduce a mechanism to report the server-side execution latency of
each RPC. The goal is to enable user space to filter the trace
record for latency outliers, build histograms, etc.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc/svc.h')
-rw-r--r-- | include/linux/sunrpc/svc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index 786ae2255f05..3bd7504066e1 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -283,6 +283,7 @@ struct svc_rqst { int rq_reserved; /* space on socket outq * reserved for this request */ + ktime_t rq_stime; /* start time */ struct cache_req rq_chandle; /* handle passed to caches for * request delaying |