* [arm64:for-next/asm-annotations 6/17] arch/arm64/kernel/entry-ftrace.S:282:34: error: macro "SYM_INNER_LABEL" requires 2 arguments, but only 1 given
@ 2020-03-10 2:23 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-03-10 2:23 UTC (permalink / raw)
To: Mark Brown; +Cc: Catalin Marinas, kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 2294 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/asm-annotations
head: 1157eb8f2ef3f5ff3acc372e36a657a96cd9754c
commit: e2d591d29d44af2078336c5dd7ab503c151a2607 [6/17] arm64: entry-ftrace.S: Convert to modern annotations for assembly functions
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e2d591d29d44af2078336c5dd7ab503c151a2607
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/arm64/kernel/entry-ftrace.S:282:34: error: macro "SYM_INNER_LABEL" requires 2 arguments, but only 1 given
SYM_INNER_LABEL(ftrace_graph_call) // ftrace_graph_caller();
^
vim +/SYM_INNER_LABEL +282 arch/arm64/kernel/entry-ftrace.S
261
262 /*
263 * void ftrace_caller(unsigned long return_address)
264 * @return_address: return address to instrumented function
265 *
266 * This function is a counterpart of _mcount() in 'static' ftrace, and
267 * makes calls to:
268 * - tracer function to probe instrumented function's entry,
269 * - ftrace_graph_caller to set up an exit hook
270 */
271 SYM_FUNC_START(ftrace_caller)
272 mcount_enter
273
274 mcount_get_pc0 x0 // function's pc
275 mcount_get_lr x1 // function's lr
276
277 SYM_INNER_LABEL(ftrace_call, SYM_L_GLOBAL) // tracer(pc, lr);
278 nop // This will be replaced with "bl xxx"
279 // where xxx can be any kind of tracer.
280
281 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
> 282 SYM_INNER_LABEL(ftrace_graph_call) // ftrace_graph_caller();
283 nop // If enabled, this will be replaced
284 // "b ftrace_graph_caller"
285 #endif
286
287 mcount_exit
288 SYM_FUNC_END(ftrace_caller)
289 #endif /* CONFIG_DYNAMIC_FTRACE */
290
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47373 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [arm64:for-next/asm-annotations 6/17] arch/arm64/kernel/entry-ftrace.S:282:34: error: macro "SYM_INNER_LABEL" requires 2 arguments, but only 1 given
@ 2020-03-10 2:23 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-03-10 2:23 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2353 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/asm-annotations
head: 1157eb8f2ef3f5ff3acc372e36a657a96cd9754c
commit: e2d591d29d44af2078336c5dd7ab503c151a2607 [6/17] arm64: entry-ftrace.S: Convert to modern annotations for assembly functions
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e2d591d29d44af2078336c5dd7ab503c151a2607
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/arm64/kernel/entry-ftrace.S:282:34: error: macro "SYM_INNER_LABEL" requires 2 arguments, but only 1 given
SYM_INNER_LABEL(ftrace_graph_call) // ftrace_graph_caller();
^
vim +/SYM_INNER_LABEL +282 arch/arm64/kernel/entry-ftrace.S
261
262 /*
263 * void ftrace_caller(unsigned long return_address)
264 * @return_address: return address to instrumented function
265 *
266 * This function is a counterpart of _mcount() in 'static' ftrace, and
267 * makes calls to:
268 * - tracer function to probe instrumented function's entry,
269 * - ftrace_graph_caller to set up an exit hook
270 */
271 SYM_FUNC_START(ftrace_caller)
272 mcount_enter
273
274 mcount_get_pc0 x0 // function's pc
275 mcount_get_lr x1 // function's lr
276
277 SYM_INNER_LABEL(ftrace_call, SYM_L_GLOBAL) // tracer(pc, lr);
278 nop // This will be replaced with "bl xxx"
279 // where xxx can be any kind of tracer.
280
281 #ifdef CONFIG_FUNCTION_GRAPH_TRACER
> 282 SYM_INNER_LABEL(ftrace_graph_call) // ftrace_graph_caller();
283 nop // If enabled, this will be replaced
284 // "b ftrace_graph_caller"
285 #endif
286
287 mcount_exit
288 SYM_FUNC_END(ftrace_caller)
289 #endif /* CONFIG_DYNAMIC_FTRACE */
290
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 47373 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-10 2:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 2:23 [arm64:for-next/asm-annotations 6/17] arch/arm64/kernel/entry-ftrace.S:282:34: error: macro "SYM_INNER_LABEL" requires 2 arguments, but only 1 given kbuild test robot
2020-03-10 2:23 ` kbuild 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.