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:40:32
Also in
bpf, linux-kbuild, lkml
Reply to
Peter Zijlstra, 2025-01-02
On Thu, 2 Jan 2025 21:32:00 +0100
Peter Zijlstra [off-list ref] wrote:
This is quite the insane interface -- but whatever. I still feel
strongly you should fix kallsyms so that we can all deal more sanely
with the weak crap.
Question about fixing kallsyms, which I would like done too. I guess an
invisible place holder for weak functions may be best. Saving the size of
all functions could be memory wasteful. As there are a lot of functions:

 # wc -l /proc/kallsyms 
 207126 /proc/kallsyms

What would be best? To add a placeholder where weak functions are, but they
would not be printed in /proc/kallsyms?  If a lookup occurs, and it lands
on one of theses functions, to return "not found"?

-- 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