Re: [PATCH v4 0/6] scripts/sorttable: ftrace: Remove place holders for weak functions in available_filter_functions
From: Steven Rostedt
Date: Tue Feb 18 2025 - 14:56:26 EST
On Tue, 18 Feb 2025 15:58:36 +0100
Heiko Carstens <hca@xxxxxxxxxxxxx> wrote:
> Hi Steven,
>
> > This series removes the place holder __ftrace_invalid_address___ from
> > the available_filter_functions file.
> >
> > The rewriting of the sorttable.c code to make it more manageable
> > has already been merged:
> >
> > https://git.kernel.org/torvalds/c/c0e75905caf368e19aab585d20151500e750de89
> >
> > Now this is only for getting rid of the ftrace invalid function place holders.
>
> Since you asked me to test this on s390: seems to work with
> HAVE_BUILDTIME_MCOUNT_SORT enabled; the ftrace selftests still
> work as before.
My tests found a bug (forgot to initialize a variable) and I will be
sending a v5 soon.
You may also want to enable: CONFIG_FTRACE_SORT_STARTUP_TEST
That will make ftrace test to see if the mcount table is indeed sorted at
boot up.
-- Steve