21 lines
618 B
C
Executable file
21 lines
618 B
C
Executable file
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM dmabuf
|
|
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH trace/hooks
|
|
|
|
#if !defined(_TRACE_HOOK_DMABUF_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_HOOK_DMABUF_H
|
|
|
|
#include <trace/hooks/vendor_hooks.h>
|
|
|
|
struct dma_buf_sysfs_entry;
|
|
DECLARE_RESTRICTED_HOOK(android_rvh_dma_buf_stats_teardown,
|
|
TP_PROTO(struct dma_buf_sysfs_entry *sysfs_entry, bool *skip_sysfs_release),
|
|
TP_ARGS(sysfs_entry, skip_sysfs_release), 1);
|
|
#endif /* _TRACE_HOOK_DMABUF_H */
|
|
/* This part must be outside protection */
|
|
#include <trace/define_trace.h>
|
|
|