1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #undef TRACE_SYSTEM 4 #define TRACE_SYSTEM drm_framebuffer 5 6 #undef TRACE_INCLUDE_PATH 7 #define TRACE_INCLUDE_PATH trace/hooks 8 9 #if !defined(_TRACE_HOOK_DRM_FRAMEBUFFER_H) || defined(TRACE_HEADER_MULTI_READ) 10 #define _TRACE_HOOK_DRM_FRAMEBUFFER_H 11 12 #include <trace/hooks/vendor_hooks.h> 13 14 #ifdef __GENKSYMS__ 15 #include <drm/drm_framebuffer.h> 16 #endif 17 18 struct drm_framebuffer; 19 20 DECLARE_HOOK(android_vh_atomic_remove_fb, 21 TP_PROTO(struct drm_framebuffer *fb, bool *allow), 22 TP_ARGS(fb, allow)) 23 24 #endif /* _TRACE_HOOK_DRM_FRAMEBUFFER_H */ 25 /* This part must be outside protection */ 26 #include <trace/define_trace.h> 27 28