xhci.h 774 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #undef TRACE_SYSTEM
  3. #define TRACE_SYSTEM xhci
  4. #undef TRACE_INCLUDE_PATH
  5. #define TRACE_INCLUDE_PATH trace/hooks
  6. #if !defined(_TRACE_HOOK_XHCI_H) || defined(TRACE_HEADER_MULTI_READ)
  7. #define _TRACE_HOOK_XHCI_H
  8. #include <linux/tracepoint.h>
  9. #include <trace/hooks/vendor_hooks.h>
  10. /*
  11. * Following tracepoints are not exported in tracefs and provide a
  12. * mechanism for vendor modules to hook and extend functionality
  13. */
  14. DECLARE_HOOK(android_vh_xhci_suspend,
  15. TP_PROTO(struct device *dev, int *bypass),
  16. TP_ARGS(dev, bypass));
  17. DECLARE_HOOK(android_vh_xhci_resume,
  18. TP_PROTO(struct device *dev, int *bypass),
  19. TP_ARGS(dev, bypass));
  20. #endif /* _TRACE_HOOK_XHCI_H */
  21. /* This part must be outside protection */
  22. #include <trace/define_trace.h>