Page MenuHomeFreeBSD

Add SDT probes virtqueue::enqueue_segments:{entry,return}
ClosedPublic

Authored by stevek on Aug 20 2021, 5:24 PM.
Tags
None
Referenced Files
F148314934: D31620.id.diff
Tue, Mar 17, 3:25 AM
Unknown Object (File)
Mon, Mar 16, 12:14 AM
Unknown Object (File)
Sun, Mar 15, 2:18 PM
Unknown Object (File)
Mon, Feb 23, 9:15 PM
Unknown Object (File)
Mon, Feb 23, 9:15 PM
Unknown Object (File)
Mon, Feb 23, 9:15 PM
Unknown Object (File)
Sun, Feb 22, 11:10 AM
Unknown Object (File)
Fri, Feb 20, 7:02 AM

Details

Summary

This allows one to be able to map the sglist entries passed into the
vq_ring_enqueue_segments() function to the segment indexes used in
the virtqueue.

This function normally gets inlined and may not available via FBT
probes.

Test Plan

Tested using dtrace on vtblk devices with the following script:
https://people.freebsd.org/~stevek/dtrace/vtblk.sh

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41148
Build 38037: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 27 2021, 5:09 PM
This revision was automatically updated to reflect the committed changes.