1 #undef TRACE_SYSTEM 2 #define TRACE_SYSTEM compaction 3 4 #define TRACE_INCLUDE_PATH trace/hooks 5 6 #if !defined(_TRACE_HOOK_COMPACTION_H) || defined(TRACE_HEADER_MULTI_READ) 7 #define _TRACE_HOOK_COMPACTION_H 8 9 #include <trace/hooks/vendor_hooks.h> 10 11 DECLARE_HOOK(android_vh_compaction_exit, 12 TP_PROTO(int node_id, int order, const int highest_zoneidx), 13 TP_ARGS(node_id, order, highest_zoneidx)); 14 enum compact_result; 15 DECLARE_HOOK(android_vh_compaction_try_to_compact_pages_exit, 16 TP_PROTO(enum compact_result *compact_result), 17 TP_ARGS(compact_result)); 18 #endif /* _TRACE_HOOK_COMPACTION_H */ 19 /* This part must be outside protection */ 20 #include <trace/define_trace.h> 21