On Tue, 25 Mar 2025 20:45:00 -0400 Greg KH <[email protected]> wrote:
> 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! Actually, I only did a git log on scripts/sorttable.c. I left out sorttable.h which gives me this list: $ git log --pretty=oneline --abbrev-commit --reverse v6.12..4acda8edefa1ce66d3de845f1c12745721cd14c3 scripts/sorttable.[ch] 0210d251162f scripts/sorttable: fix orc_sort_cmp() to maintain symmetry and transitivity 28b24394c6e9 scripts/sorttable: Remove unused macro defines 4f48a28b37d5 scripts/sorttable: Remove unused write functions 6f2c2f93a190 scripts/sorttable: Remove unneeded Elf_Rel 66990c003306 scripts/sorttable: Have the ORC code use the _r() functions to read 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 1b649e6ab8dc scripts/sorttable: Use uint64_t for mcount sorting 58d87678a0f4 scripts/sorttable: Move code from sorttable.h into sorttable.c 4acda8edefa1 scripts/sorttable: Get start/stop_mcount_loc from ELF file directly -- Steve
