[PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

kbuild test robot lkp at intel.com
Sat Apr 2 06:51:21 AEDT 2016


Hi Thiago,

[auto build test ERROR on v4.6-rc1]
[also build test ERROR on next-20160401]
[cannot apply to tip/perf/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Thiago-Jung-Bauermann/ftrace-filter-Match-dot-symbols-when-searching-functions-on-ppc64/20160401-112617
config: powerpc-ppc6xx_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   In file included from include/linux/ftrace.h:20:0,
                    from include/linux/perf_event.h:47,
                    from include/linux/trace_events.h:9,
                    from include/trace/syscall.h:6,
                    from include/linux/syscalls.h:81,
                    from arch/powerpc/kernel/pci-common.c:29:
>> arch/powerpc/include/asm/ftrace.h:62:5: error: "CONFIG_PPC64" is not defined [-Werror=undef]
    #if CONFIG_PPC64 && (!defined(_CALL_ELF) || _CALL_ELF != 2)
        ^
   cc1: all warnings being treated as errors

vim +/CONFIG_PPC64 +62 arch/powerpc/include/asm/ftrace.h

    56	
    57	struct dyn_arch_ftrace {
    58		struct module *mod;
    59	};
    60	#endif /*  CONFIG_DYNAMIC_FTRACE */
    61	
  > 62	#if CONFIG_PPC64 && (!defined(_CALL_ELF) || _CALL_ELF != 2)
    63	#define ARCH_HAS_FTRACE_MATCH_ADJUST
    64	static inline void arch_ftrace_match_adjust(char **str, char *search)
    65	{

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 27992 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20160402/c19417c1/attachment-0001.obj>


More information about the Linuxppc-dev mailing list