ANDROID: vendor_hooks: modify the function name
int the commit: https://android-review.googlesource.com/c/kernel/common/+/1699406/ When we build our vendor driver, report two errors: 1) Symbol too long "trace_android_vh_get_unmapped_area_from_anti_fragment_pool" 2) Symbol too long "trace_android_vh_get_unmapped_area_include_reserved_zone" So, I shorten the function names: android_vh_get_unmapped_area_from_anti_fragment_pool --> android_vh_get_from_fragment_pool android_vh_get_unmapped_area_include_reserved_zone --> android_vh_include_reserved_zone Bug: 191439466 Signed-off-by: xieliujie <xieliujie@oppo.com> Change-Id: Icee4faa24df4fe1fc29434cd205c4dea82b4fba5
This commit is contained in:

committed by
Suren Baghdasaryan

parent
d686d5ffc6
commit
0a24affb86
@@ -54,14 +54,14 @@ DECLARE_HOOK(android_vh_meminfo_proc_show,
|
||||
DECLARE_HOOK(android_vh_exit_mm,
|
||||
TP_PROTO(struct mm_struct *mm),
|
||||
TP_ARGS(mm));
|
||||
DECLARE_HOOK(android_vh_get_unmapped_area_from_anti_fragment_pool,
|
||||
DECLARE_HOOK(android_vh_get_from_fragment_pool,
|
||||
TP_PROTO(struct mm_struct *mm, struct vm_unmapped_area_info *info,
|
||||
unsigned long *addr),
|
||||
TP_ARGS(mm, info, addr));
|
||||
DECLARE_HOOK(android_vh_exclude_reserved_zone,
|
||||
TP_PROTO(struct mm_struct *mm, struct vm_unmapped_area_info *info),
|
||||
TP_ARGS(mm, info));
|
||||
DECLARE_HOOK(android_vh_get_unmapped_area_include_reserved_zone,
|
||||
DECLARE_HOOK(android_vh_include_reserved_zone,
|
||||
TP_PROTO(struct mm_struct *mm, struct vm_unmapped_area_info *info,
|
||||
unsigned long *addr),
|
||||
TP_ARGS(mm, info, addr));
|
||||
|
Reference in New Issue
Block a user