^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define TRACE_SYSTEM sound
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #undef TRACE_INCLUDE_PATH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #define TRACE_INCLUDE_PATH trace/hooks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #if !defined(_TRACE_HOOK_SOUND_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define _TRACE_HOOK_SOUND_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <trace/hooks/vendor_hooks.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/usb.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) DECLARE_HOOK(android_vh_sound_usb_support_cpu_suspend,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) TP_PROTO(struct usb_device *udev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) int direction,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) bool *is_support),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) TP_ARGS(udev, direction, is_support));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) DECLARE_HOOK(android_vh_snd_soc_card_get_comp_chain,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) TP_PROTO(bool *component_chaining),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) TP_ARGS(component_chaining));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #endif /* _TRACE_HOOK_SOUND_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #include <trace/define_trace.h>