aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorHeiko Carstens <[email protected]>2025-02-26 14:27:03 +0000
committerSteven Rostedt (Google) <[email protected]>2025-02-28 02:02:09 +0000
commit3908b6baf2ac20138915b5ca98338b4f063954d8 (patch)
tree47b4e2d2b9a99d44feb330245cdc666ae98c54c3 /net/unix/sysctl_net_unix.c
parenttracing: Fix bad hist from corrupting named_triggers list (diff)
downloadkernel-3908b6baf2ac20138915b5ca98338b4f063954d8.tar.gz
kernel-3908b6baf2ac20138915b5ca98338b4f063954d8.zip
selftests/ftrace: Let fprobe test consider already enabled functions
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. Therefore count the number of lines of enabled_functions before tests start, and use that as base when comparing expected results. Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Sven Schnelle <[email protected]> Cc: Vasily Gorbik <[email protected]> Cc: Alexander Gordeev <[email protected]> Link: https://lore.kernel.org/[email protected] Fixes: e85c5e9792b9 ("selftests/ftrace: Update fprobe test to check enabled_functions file") Signed-off-by: Heiko Carstens <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions