softlockup.h 558 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #undef TRACE_SYSTEM
  3. #define TRACE_SYSTEM softlockup
  4. #define TRACE_INCLUDE_PATH trace/hooks
  5. #if !defined(_TRACE_HOOK_SOFTLOCKUP_H) || defined(TRACE_HEADER_MULTI_READ)
  6. #define _TRACE_HOOK_SOFTLOCKUP_H
  7. #include <trace/hooks/vendor_hooks.h>
  8. struct pt_regs;
  9. DECLARE_HOOK(android_vh_watchdog_timer_softlockup,
  10. TP_PROTO(int duration, struct pt_regs *regs, bool is_panic),
  11. TP_ARGS(duration, regs, is_panic));
  12. #endif /* _TRACE_HOOK_SOFTLOCKUP_H */
  13. /* This part must be outside protection */
  14. #include <trace/define_trace.h>