]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
netfs: Add tracepoints
authorDavid Howells <dhowells@redhat.com>
Fri, 18 Sep 2020 08:25:13 +0000 (09:25 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 27 Jan 2021 23:12:03 +0000 (23:12 +0000)
commitf36fd472366d6d104deab1ca46315e64304c9a18
treedc00f413a4df38c1be533f01f8a0f16d30a0f34f
parent467ef3015ee4895f5ae21c4fd26ac76ac39c3923
netfs: Add tracepoints

Add three tracepoints to track the activity of the read helpers:

 (1) netfs/netfs_read

     This logs entry to the read helpers and also expansion of the range in
     a readahead request.

 (2) netfs/netfs_rreq

     This logs the progress of netfs_read_request objects which track
     read requests.  A read request may be a compound of multiple
     subrequests.

 (3) netfs/netfs_sreq

     This logs the progress of netfs_read_subrequest objects, which track
     the contributions from various sources to a read request.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/netfs/read_helper.c
include/linux/netfs.h
include/trace/events/netfs.h [new file with mode: 0644]