Re: [PATCH 0/5] trace-cmd: Use BTF to parse function arguments

Steven Rostedt <[email protected]> Mon, 4 Aug 2025 08:45:43 -0400
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
On Mon, 4 Aug 2025 13:36:26 +0100
Douglas Raillard <[email protected]> wrote:

> On 31-07-2025 21:20, Steven Rostedt wrote:
> > From: "Steven Rostedt (Google)" <[email protected]>
> > 
> > If function tracer is recorded with func-args option set, or the
> > function_graph tracer is recorded with the funcgraph-args option set, then
> > record the BTF file in a new BTF_FILE section in the trace.dat file.  
> 
> Would it be possible to also add an explicit CLI flag to collect the BTF blob ?

Sure, that shouldn't be to hard. We could add --btf /path/to/file  for both
the record and the report.

-- Steve