Thread (6 messages) flat view 6 messages, 3 authors, 2025-02-26

Re: [PATCH] selftests/ftrace: Let fprobe test consider already enabled functions

From: Heiko Carstens <hca@linux.ibm.com>
Date: 2025-02-26 15:28:50
Also in: lkml

On Wed, Feb 26, 2025 at 11:54:47PM +0900, Masami Hiramatsu wrote:
On Wed, 26 Feb 2025 15:27:03 +0100
Heiko Carstens [off-list ref] wrote:
quoted
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@linux.ibm.com/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help