Hi,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on v5.14-rc5]
[also build test ERROR on next-20210812]
[cannot apply to arm64/for-next/core tip/perf/core]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/madvenka-linux-microsoft-com/arm...
base: 36a21d51725af2ce0700c6ebcb6b9594aac658a6
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/560d91e019f24a55c3d254f967eb27e4e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
madvenka-linux-microsoft-com/arm64-Make-all-stack-walking-functions-use-arch_stack_walk/20210812-222448
git checkout 560d91e019f24a55c3d254f967eb27e4ed4992e1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm64/kernel/perf_callchain.c: In function 'perf_callchain_kernel':
> arch/arm64/kernel/perf_callchain.c:155:2: error: implicit
declaration of function 'arch_stack_walk' [-Werror=implicit-function-declaration]
155 | arch_stack_walk(callchain_trace, entry, current, regs);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/arm64/kernel/process.c: In function 'get_wchan':
> arch/arm64/kernel/process.c:578:2: error: implicit declaration of
function 'arch_stack_walk' [-Werror=implicit-function-declaration]
578
| arch_stack_walk(get_wchan_cb, &wchan_info, p, NULL);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/arm64/kernel/stacktrace.c:66:13: warning: no previous prototype for
'unwind_frame' [-Wmissing-prototypes]
66 | int notrace unwind_frame(struct task_struct *tsk, struct stackframe *frame)
| ^~~~~~~~~~~~
arch/arm64/kernel/stacktrace.c:139:14: warning: no previous prototype for
'walk_stackframe' [-Wmissing-prototypes]
139 | void notrace walk_stackframe(struct task_struct *tsk, struct stackframe
*frame,
| ^~~~~~~~~~~~~~~
arch/arm64/kernel/stacktrace.c: In function 'dump_backtrace':
> arch/arm64/kernel/stacktrace.c:178:2: error: implicit declaration
of function 'arch_stack_walk' [-Werror=implicit-function-declaration]
178 | arch_stack_walk(dump_backtrace_entry, (void *)loglvl, tsk, regs);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/arm64/kernel/time.c: In function 'profile_pc':
> arch/arm64/kernel/time.c:52:2: error: implicit declaration of
function 'arch_stack_walk' [-Werror=implicit-function-declaration]
52
| arch_stack_walk(profile_pc_cb, &prof_pc, current, regs);
| ^~~~~~~~~~~~~~~
arch/arm64/kernel/time.c: At top level:
arch/arm64/kernel/time.c:58:13: warning: no previous prototype for 'time_init'
[-Wmissing-prototypes]
58 | void __init time_init(void)
| ^~~~~~~~~
cc1: some warnings being treated as errors
--
arch/arm64/kernel/return_address.c: In function 'return_address':
> arch/arm64/kernel/return_address.c:42:2: error: implicit
declaration of function 'arch_stack_walk' [-Werror=implicit-function-declaration]
42 | arch_stack_walk(save_return_addr, &data, current, NULL);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/arch_stack_walk +155 arch/arm64/kernel/perf_callchain.c
146
147 void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry,
148 struct pt_regs *regs)
149 {
150 if (perf_guest_cbs && perf_guest_cbs->is_in_guest()) {
151 /* We don't support guest os callchain now */
152 return;
153 }
154
155 arch_stack_walk(callchain_trace, entry, current, regs);
156 }
157
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org