Bug 2203477 - Remove the inline function trace from bpftrace tools
Summary: Remove the inline function trace from bpftrace tools
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: bpftrace
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Viktor Malik
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-13 00:16 UTC by XinhuaLi
Modified: 2023-07-10 12:08 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-10 12:08:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-157128 0 None None None 2023-05-13 00:17:31 UTC

Description XinhuaLi 2023-05-13 00:16:56 UTC
Description of problem:
We can see from codes, blk_account_io_done and blk_account_io_start are inline. so we should remove them from bpftrace tools , such as "./biolatency.bt"
* static inline void blk_account_io_done(struct request *req, u64 now){
*	if (blk_do_io_stat(req) && req->part &&
*	    !(req->rq_flags & RQF_FLUSH_SEQ))
*		__blk_account_io_done(req, now);
*}
*/

* static inline void blk_account_io_start(struct request *req){
*	if (blk_do_io_stat(req))
*		__blk_account_io_start(req);
*}

Version-Release number of selected component (if applicable):
bpftrace-0.16.0-2.el9

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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