]> git.baikalelectronics.ru Git - kernel.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)
commitf94a2f8da336c36481d0d59c579de1a139792fdc
treef5b5ad5c4732cc5cc4f5244f8153ad134a71d979
parent0d9dee7338a21a737ad8dcc8c5f7cd14ae7ebab7
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