• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #undef TRACE_SYSTEM
4 #define TRACE_SYSTEM dmabuf
5 
6 #undef TRACE_INCLUDE_PATH
7 #define TRACE_INCLUDE_PATH trace/hooks
8 
9 #if !defined(_TRACE_HOOK_DMABUF_H) || defined(TRACE_HEADER_MULTI_READ)
10 #define _TRACE_HOOK_DMABUF_H
11 
12 #include <trace/hooks/vendor_hooks.h>
13 
14 /* struct dma_buf */
15 struct dma_heap;
16 DECLARE_HOOK(android_vh_dmabuf_heap_flags_validation,
17 		TP_PROTO(struct dma_heap *heap, size_t len,
18 			unsigned int fd_flags, unsigned int heap_flags, bool *skip),
19 		TP_ARGS(heap, len, fd_flags, heap_flags, skip));
20 #endif /* _TRACE_HOOK_DMABUF_H */
21 /* This part must be outside protection */
22 #include <trace/define_trace.h>
23 
24