ANDROID: remove CONFIG_TRACEPOINTS from hook definition headers
Remove the obsolete use of CONFIG_TRACEPOINTS in hook definition header files. The !CONFIG_TRACEPOINTS case is correctly handled by the included trace header files. Bug: 233047575 Signed-off-by: Todd Kjos <tkjos@google.com> Change-Id: I957649bcfef375284f2885cf732ff2960c303837
This commit is contained in:
@@ -9,17 +9,12 @@
|
||||
|
||||
#include <trace/hooks/vendor_hooks.h>
|
||||
|
||||
#if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS)
|
||||
/* struct pt_regs */
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
DECLARE_HOOK(android_vh_ipi_stop,
|
||||
TP_PROTO(struct pt_regs *regs),
|
||||
TP_ARGS(regs))
|
||||
#else
|
||||
#define trace_android_vh_ipi_stop(regs)
|
||||
#define trace_android_vh_ipi_stop_rcuidle(regs)
|
||||
#endif
|
||||
|
||||
#endif /* _TRACE_HOOK_DEBUG_H */
|
||||
/* This part must be outside protection */
|
||||
|
||||
Reference in New Issue
Block a user