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: Dezhi Huang <huangdezhi@hihonor.com>
This commit is contained in:
jiangxinpei 2024-09-23 17:08:25 +08:00 committed by Treehugger Robot
parent 7143f5fde9
commit d893627ae9

View File

@ -53,6 +53,8 @@
#define SCSI_INLINE_SG_CNT 2 #define SCSI_INLINE_SG_CNT 2
#endif #endif
EXPORT_TRACEPOINT_SYMBOL_GPL(scsi_dispatch_cmd_start);
static struct kmem_cache *scsi_sense_cache; static struct kmem_cache *scsi_sense_cache;
static DEFINE_MUTEX(scsi_sense_cache_mutex); static DEFINE_MUTEX(scsi_sense_cache_mutex);