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 0/5] kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__tracepoint_device_pm_callback_start'
Date: Fri, 5 Dec 2025 05:54:25 +0800 [thread overview]
Message-ID: <202512050528.xyfBhmAV-lkp@intel.com> (raw)
Hi Carlos,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android17-6.18
head: f0e39411b4d330805aba371a8c2218550d01fb9d
commit: 380603d5f29a2265cb058a9ce5f2171f096ccca1 [0/5] Merge 2be6a7503d32 ("Merge tag 'trace-unused-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace") into android-mainline
config: x86_64-randconfig-103-20251204 (https://download.01.org/0day-ci/archive/20251205/202512050528.xyfBhmAV-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251205/202512050528.xyfBhmAV-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/202512050528.xyfBhmAV-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__tracepoint_device_pm_callback_start'
20 | EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_start);
| ^
include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \
| ^
<scratch space>:39:1: note: expanded from here
39 | __tracepoint_device_pm_callback_start
| ^
>> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__traceiter_device_pm_callback_start'
include/linux/tracepoint.h:375:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
375 | EXPORT_SYMBOL_GPL(__traceiter_##name); \
| ^
<scratch space>:46:1: note: expanded from here
46 | __traceiter_device_pm_callback_start
| ^
>> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__SCK__tp_func_device_pm_callback_start'
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:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:54:1: note: expanded from here
54 | __SCK__tp_func_device_pm_callback_start
| ^
>> kernel/trace/power-traces.c:20:1: error: use of undeclared identifier '__SCT__tp_func_device_pm_callback_start'
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)
| ^
include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:61:1: note: expanded from here
61 | __SCT__tp_func_device_pm_callback_start
| ^
>> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__tracepoint_device_pm_callback_end'
21 | EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_end);
| ^
include/linux/tracepoint.h:374:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
374 | EXPORT_SYMBOL_GPL(__tracepoint_##name); \
| ^
<scratch space>:4:1: note: expanded from here
4 | __tracepoint_device_pm_callback_end
| ^
>> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__traceiter_device_pm_callback_end'
include/linux/tracepoint.h:375:20: note: expanded from macro 'EXPORT_TRACEPOINT_SYMBOL_GPL'
375 | EXPORT_SYMBOL_GPL(__traceiter_##name); \
| ^
<scratch space>:11:1: note: expanded from here
11 | __traceiter_device_pm_callback_end
| ^
>> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__SCK__tp_func_device_pm_callback_end'
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:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:19:1: note: expanded from here
19 | __SCK__tp_func_device_pm_callback_end
| ^
>> kernel/trace/power-traces.c:21:1: error: use of undeclared identifier '__SCT__tp_func_device_pm_callback_end'
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)
| ^
include/linux/compiler_types.h:84:22: note: expanded from macro '__PASTE'
84 | #define __PASTE(a,b) ___PASTE(a,b)
| ^
include/linux/compiler_types.h:83:23: note: expanded from macro '___PASTE'
83 | #define ___PASTE(a,b) a##b
| ^
<scratch space>:26:1: note: expanded from here
26 | __SCT__tp_func_device_pm_callback_end
| ^
8 errors generated.
vim +/__tracepoint_device_pm_callback_start +20 kernel/trace/power-traces.c
6161352142d5fe Arjan van de Ven 2009-09-17 16
c9257f78b4f785 Todd E Brandt 2014-12-12 17 EXPORT_TRACEPOINT_SYMBOL_GPL(suspend_resume);
25e41933b58777 Thomas Renninger 2011-01-03 18 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_idle);
9bdcb44e391da5 Rafael J. Wysocki 2016-04-02 19 EXPORT_TRACEPOINT_SYMBOL_GPL(cpu_frequency);
c1e2c674005c75 Changki Kim 2020-07-02 @20 EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_start);
c1e2c674005c75 Changki Kim 2020-07-02 @21 EXPORT_TRACEPOINT_SYMBOL_GPL(device_pm_callback_end);
:::::: The code at line 20 was first introduced by commit
:::::: c1e2c674005c758817710ba1714d35185f6fa8b6 ANDROID: PM: sleep: export device_pm_callback_start/end trace event
:::::: TO: Changki Kim <changki.kim@samsung.com>
:::::: CC: Jonglin Lee <jonglin@google.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-12-04 21:54 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=202512050528.xyfBhmAV-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.