Re: [PATCH] powerpc/64: Have MPROFILE_KERNEL depend on FUNCTION_TRACER

2020-05-05 Thread Michael Ellerman
On Wed, 2020-04-22 at 09:26:12 UTC, "Naveen N. Rao" wrote: > Currently, it is possible to have CONFIG_FUNCTION_TRACER disabled, but > CONFIG_MPROFILE_KERNEL enabled. Though all existing users of > MPROFILE_KERNEL are doing the right thing, it is weird to have > MPROFILE_KERNEL enabled when the

[PATCH] powerpc/64: Have MPROFILE_KERNEL depend on FUNCTION_TRACER

2020-04-22 Thread Naveen N. Rao
Currently, it is possible to have CONFIG_FUNCTION_TRACER disabled, but CONFIG_MPROFILE_KERNEL enabled. Though all existing users of MPROFILE_KERNEL are doing the right thing, it is weird to have MPROFILE_KERNEL enabled when the function tracer isn't. Fix this by making MPROFILE_KERNEL depend on