ANDROID: GKI: add OEM data in cma struct
Add OEM data in cma struct to store and report additional information for cma memory leak debugging. Bug: 187861160 Change-Id: Iffb772d23ac30087cb561d8a8b7ad821b41c3840 Signed-off-by: rongqianfeng <rongqianfeng@vivo.com>
This commit is contained in:
parent
ab20ac9696
commit
474a726efd
2
mm/cma.h
2
mm/cma.h
@ -4,6 +4,7 @@
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/kobject.h>
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
struct cma_kobject {
|
||||
struct kobject kobj;
|
||||
@ -30,6 +31,7 @@ struct cma {
|
||||
/* kobject requires dynamic object */
|
||||
struct cma_kobject *cma_kobj;
|
||||
#endif
|
||||
ANDROID_OEM_DATA_ARRAY(1, 4);
|
||||
};
|
||||
|
||||
extern struct cma cma_areas[MAX_CMA_AREAS];
|
||||
|
Loading…
Reference in New Issue
Block a user