ANDROID: vendor_hooks: bypass shrink slab
Add hooks for bypass shrink slab. Bug: 185951972 Bug: 395197442 Change-Id: I343e02ae5cd6d076d525d0e4bfc09ecdfeda1d7b Signed-off-by: wudean <dean.wu@vivo.com> Signed-off-by: wengle <wengle@oppo.com>
This commit is contained in:
@@ -56,6 +56,9 @@ enum scan_balance;
|
||||
DECLARE_HOOK(android_vh_tune_scan_type,
|
||||
TP_PROTO(enum scan_balance *scan_type),
|
||||
TP_ARGS(scan_type));
|
||||
DECLARE_HOOK(android_vh_shrink_slab_bypass,
|
||||
TP_PROTO(gfp_t gfp_mask, int nid, struct mem_cgroup *memcg, int priority, bool *bypass),
|
||||
TP_ARGS(gfp_mask, nid, memcg, priority, bypass));
|
||||
#endif /* _TRACE_HOOK_VMSCAN_H */
|
||||
/* This part must be outside protection */
|
||||
#include <trace/define_trace.h>
|
||||
|
||||
Reference in New Issue
Block a user