diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-10-03 20:03:52 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-10-05 22:47:16 +0300 |
commit | a0b685e7bd7c5d232a64b0707d2f83ae3e1840dc (patch) | |
tree | 3e84e8ac9ab122b34bb9f1060805508e9a09cfe4 /fs/nfs/nfs42proc.c | |
parent | 27ffed1040f7703e368f37f5f97fef87a79527dd (diff) | |
download | linux-a0b685e7bd7c5d232a64b0707d2f83ae3e1840dc.tar.xz |
NFSv4.2: Add a tracepoint for listxattr
This can be defined as simply an NFS4_INODE_EVENT() since we don't have
the name of a specific xattr to list. This roughly matches readdir,
which also uses an NFS4_INODE_EVENT() tracepoint.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs42proc.c')
-rw-r--r-- | fs/nfs/nfs42proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs42proc.c b/fs/nfs/nfs42proc.c index c4791ca00df1..ced9170701b6 100644 --- a/fs/nfs/nfs42proc.c +++ b/fs/nfs/nfs42proc.c @@ -1320,6 +1320,7 @@ static ssize_t _nfs42_proc_listxattrs(struct inode *inode, void *buf, ret = nfs4_call_sync(server->client, server, &msg, &arg.seq_args, &res.seq_res, 0); + trace_nfs4_listxattr(inode, ret); if (ret >= 0) { ret = res.copied; |