aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2023-09-18 09:56:54 -0400
committerChuck Lever <[email protected]>2023-10-16 12:44:11 -0400
commit6cc58291408bea96787d06ca3f5074fdfb3152ca (patch)
tree3c8305bc98078822a5b526736008845004856c72 /tools/perf/scripts/python/bin/stackcollapse-record
parent789ce196a31dd13276076762204bee87df893e53 (diff)
NFSD: Add simple u32, u64, and bool encoders
The generic XDR encoders return a length or a negative errno. NFSv4 encoders want to know simply whether the encode ran out of stream buffer space. The return values for server-side encoding are either nfs_ok or nfserr_resource. So far I've found it adds a lot of duplicate code to try to use the generic XDR encoder utilities when encoding the simple data types in the NFSv4 operation encoders. Add a set of NFSv4-specific utilities that handle the basic XDR data types. These are added in xdr4.h so they might eventually be used by the callback server and pNFS driver encoders too. Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions