Re: [PATCH v2 2/2] kbuild: trace functions in subdirectories of lib/

From: Masahiro Yamada
Date: Tue Jul 21 2020 - 22:11:22 EST


On Wed, Jul 8, 2020 at 6:23 PM Petr Mladek <pmladek@xxxxxxxx> wrote:
>
> On Wed 2020-07-08 08:52:23, Petr Mladek wrote:
> >
> > PS: BTW: The livepatch selftests fail in Linus's master now. But it
> > seems to be for another reason. I am going to dig into it.
>
> JFYI, the livepatch selftests are actually working. I have messed
> the testing here. I am sorry for the noise.
>
> Best Regards,
> Petr

No worry, thank you for testing this patch.


I deleted the following two lines,
otherwise $(CC_FLAGS_FTRACE) would be added twice.

# Target modules to be livepatched require CC_FLAGS_FTRACE
CFLAGS_test_klp_callbacks_busy.o += $(CC_FLAGS_FTRACE)
CFLAGS_test_klp_callbacks_mod.o += $(CC_FLAGS_FTRACE)




--
Best Regards
Masahiro Yamada