Re: [PATCH] selftests/ftrace: Let fprobe test consider already enabled functions
From: Heiko Carstens
Date: Wed Feb 26 2025 - 10:34:01 EST
On Wed, Feb 26, 2025 at 11:54:47PM +0900, Masami Hiramatsu wrote:
> On Wed, 26 Feb 2025 15:27:03 +0100
> Heiko Carstens <hca@xxxxxxxxxxxxx> wrote:
>
> > The fprobe test fails on Fedora 41 since the fprobe test assumption that
> > the number of enabled_functions is zero before the test starts is not
> > necessarily true. Some user space tools, like systemd, add BPF programs
> > that attach to functions. Those will show up in the enabled_functions table
> > and must be taken into account by the fprobe test.
>
> Hmm, this ftrace selftests has been expected to be run without
> any BPF programs... Is there any other issue on other test cases?
At least on s390 all tests pass now.
That is of course except for the "add/remove/test uprobe events" test
where I sent a patch. Not sure what will happen with that one:
https://lore.kernel.org/all/20250220130102.2079179-1-hca@xxxxxxxxxxxxx/