9f46753616
This is stub for FS/IO/UFS part in mm_event. Bug: 149182139 Change-Id: Iae01a7d7c27224f2d7dea287f1d713103d8c7398 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
27 lines
508 B
C
27 lines
508 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_MM_EVENT_H
|
|
#define _LINUX_MM_EVENT_H
|
|
|
|
enum mm_event_type {
|
|
MM_MIN_FAULT = 0,
|
|
MM_MAJ_FAULT = 1,
|
|
MM_READ_IO = 2,
|
|
MM_COMPACTION = 3,
|
|
MM_RECLAIM = 4,
|
|
MM_SWP_FAULT = 5,
|
|
MM_KERN_ALLOC = 6,
|
|
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 {
|
|
unsigned int count;
|
|
unsigned int max_lat;
|
|
u64 accm_lat;
|
|
} __attribute__ ((packed));
|
|
|
|
#endif
|