Re: [PATCH v2 00/16] scripts/sorttable: ftrace: Remove place holders for weak functions in available_filter_functions

From: Steven Rostedt
Date: Thu Jan 02 2025 - 18:30:31 EST


On Thu, 02 Jan 2025 18:26:09 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Steven Rostedt (16):
> scripts/sorttable: Remove unused macro defines
> scripts/sorttable: Remove unused write functions
> scripts/sorttable: Remove unneeded Elf_Rel
> scripts/sorttable: Have the ORC code use the _r() functions to read
> scripts/sorttable: Make compare_extable() into two functions
> scripts/sorttable: Convert Elf_Ehdr to union
> scripts/sorttable: Replace Elf_Shdr Macro with a union
> scripts/sorttable: Convert Elf_Sym MACRO over to a union
> scripts/sorttable: Add helper functions for Elf_Ehdr
> scripts/sorttable: Add helper functions for Elf_Shdr
> scripts/sorttable: Add helper functions for Elf_Sym
> scripts/sorttable: Use uint64_t for mcount sorting
> scripts/sorttable: Move code from sorttable.h into sorttable.c
> scripts/sorttable: Get start/stop_mcount_loc from ELF file directly

Note. These first 14 patches are simply clean up patches to the sorttable.c
code. I would like to start testing these and add them to linux-next, as I
do not believe they are controversial. They should not have any real
functional change, but it would still be good to test them on other
architectures outside of the mcount code.

The last two patches are what handle the weak functions in mcount_loc. I'll
hold off on those till after the v6.14 merge window.

-- Steve