Bug 2223423 - [RFE]: Add indent function capability to the bpftrace command output
Summary: [RFE]: Add indent function capability to the bpftrace command output
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: bpftrace
Version: 8.6
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Viktor Malik
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-17 18:52 UTC by cdeardor@redhat.com
Modified: 2023-07-20 18:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Enhancement
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-162499 0 None None None 2023-07-17 18:53:15 UTC

Description cdeardor@redhat.com 2023-07-17 18:52:07 UTC
Add the capability to indent functions within bpftrace output.  This would be similar to flowindent in dtrace.  

Add a feature to bpftrace that would indent the entry to each function with “->”, and mark the return from this function with “<-“.

Comment 2 Viktor Malik 2023-07-18 06:13:37 UTC
Thanks for suggesting this. As this feature is not present upstream, yet, could you also open it in the official bpftrace issue tracker?

https://github.com/iovisor/bpftrace/issues

Comment 3 cdeardor@redhat.com 2023-07-18 17:28:37 UTC
Thank you Viktor.  I've create upstream issue #2683 for this request.

https://github.com/iovisor/bpftrace/issues/2683


Note You need to log in before you can comment on or make changes to this bug.