Re: [PATCH 14/14] scripts/sorttable: ftrace: Do not add weak functions to available_filter_functions

From
Steven Rostedt <rostedt@goodmis.org>
Date
2025-01-02 20:29:01
Also in
bpf, linux-kbuild, lkml
Reply to
Peter Zijlstra, 2025-01-02
On Thu, 2 Jan 2025 21:24:04 +0100
Peter Zijlstra [off-list ref] wrote:
It is not. If kallsyms is fixed, you can use that to tell which
fentry/mcount sites are 'invalid'.
I can't use kallsyms for valid tests at boot up. Even with a binary search,
it's still rather slow. The ftrace table is created at early boot, even
before scheduling (it's needed before you can enable boot time function
tracing), so any slow down in creating that table slows down the boot, and
people will notice.

-- Steve
Thread (36 messages) 36 messages, 4 authors, last reply 2025-01-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help