ANDROID: vendor_hooks: Export direct reclaim trace points
Get direct reclaim info. Bug: 190795589 Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: Ie66a3c87484a364a918c19b8e044c82f1afd6749 Signed-off-by: Jack Lee <liangjlee@google.com> (cherry picked from commit d705ab99ab73b3dd4f2131d69277870d2f48163b)
This commit is contained in:
parent
fca353bdc0
commit
73cee74111
@ -73,6 +73,9 @@
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <trace/hooks/vmscan.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(mm_vmscan_direct_reclaim_begin);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(mm_vmscan_direct_reclaim_end);
|
||||
|
||||
struct scan_control {
|
||||
/* How many pages shrink_list() should reclaim */
|
||||
unsigned long nr_to_reclaim;
|
||||
|
Loading…
Reference in New Issue
Block a user