• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM v4l2mc
4 
5 #define TRACE_INCLUDE_PATH trace/hooks
6 
7 #if !defined(_TRACE_HOOK_V4L2MC_H) || defined(TRACE_HEADER_MULTI_READ)
8 #define _TRACE_HOOK_V4L2MC_H
9 
10 #include <linux/tracepoint.h>
11 #include <trace/hooks/vendor_hooks.h>
12 
13 struct media_link;
14 struct media_link_desc;
15 DECLARE_HOOK(android_vh_media_device_setup_link,
16 	TP_PROTO(struct media_link *link, struct media_link_desc *linkd, int *ret),
17 	TP_ARGS(link, linkd, ret));
18 
19 DECLARE_RESTRICTED_HOOK(android_rvh_media_device_setup_link,
20 	TP_PROTO(struct media_link *link,
21 	struct media_link_desc *linkd, int *ret),
22 	TP_ARGS(link, linkd, ret), 1);
23 
24 #endif /* _TRACE_HOOK_V4L2MC_H */
25 /* This part must be outside protection */
26 #include <trace/define_trace.h>
27 
28