• Chuck Lever's avatar
    sunrpc: Re-purpose trace_svc_process · 0b9547bf
    Chuck Lever authored
    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: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    0b9547bf
sunrpc.h 18.1 KB