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_sysfs_entry; 15 DECLARE_RESTRICTED_HOOK(android_rvh_dma_buf_stats_teardown, 16 TP_PROTO(struct dma_buf_sysfs_entry *sysfs_entry, bool *skip_sysfs_release), 17 TP_ARGS(sysfs_entry, skip_sysfs_release), 1); 18 #endif /* _TRACE_HOOK_DMABUF_H */ 19 /* This part must be outside protection */ 20 #include <trace/define_trace.h> 21 22