Files
linux/include/trace/events
Chuck Lever 5f39d2713b SUNRPC: Move the svc_xdr_recvfrom tracepoint again
Commit 156708adf2 ("SUNRPC: Move the svc_xdr_recvfrom()
tracepoint") tried to capture the correct XID in the trace record,
but this line in svc_recv:

	rqstp->rq_xid = svc_getu32(&rqstp->rq_arg.head[0]);

alters the size of rq_arg.head[0].iov_len. The tracepoint records
the correct XID but an incorrect value for the length of the
xdr_buf's head.

To keep the trace callsites simple, I've created two trace classes.
One assumes the xdr_buf contains a full RPC message, and the XID
can be extracted from it. The other assumes the contents of the
xdr_buf are arbitrary, and the xid will be provided by the caller.

Currently there is only one user of each class, but I expect we will
need a few more tracepoints using each class as time goes on.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2021-01-13 09:13:20 -05:00
..
2020-11-30 12:54:01 +00:00
2019-11-27 07:44:25 +01:00
2019-11-08 11:23:37 +01:00
2019-03-27 15:52:01 -03:00
2020-09-04 12:46:06 +01:00
2020-04-22 12:55:54 -07:00
2020-12-15 12:13:36 -08:00
2020-01-09 18:41:41 -08:00
2020-08-15 13:52:12 +02:00