Bug 2223426 - [RFE]:Add speculatvie tracing functionality to bpftrace command
Summary: [RFE]:Add speculatvie tracing functionality to bpftrace command
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
unspecified
Target Milestone: rc
: ---
Assignee: Viktor Malik
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-17 19:10 UTC by cdeardor@redhat.com
Modified: 2023-07-20 18:33 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-162500 0 None None None 2023-07-17 19:12:58 UTC

Description cdeardor@redhat.com 2023-07-17 19:10:11 UTC
Add the ability to tentatively trace data and decide whether to commit the data to a tracing buffer or discard it.  This would be similar to 'speculative tracing' in dtrace.

This would allow for focused investigations as it should only print when the specific trace criteria is met, thereby reducing the amount of data collected.

Comment 2 Viktor Malik 2023-07-18 06:16:24 UTC
Thanks for suggesting this. Could you also open this request in the official bpftrace issue tracker?

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

Comment 3 cdeardor@redhat.com 2023-07-18 17:30:46 UTC
Thank you.  I've created upstream issue #2684 for this request.

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


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