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