Re: [RFC] perf/core: allow ftrace for functions in kernel/event/core.c

From: Peter Zijlstra
Date: Tue May 26 2020 - 17:41:53 EST

On Tue, May 26, 2020 at 02:28:26PM -0700, Song Liu wrote:
> It is useful to trace functions in kernel/event/core.c. Allow ftrace for
> them by removing $(CC_FLAGS_FTRACE) from Makefile.

Did you try using the ftrace event with perf with this on?