]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fscache: Add more tracepoints
authorDavid Howells <dhowells@redhat.com>
Wed, 4 Apr 2018 12:41:27 +0000 (13:41 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 4 Apr 2018 12:41:27 +0000 (13:41 +0100)
commit08c2e3d087840cd1e7141b62d92f3dc897147984
treef5b5ad5c4732cc5cc4f5244f8153ad134a71d979
parenta18feb55769b705a44c4107786c4045eae2e87b6
fscache: Add more tracepoints

Add more tracepoints to fscache, including:

 (*) fscache_page - Tracks netfs pages known to fscache.

 (*) fscache_check_page - Tracks the netfs querying whether a page is
     pending storage.

 (*) fscache_wake_cookie - Tracks cookies being woken up after a page
     completes/aborts storage in the cache.

 (*) fscache_op - Tracks operations being initialised.

 (*) fscache_wrote_page - Tracks return of the backend write_page op.

 (*) fscache_gang_lookup - Tracks lookup of pages to be stored in the write
     operation.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/fscache/cookie.c
fs/fscache/object.c
fs/fscache/operation.c
fs/fscache/page.c
include/linux/fscache-cache.h
include/trace/events/fscache.h