Comment 3 for bug 1820988

Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: Please enable the config for ftrace on T-ARM64

It looks like ARM64 in Trusty does not have the Function Tracer support:

phlin@tangerine:~/ubuntu-trusty$ git grep "ifdef CONFIG_FUNCTION_TRACER"
Makefile:ifdef CONFIG_FUNCTION_TRACER
arch/arm/include/asm/ftrace.h:#ifdef CONFIG_FUNCTION_TRACER
arch/arm/kernel/Makefile:ifdef CONFIG_FUNCTION_TRACER
arch/arm/kernel/armksyms.c:#ifdef CONFIG_FUNCTION_TRACER
arch/arm/kernel/entry-common.S:#ifdef CONFIG_FUNCTION_TRACER
arch/blackfin/kernel/bfin_ksyms.c:#ifdef CONFIG_FUNCTION_TRACER
arch/ia64/include/asm/ftrace.h:#ifdef CONFIG_FUNCTION_TRACER
arch/ia64/kernel/entry.S:#ifdef CONFIG_FUNCTION_TRACER
arch/ia64/kernel/ia64_ksyms.c:#ifdef CONFIG_FUNCTION_TRACER
arch/metag/include/asm/ftrace.h:#ifdef CONFIG_FUNCTION_TRACER
...

phlin@tangerine:~/ubuntu-trusty/arch/arm64$ grep -r HAVE_FUNCTION_TRACER *
phlin@tangerine:~/ubuntu-trusty/arch/arm64$

I will just disable the test for Trusty ARM64.