[PATCH v2 0/2] libtraceevent: Add way to print function prototype
Steven Rostedt <[email protected]> Tue, 3 Feb 2026 17:27:25 -0500
| Newsgroups | org.kernel.vger.linux-trace-devel |
|---|---|
| Message-ID | <[email protected]> |
From: "Steven Rostedt (Google)" <[email protected]> In order to have trace-printk add showing of a function's prototype, add a new function that can use BTF to show the functions arguments: tep_btf_list_args() Changes since v1: https://lore.kernel.org/all/[email protected]/ - Fixed whitespace issue Steven Rostedt (Google) (2): libtraceevent: Split out btf func init code from tep_btf_print_args() libtraceevent: Add tep_btf_list_args() Documentation/libtraceevent-btf-proto.txt | 124 ++++++++++++ Documentation/libtraceevent.txt | 1 + include/traceevent/event-parse.h | 1 + src/trace-btf.c | 221 +++++++++++++++++++--- 4 files changed, 320 insertions(+), 27 deletions(-) create mode 100644 Documentation/libtraceevent-btf-proto.txt -- 2.51.0