diff options
author | David Howells <dhowells@redhat.com> | 2023-10-19 14:59:03 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-24 16:22:54 +0100 |
commit | 1e5d8493254db9b28d4dce4fed87e56d9a2fefa5 (patch) | |
tree | c71eb5dae008ff932f61ac13d3071c3353ba858c /fs/afs/fs_probe.c | |
parent | afs: Simplify error handling (diff) | |
download | linux-1e5d8493254db9b28d4dce4fed87e56d9a2fefa5.tar.xz linux-1e5d8493254db9b28d4dce4fed87e56d9a2fefa5.zip |
afs: Add a tracepoint for struct afs_addr_list
Add a tracepoint to track the lifetime of the afs_addr_list struct.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Diffstat (limited to 'fs/afs/fs_probe.c')
-rw-r--r-- | fs/afs/fs_probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/fs_probe.c b/fs/afs/fs_probe.c index fbb91ad775b9..18891492c0b4 100644 --- a/fs/afs/fs_probe.c +++ b/fs/afs/fs_probe.c @@ -205,7 +205,7 @@ void afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, read_lock(&server->fs_lock); ac.alist = rcu_dereference_protected(server->addresses, lockdep_is_held(&server->fs_lock)); - afs_get_addrlist(ac.alist); + afs_get_addrlist(ac.alist, afs_alist_trace_get_probe); read_unlock(&server->fs_lock); server->probed_at = jiffies; @@ -226,7 +226,7 @@ void afs_fs_probe_fileserver(struct afs_net *net, struct afs_server *server, afs_fs_probe_not_done(net, server, &ac); } - afs_put_addrlist(ac.alist); + afs_put_addrlist(ac.alist, afs_alist_trace_put_probe); } /* |