Skip to content

libtraceevent: Add way to print function prototype

Steven Rostedt linux-trace-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libtraceevent: Split out btf func init code from tep_btf_print_args()src/trace-btf.c+45 -250 replies
2/2libtraceevent: Add tep_btf_list_args()Documentation/libtraceevent-btf-proto.txt Documentation/libtraceevent.txt include/traceevent/event-parse.h +1 more+275 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] libtraceevent: Add way to print function prototype

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
Signature · 1 line
2.51.0