Bug 2203477

Summary: Remove the inline function trace from bpftrace tools
Product: Red Hat Enterprise Linux 9 Reporter: XinhuaLi <xili>
Component: bpftraceAssignee: Viktor Malik <vmalik>
Status: CLOSED WONTFIX QA Contact: Ziqian SUN (Zamir) <zsun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: ldoskova
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-10 12:08:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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: