Re: [PATCH v6 2/3] tracing: Add a tracepoint verification check at build time

From: Randy Dunlap
Date: Wed Aug 20 2025 - 16:12:36 EST




On 8/20/25 10:47 AM, Steven Rostedt wrote:
> +/**
> + * for_each_shdr_str - iterator that reads strings that are in an ELF section.
> + * @len: "int" to hold the length of the current string
> + * @ehdr: A pointer to the ehdr of the ELF file
> + * @sec: The section that has the strings to iterater on

iterate> + *
> + * This is a for loop that iterates over all the nul terminated strings
> + * that are in a given ELF section. The variable "str" will hold
> + * the current string for each iteration and the passed in @len will
> + * contain theh strlen() of that string.

the

> + */

--
~Randy