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: 351275734 Change-Id: Ie25420d2c655b859be4c24a532012290a3aed80d Signed-off-by: jiangxinpei <huangdezhi@hihonor.com> (cherry picked from commit d893627ae9601d16540a3b3123d4ca629077422c)
This commit is contained in:
committed by
Treehugger Robot
parent
6c19ef5cf8
commit
efbd2ffaf0
@@ -53,6 +53,9 @@
|
||||
#define SCSI_INLINE_SG_CNT 2
|
||||
#endif
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(scsi_dispatch_cmd_start);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(scsi_dispatch_cmd_done);
|
||||
|
||||
static struct kmem_cache *scsi_sense_cache;
|
||||
static DEFINE_MUTEX(scsi_sense_cache_mutex);
|
||||
|
||||
|
||||
@@ -30,6 +30,9 @@
|
||||
|
||||
#define NUM_PREALLOC_POST_READ_CTXS 128
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_write_begin);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_submit_page_write);
|
||||
|
||||
static struct kmem_cache *bio_post_read_ctx_cache;
|
||||
static struct kmem_cache *bio_entry_slab;
|
||||
static mempool_t *bio_post_read_ctx_pool;
|
||||
|
||||
Reference in New Issue
Block a user