ANDROID: GKI: support mm_event for FS/IO/UFS path
This is stub for FS/IO/UFS part in mm_event. Bug: 149182139 Change-Id: Iae01a7d7c27224f2d7dea287f1d713103d8c7398 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
parent
3c0569d770
commit
9f46753616
@ -212,6 +212,8 @@ struct bio {
|
||||
|
||||
struct bio_set *bi_pool;
|
||||
|
||||
ktime_t bi_alloc_ts; /* for mm_event */
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
|
||||
|
@ -10,7 +10,12 @@ enum mm_event_type {
|
||||
MM_RECLAIM = 4,
|
||||
MM_SWP_FAULT = 5,
|
||||
MM_KERN_ALLOC = 6,
|
||||
MM_TYPE_NUM = 7,
|
||||
BLK_READ_SUBMIT_BIO = 7,
|
||||
UFS_READ_QUEUE_CMD = 8,
|
||||
UFS_READ_SEND_CMD = 9,
|
||||
UFS_READ_COMPL_CMD = 10,
|
||||
F2FS_READ_DATA = 11,
|
||||
MM_TYPE_NUM = 12,
|
||||
};
|
||||
|
||||
struct mm_event_task {
|
||||
|
@ -5,3 +5,8 @@ void mm_event_count(enum mm_event_type event, int count)
|
||||
{
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mm_event_count);
|
||||
|
||||
void mm_event_end(enum mm_event_type event, ktime_t start)
|
||||
{
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(mm_event_end);
|
||||
|
Loading…
Reference in New Issue
Block a user