[PATCH v4 0/6] trace-cmd: Use BTF to show the arguments for function tracers

Steven Rostedt <[email protected]> Tue, 3 Feb 2026 18:32:23 -0500
Newsgroups org.kernel.vger.linux-trace-devel
Message-ID <[email protected]>
From: "Steven Rostedt (Google)" <[email protected]>

Have trace-cmd use the new BTF parsing to show the arguments of function
tracing.

Changes since v3: https://lore.kernel.org/all/[email protected]/

- Add "BTF" name to new section. It was currently NULL, and caused some issues
  with dumping the buffer.

Steven Rostedt (Google) (6):
  libtracecmd: Remove "compress" parameter from save_string_section()
  libtracecmd: Remove "compress" parameter from tcmd_out_compress*() functions
  libtracecmd: Add write_compress_section_header() for writing compress sections
  trace-cmd record / report: Record BTF file if function arguments are recorded
  libtracecmd: Add printing of arguments for function graph tracer
  trace-cmd documenatation: Update the trace.dat man page for BTF_FILE

 .../trace-cmd/trace-cmd.dat.v7.5.txt          |  19 ++
 Makefile                                      |   9 +
 .../include/private/trace-cmd-private.h       |   3 +
 lib/trace-cmd/include/trace-cmd-local.h       |   7 +-
 lib/trace-cmd/trace-compress.c                |  26 ++
 lib/trace-cmd/trace-ftrace.c                  |  58 ++++-
 lib/trace-cmd/trace-input.c                   |  68 ++++--
 lib/trace-cmd/trace-output.c                  | 228 ++++++++++--------
 meson.build                                   |   3 +
 tracecmd/trace-record.c                       |  42 +++-
 10 files changed, 330 insertions(+), 133 deletions(-)

-- 
2.51.0