From 3dd8d27990e955f950cf28c45ec66191d098ced0 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Mon, 10 Feb 2025 18:09:00 +0800 Subject: [PATCH] ANDROID: GKI: export some I/O tracepoints Export some tracepoints for vendor modules to track file write processes related to user scenarios, and improve system performance by increasing the I/O priority of critical file pages. Bug: 395976123 Change-Id: I84d8734e18b51ed12bacee176820ddbe125a7ba0 Signed-off-by: Rui Chen --- fs/f2fs/data.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 8b12c9b14e3e..751cc626b24a 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -37,6 +37,9 @@ static struct bio_set f2fs_bioset; #define F2FS_BIO_POOL_SIZE NR_CURSEG_TYPE +EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_write_begin); +EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_submit_folio_write); + int __init f2fs_init_bioset(void) { return bioset_init(&f2fs_bioset, F2FS_BIO_POOL_SIZE,