summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2025-05-14 20:08:20 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-05-16 05:56:38 +0800
commit4eb56b0761e75034dd35067a81da4c280c178262 (patch)
tree2cc053ab41e6e4b924a2c2a8b7739744fd1e3637 /include/trace
parent9748f2f54f66743ac77275c34886a9f890e18409 (diff)
erofs: refine readahead tracepoint
- trace_erofs_readpages => trace_erofs_readahead; - Rename a redundant statement `nrpages = readahead_count(rac);`; - Move the tracepoint to the beginning of z_erofs_readahead(). Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Hongbo Li <lihongbo22@huawei.com> Link: https://lore.kernel.org/r/20250514120820.2739288-1-hsiangkao@linux.alibaba.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/erofs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/erofs.h b/include/trace/events/erofs.h
index c69c7b1e41d1..a5f4b9234f46 100644
--- a/include/trace/events/erofs.h
+++ b/include/trace/events/erofs.h
@@ -113,7 +113,7 @@ TRACE_EVENT(erofs_read_folio,
__entry->raw)
);
-TRACE_EVENT(erofs_readpages,
+TRACE_EVENT(erofs_readahead,
TP_PROTO(struct inode *inode, pgoff_t start, unsigned int nrpage,
bool raw),