fscache: Add a tracepoint for cookie use/unuse
authorDavid Howells <dhowells@redhat.com>
Mon, 6 Dec 2021 15:54:04 +0000 (15:54 +0000)
committerDavid Howells <dhowells@redhat.com>
Tue, 11 Jan 2022 22:13:01 +0000 (22:13 +0000)
commite6435f1e02f410e3507f02a37c0fbb17971ddc7c
tree43f0de2be43650ee17d48abf7a337f164395ff2a
parente0484344c0413e1fcd5642b77d49c7648fb194ec
fscache: Add a tracepoint for cookie use/unuse

Add a tracepoint to track fscache_use/unuse_cookie().

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/164021588628.640689.12942919367404043608.stgit@warthog.procyon.org.uk/
fs/fscache/cookie.c
include/trace/events/fscache.h