1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 #include <linux/tracepoint.h> 4 5 #if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_VENDOR_HOOKS) 6 7 #define DECLARE_HOOK DECLARE_TRACE 8 9 #else /* !CONFIG_TRACEPOINTS || !CONFIG_VENDOR_HOOKS */ 10 11 #define DECLARE_HOOK DECLARE_EVENT_NOP 12 13 #endif 14