Re: [GIT PULL] ftrace: Updates for v6.14

From: Steven Rostedt
Date: Tue Feb 18 2025 - 11:27:44 EST


On Mon, 17 Feb 2025 13:38:30 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Mon, 17 Feb 2025 12:49:18 +0100
> Heiko Carstens <hca@xxxxxxxxxxxxx> wrote:
>
> > $ cat /sys/kernel/debug/tracing/current_tracer
> > nop
> >
> > Bisected to commit 4346ba160409 ("fprobe: Rewrite fprobe on function-graph
> > tracer"). Before this commit there were no ftrace enabled functions after the
> > test suite finished:
> >
> > $ wc -l /sys/kernel/debug/tracing/enabled_functions
> > 0 /sys/kernel/debug/tracing/enabled_functions
> >
> > This is on s390 with defconfig.
>
> Thanks, I can reproduce it on x86 (I didn't check that commit though).
>
> I'll take a look.

I think I found 3 different bugs in the accounting of what is registered
and what is not. I'll post a patch series shortly. Two in the function
graph tracer subops accounting, and one in the fprobe accounting.

-- Steve