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>
This commit is contained in:
parent
0b9547bf6b
commit
aaba72cd4e
3 changed files with 24 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue