compaction.h 673 B

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