
Remove macro versions of hooks that are no longer needed. The macro versions are still needed when the _rcuidle version of the hook is used (as in include/trace/hooks/debug.h). Bug: 177416721 Signed-off-by: Todd Kjos <tkjos@google.com> Change-Id: I4b50447e9a922ed038663d1459d7622dab30ffbb
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM binder
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH trace/hooks
|
|
#if !defined(_TRACE_HOOK_BINDER_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_HOOK_BINDER_H
|
|
#include <linux/tracepoint.h>
|
|
#include <trace/hooks/vendor_hooks.h>
|
|
/*
|
|
* Following tracepoints are not exported in tracefs and provide a
|
|
* mechanism for vendor modules to hook and extend functionality
|
|
*/
|
|
struct binder_transaction;
|
|
struct task_struct;
|
|
DECLARE_HOOK(android_vh_binder_transaction_init,
|
|
TP_PROTO(struct binder_transaction *t),
|
|
TP_ARGS(t));
|
|
DECLARE_HOOK(android_vh_binder_set_priority,
|
|
TP_PROTO(struct binder_transaction *t, struct task_struct *task),
|
|
TP_ARGS(t, task));
|
|
DECLARE_HOOK(android_vh_binder_restore_priority,
|
|
TP_PROTO(struct binder_transaction *t, struct task_struct *task),
|
|
TP_ARGS(t, task));
|
|
DECLARE_HOOK(android_vh_binder_wakeup_ilocked,
|
|
TP_PROTO(struct task_struct *task),
|
|
TP_ARGS(task));
|
|
|
|
/* macro versions of hooks are no longer required */
|
|
|
|
#endif /* _TRACE_HOOK_BINDER_H */
|
|
/* This part must be outside protection */
|
|
#include <trace/define_trace.h>
|