[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88b25b9d-911a-4419-b1a6-e6ae38d499ba@infradead.org>
Date: Wed, 20 Aug 2025 13:12:22 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Steven Rostedt <rostedt@...nel.org>, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Andrew Morton <akpm@...ux-foundation.org>, Arnd Bergmann <arnd@...db.de>,
Masahiro Yamada <masahiroy@...nel.org>, Nathan Chancellor
<nathan@...nel.org>, Nicolas Schier <nicolas.schier@...ux.dev>,
Nick Desaulniers <nick.desaulniers+lkml@...il.com>,
Catalin Marinas <catalin.marinas@....com>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH v6 2/3] tracing: Add a tracepoint verification check at
build time
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
Powered by blists - more mailing lists