On Tue, Mar 25, 2025 at 08:37:23PM -0400, Steven Rostedt wrote: > On Tue, 25 Mar 2025 20:32:36 -0400 > Steven Rostedt <[email protected]> wrote: > > > I guess it is loosely based on 4acda8edefa1 ("scripts/sorttable: Get > > start/stop_mcount_loc from ELF file directly"), which may take a bit of > > work to backport (or we just add everything that this commit depends on). > > And looking at what was done, it was my rewrite of the sorttable.c code. > > If it's OK to backport a rewrite, then we could just do that. > > See commits: > > 4f48a28b37d5 scripts/sorttable: Remove unused write functions > 7ffc0d0819f4 scripts/sorttable: Make compare_extable() into two functions > 157fb5b3cfd2 scripts/sorttable: Convert Elf_Ehdr to union > 545f6cf8f4c9 scripts/sorttable: Replace Elf_Shdr Macro with a union > 200d015e73b4 scripts/sorttable: Convert Elf_Sym MACRO over to a union > 1dfb59a228dd scripts/sorttable: Add helper functions for Elf_Ehdr > 67afb7f50440 scripts/sorttable: Add helper functions for Elf_Shdr > 17bed33ac12f scripts/sorttable: Add helper functions for Elf_Sym > 58d87678a0f4 scripts/sorttable: Move code from sorttable.h into sorttable.c
Backport away!
