Re: [PATCH v6 2/3] tracing: Add a tracepoint verification check at build time
From: Steven Rostedt
Date: Wed Aug 20 2025 - 16:19:32 EST
On Wed, 20 Aug 2025 13:12:22 -0700
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> 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> + *
Hmm, "to iterate on" sounds better to me. :-/
> > + * 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
Oops! Thanks.
-- Steve
>
> > + */
>