* [android-common:android17-6.18-2026-09 0/1] include/trace/hooks/rust_binder.h:25:1: error: redefinition of 'trace_android_vh_rust_binder_set_priority'
@ 2026-09-05 1:43 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-05 1:43 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android17-6.18-2026-09
head: bab5f6aca819542b9dd13a70d3c62271e81b8e85
commit: 6a6602755e08abe3327610530b53c6c8c25d32ce [0/1] ANDROID: rust_binder: move rust_binder_hooks.h into include/trace/hooks
config: x86_64-randconfig-101-20260904 (https://download.01.org/0day-ci/archive/20260905/202609050933.4sUV6rjo-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609050933.4sUV6rjo-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609050933.4sUV6rjo-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/android/binder/rust_binder_hooks.c:16:
In file included from include/trace/hooks/rust_binder.h:35:
In file included from include/trace/define_trace.h:118:
>> include/trace/hooks/rust_binder.h:25:1: error: redefinition of 'trace_android_vh_rust_binder_set_priority'
25 | DECLARE_HOOK(android_vh_rust_binder_set_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:640:21: note: expanded from macro 'DECLARE_EVENT_NOP'
640 | static inline void trace_##name(proto) \
| ^
<scratch space>:39:1: note: expanded from here
39 | trace_android_vh_rust_binder_set_priority
| ^
include/trace/hooks/rust_binder.h:25:1: note: previous definition is here
25 | DECLARE_HOOK(android_vh_rust_binder_set_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:640:21: note: expanded from macro 'DECLARE_EVENT_NOP'
640 | static inline void trace_##name(proto) \
| ^
<scratch space>:32:1: note: expanded from here
32 | trace_android_vh_rust_binder_set_priority
| ^
In file included from drivers/android/binder/rust_binder_hooks.c:16:
In file included from include/trace/hooks/rust_binder.h:35:
In file included from include/trace/define_trace.h:118:
>> include/trace/hooks/rust_binder.h:25:1: error: redefinition of 'trace_android_vh_rust_binder_set_priority_enabled'
25 | DECLARE_HOOK(android_vh_rust_binder_set_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:642:21: note: expanded from macro 'DECLARE_EVENT_NOP'
642 | static inline bool trace_##name##_enabled(void) \
| ^
<scratch space>:41:1: note: expanded from here
41 | trace_android_vh_rust_binder_set_priority_enabled
| ^
include/trace/hooks/rust_binder.h:25:1: note: previous definition is here
25 | DECLARE_HOOK(android_vh_rust_binder_set_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:642:21: note: expanded from macro 'DECLARE_EVENT_NOP'
642 | static inline bool trace_##name##_enabled(void) \
| ^
<scratch space>:34:1: note: expanded from here
34 | trace_android_vh_rust_binder_set_priority_enabled
| ^
In file included from drivers/android/binder/rust_binder_hooks.c:16:
In file included from include/trace/hooks/rust_binder.h:35:
In file included from include/trace/define_trace.h:118:
>> include/trace/hooks/rust_binder.h:28:1: error: redefinition of 'trace_android_vh_rust_binder_restore_priority'
28 | DECLARE_HOOK(android_vh_rust_binder_restore_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:640:21: note: expanded from macro 'DECLARE_EVENT_NOP'
640 | static inline void trace_##name(proto) \
| ^
<scratch space>:42:1: note: expanded from here
42 | trace_android_vh_rust_binder_restore_priority
| ^
include/trace/hooks/rust_binder.h:28:1: note: previous definition is here
28 | DECLARE_HOOK(android_vh_rust_binder_restore_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:640:21: note: expanded from macro 'DECLARE_EVENT_NOP'
640 | static inline void trace_##name(proto) \
| ^
<scratch space>:35:1: note: expanded from here
35 | trace_android_vh_rust_binder_restore_priority
| ^
In file included from drivers/android/binder/rust_binder_hooks.c:16:
In file included from include/trace/hooks/rust_binder.h:35:
In file included from include/trace/define_trace.h:118:
>> include/trace/hooks/rust_binder.h:28:1: error: redefinition of 'trace_android_vh_rust_binder_restore_priority_enabled'
28 | DECLARE_HOOK(android_vh_rust_binder_restore_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:642:21: note: expanded from macro 'DECLARE_EVENT_NOP'
642 | static inline bool trace_##name##_enabled(void) \
| ^
<scratch space>:44:1: note: expanded from here
44 | trace_android_vh_rust_binder_restore_priority_enabled
| ^
include/trace/hooks/rust_binder.h:28:1: note: previous definition is here
28 | DECLARE_HOOK(android_vh_rust_binder_restore_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:642:21: note: expanded from macro 'DECLARE_EVENT_NOP'
642 | static inline bool trace_##name##_enabled(void) \
| ^
<scratch space>:37:1: note: expanded from here
37 | trace_android_vh_rust_binder_restore_priority_enabled
| ^
drivers/android/binder/rust_binder_hooks.c:28:1: error: use of undeclared identifier '__tracepoint_android_vh_rust_binder_set_priority'; did you mean 'trace_android_vh_rust_binder_set_priority'?
28 | EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rust_binder_set_priority);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \
| ^~~~~~~~~~~~~~~~~~~
<scratch space>:62:1: note: expanded from here
62 | __tracepoint_android_vh_rust_binder_set_priority
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/trace/hooks/rust_binder.h:25:1: note: 'trace_android_vh_rust_binder_set_priority' declared here
25 | DECLARE_HOOK(android_vh_rust_binder_set_priority,
| ^
include/trace/hooks/vendor_hooks.h:127:22: note: expanded from macro 'DECLARE_HOOK'
127 | #define DECLARE_HOOK DECLARE_EVENT_NOP
| ^
include/linux/tracepoint.h:640:21: note: expanded from macro 'DECLARE_EVENT_NOP'
640 | static inline void trace_##name(proto) \
| ^
<scratch space>:39:1: note: expanded from here
39 | trace_android_vh_rust_binder_set_priority
| ^
drivers/android/binder/rust_binder_hooks.c:28:1: error: use of undeclared identifier '__traceiter_android_vh_rust_binder_set_priority'; did you mean '__tracepoint_android_vh_rust_binder_set_priority'?
28 | EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rust_binder_set_priority);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:375:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
375 | EXPORT_SYMBOL_GPL(__traceiter_##name); \
| ^~~~~~~~~~~~~~~~~~
<scratch space>:69:1: note: expanded from here
69 | __traceiter_android_vh_rust_binder_set_priority
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/android/binder/rust_binder_hooks.c:28:1: note: '__tracepoint_android_vh_rust_binder_set_priority' declared here
include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \
| ^
<scratch space>:62:1: note: expanded from here
62 | __tracepoint_android_vh_rust_binder_set_priority
| ^
drivers/android/binder/rust_binder_hooks.c:28:1: error: use of undeclared identifier '__SCK__tp_func_android_vh_rust_binder_set_priority'; did you mean '__tracepoint_android_vh_rust_binder_set_priority'?
28 | EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rust_binder_set_priority);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:376:2: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
376 | EXPORT_STATIC_CALL_GPL(tp_func_##name)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/static_call.h:217:20: note: expanded from macro 'EXPORT_STATIC_CALL_GPL'
217 | EXPORT_SYMBOL_GPL(STATIC_CALL_KEY(name)); \
| ^~~~~~~~~~~~~~~~~~~~~
include/linux/static_call_types.h:12:32: note: expanded from macro 'STATIC_CALL_KEY'
12 | #define STATIC_CALL_KEY(name) __PASTE(STATIC_CALL_KEY_PREFIX, name)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:97:22: note: expanded from macro '__PASTE'
97 | #define __PASTE(a,b) ___PASTE(a,b)
| ^~~~~~~~~~~~~
include/linux/compiler_types.h:96:23: note: expanded from macro '___PASTE'
96 | #define ___PASTE(a,b) a##b
| ^~~~
<scratch space>:77:1: note: expanded from here
77 | __SCK__tp_func_android_vh_rust_binder_set_priority
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/android/binder/rust_binder_hooks.c:28:1: note: '__tracepoint_android_vh_rust_binder_set_priority' declared here
include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \
| ^
<scratch space>:62:1: note: expanded from here
62 | __tracepoint_android_vh_rust_binder_set_priority
| ^
drivers/android/binder/rust_binder_hooks.c:28:1: error: use of undeclared identifier '__SCT__tp_func_android_vh_rust_binder_set_priority'; did you mean '__SCK__tp_func_android_vh_rust_binder_set_priority'?
28 | EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_rust_binder_set_priority);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:376:2: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
376 | EXPORT_STATIC_CALL_GPL(tp_func_##name)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/static_call.h:218:20: note: expanded from macro 'EXPORT_STATIC_CALL_GPL'
218 | EXPORT_SYMBOL_GPL(STATIC_CALL_TRAMP(name))
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/static_call_types.h:18:34: note: expanded from macro 'STATIC_CALL_TRAMP'
18 | #define STATIC_CALL_TRAMP(name) __PASTE(STATIC_CALL_TRAMP_PREFIX, name)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/trace_android_vh_rust_binder_set_priority +25 include/trace/hooks/rust_binder.h
19
20 /*
21 * Following tracepoints are not exported in tracefs and provide a
22 * mechanism for vendor modules to hook and extend functionality
23 */
24
> 25 DECLARE_HOOK(android_vh_rust_binder_set_priority,
26 TP_PROTO(rust_binder_transaction t, struct task_struct *task),
27 TP_ARGS(t, task));
> 28 DECLARE_HOOK(android_vh_rust_binder_restore_priority,
29 TP_PROTO(struct task_struct *task),
30 TP_ARGS(task));
31
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-05 1:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 1:43 [android-common:android17-6.18-2026-09 0/1] include/trace/hooks/rust_binder.h:25:1: error: redefinition of 'trace_android_vh_rust_binder_set_priority' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.