# 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 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2025/01/2875434
- Thread: https://ratatoskr.run/linux-trace-kernel/2025/01/2875388/t.md

```text
On Thu, 2 Jan 2025 14:45:53 -0500
Steven Rostedt [ref] wrote:

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