On Thu, 2 Jan 2025 21:36:25 +0100 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote: > I'm not sure I understand, up until you've started userspace, nobody > cares about those weird indexes. The ftrace table is used for accounting. What is enabled, how many attached, how are they attached (direct calls, ftrace_with_regs, trampolines, etc). They are not something I want to update once it is created. I guess it could be done by preventing any changes from happening, and recreating them before the file could be examined. But having them removed at build time seems so much more efficient. At least it gave me the incentive to create the first 13 patches of this series, to make the sorttable code much easier to digest. ;-) Which I would add no matter the solution we come up with. -- Steve