On Thu, 2 Jan 2025 14:45:53 -0500 Steven Rostedt <rostedt@xxxxxxxxxxx> 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