sunrpc: Re-purpose trace_svc_process
authorChuck Lever <chuck.lever@oracle.com>
Tue, 27 Mar 2018 14:51:22 +0000 (10:51 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 3 Apr 2018 19:08:12 +0000 (15:08 -0400)
commit0b9547bf6b94317b3f8e2496dc2b44cb6e599b01
tree80dc9cdb9b3c2505971d58a803f9305d8ac8799e
parentece200ddd54b9ce840cfee554fb812560c545c7d
sunrpc: Re-purpose trace_svc_process

Currently, trace_svc_process has two call sites:

1. Just after a call to svc_send. svc_send already invokes
   trace_svc_send with the same arguments just before returning

2. Just before a call to svc_drop. svc_drop already invokes
   trace_svc_drop with the same arguments just after it is called

Therefore trace_svc_process does not provide any additional
information not already provided by these other trace points.

However, it would be useful to record the incoming RPC procedure.
So reuse trace_svc_process for this purpose.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/trace/events/sunrpc.h
net/sunrpc/svc.c