From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Sat, 05 Sep 2026 09:43:55 +0800 [thread overview]
Message-ID: <202609050933.4sUV6rjo-lkp@intel.com> (raw)
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
reply other threads:[~2026-09-05 1:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609050933.4sUV6rjo-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.