diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-10-01 03:02:32 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-02 21:42:19 +0300 |
commit | adc9c2e5a723052de4f5bd7e3d6add050ba400e1 (patch) | |
tree | 85ec7d3c52e552aec12f954267fc417309cea3eb /fs/iomap/trace.h | |
parent | 3d5f3ba1ac28059bdf7000cae2403e4e984308d2 (diff) | |
download | linux-adc9c2e5a723052de4f5bd7e3d6add050ba400e1.tar.xz |
iomap: add a tracepoint for mappings returned by map_blocks
Add a new tracepoint so we can see what mapping the filesystem returns
to writeback a dirty page.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/iomap/trace.h')
-rw-r--r-- | fs/iomap/trace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/iomap/trace.h b/fs/iomap/trace.h index d48868fc40d7..f6ea9540d082 100644 --- a/fs/iomap/trace.h +++ b/fs/iomap/trace.h @@ -148,6 +148,7 @@ DEFINE_EVENT(iomap_class, name, \ TP_ARGS(inode, iomap)) DEFINE_IOMAP_EVENT(iomap_iter_dstmap); DEFINE_IOMAP_EVENT(iomap_iter_srcmap); +DEFINE_IOMAP_EVENT(iomap_writepage_map); TRACE_EVENT(iomap_iter, TP_PROTO(struct iomap_iter *iter, const void *ops, |