Re: [PATCH 00/14] scripts/sorttable: ftrace: Remove place holders for weak functions in available_filter_functions

From
Steven Rostedt <rostedt@goodmis.org>
Date
2025-01-02 19:46:04
Also in
bpf, linux-kbuild, lkml
Reply to
Steven Rostedt, 2025-01-02
On Thu, 2 Jan 2025 14:45:53 -0500
Steven Rostedt [off-list ref] wrote:
quoted
Why even do that? Why not just make the mcount_loc table be proper in
the first place.  
I was a bit nervous about changing the stop_mcount_loc value. I thought of
doing that first, but then I noticed that the value is found by looking at
the System.map file and not from the object itself. Changing it in the
object will require some more elf parsing. Just zeroing out didn't require
that.
I could still zero it out, but then change the start_mcount_loc to the
first valid function after the sort. As all the zeros will be at the start.

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