Message ID | 20250217153401.022858448@goodmis.org (mailing list archive) |
---|---|
Headers | show |
Series | scripts/sorttable: ftrace: Remove place holders for weak functions in available_filter_functions | expand |
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.
On Tue, 18 Feb 2025 15:58:36 +0100 Heiko Carstens <hca@linux.ibm.com> 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
On Tue, 18 Feb 2025 15:58:36 +0100 Heiko Carstens <hca@linux.ibm.com> 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. Great! I'm guessing by just adding the support in s390 with what is upstream as well as what is in my for-next would work? You can just add that for the next merge window then. Expect this code to be in linux-next later this week. -- Steve
On Wed, Feb 19, 2025 at 10:22:20AM -0500, Steven Rostedt wrote: > On Tue, 18 Feb 2025 15:58:36 +0100 > Heiko Carstens <hca@linux.ibm.com> wrote: > > > 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. > > Great! > > I'm guessing by just adding the support in s390 with what is upstream as > well as what is in my for-next would work? Yes, both variants work. > You can just add that for the next merge window then. It is already in linux-next: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fa1518875286c94111bdaf1c7bae188c9c426c6b Thanks for making aware of this!