summaryrefslogtreecommitdiff
path: root/include/trace/events/f2fs.h
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2022-12-21 22:19:32 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2023-01-11 22:15:19 +0300
commit7a2b15cfa8dbbd54beb4e2ce7b2f42eb0ad00425 (patch)
tree901e54d888930668c9659e4dee00397fe1ce2737 /include/trace/events/f2fs.h
parent45c98f5a58f36c35ecf5a149cbf69cf5fd022120 (diff)
downloadlinux-7a2b15cfa8dbbd54beb4e2ce7b2f42eb0ad00425.tar.xz
f2fs: support accounting iostat count and avg_bytes
Previously, we supported to account iostat io_bytes, in this patch, it adds to account iostat count and avg_bytes: time: 1671648667 io_bytes count avg_bytes [WRITE] app buffered data: 31 2 15 Signed-off-by: Yangtao Li <frank.li@vivo.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/trace/events/f2fs.h')
-rw-r--r--include/trace/events/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h
index 9183a0a11e26..3852085198fb 100644
--- a/include/trace/events/f2fs.h
+++ b/include/trace/events/f2fs.h
@@ -1972,7 +1972,7 @@ TRACE_EVENT(f2fs_iostat,
__entry->fs_cdrio = iostat[FS_CDATA_READ_IO];
__entry->fs_nrio = iostat[FS_NODE_READ_IO];
__entry->fs_mrio = iostat[FS_META_READ_IO];
- __entry->fs_discard = iostat[FS_DISCARD];
+ __entry->fs_discard = iostat[FS_DISCARD_IO];
),
TP_printk("dev = (%d,%d), "