summaryrefslogtreecommitdiff
path: root/include/trace/hooks/vmscan.h
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-22 02:01:49 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-22 02:01:49 +0000
commit6732714746ff0085f355c1fc82f5321f9fec60c9 (patch)
tree7b9b8a43a56d6afe0d76191e9251a2119c5830b7 /include/trace/hooks/vmscan.h
parent60662882b7bd3def130b5bb5d27ab55848d284e7 (diff)
parent197e8de785017d7c21bd59349705ac12ca3df2f9 (diff)
downloadcommon-sparse-11304584-L98500030001503924.tar.gz
Snap for 11203489 from 197e8de785017d7c21bd59349705ac12ca3df2f9 to common-android14-6.1-2023-05-exp-releasesparse-11304584-L98500030001503924sparse-11304584-L77100030001270247sparse-11304584-L04100030001417907
Change-Id: Icf9ece0e4ccc72d6017dda2bcee2e8196f473221 Signed-off-by: Coastguard Worker <android-build-coastguard-worker@google.com>
Diffstat (limited to 'include/trace/hooks/vmscan.h')
-rw-r--r--include/trace/hooks/vmscan.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/trace/hooks/vmscan.h b/include/trace/hooks/vmscan.h
index 0896b1134de5..f9effdd2d03e 100644
--- a/include/trace/hooks/vmscan.h
+++ b/include/trace/hooks/vmscan.h
@@ -36,6 +36,23 @@ DECLARE_HOOK(android_vh_should_continue_reclaim,
DECLARE_HOOK(android_vh_file_is_tiny_bypass,
TP_PROTO(bool file_is_tiny, bool *bypass),
TP_ARGS(file_is_tiny, bypass));
+DECLARE_HOOK(android_vh_check_folio_look_around_ref,
+ TP_PROTO(struct folio *folio, int *skip),
+ TP_ARGS(folio, skip));
+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_tune_swappiness,
+ TP_PROTO(int *swappiness),
+ TP_ARGS(swappiness));
+DECLARE_HOOK(android_vh_scan_abort_check_wmarks,
+ TP_PROTO(bool *check_wmarks),
+ TP_ARGS(check_wmarks));
+DECLARE_HOOK(android_vh_vmscan_kswapd_done,
+ TP_PROTO(int node_id, unsigned int highest_zoneidx, unsigned int alloc_order,
+ unsigned int reclaim_order),
+ TP_ARGS(node_id, highest_zoneidx, alloc_order, reclaim_order));
#endif /* _TRACE_HOOK_VMSCAN_H */
/* This part must be outside protection */
#include <trace/define_trace.h>