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
Unknown Object (File)
Fri, Apr 18, 12:32 PM
Unknown Object (File)
Sun, Mar 30, 1:07 PM
Unknown Object (File)
Mar 13 2025, 8:12 AM
Unknown Object (File)
Mar 6 2025, 7:52 AM
Unknown Object (File)
Mar 6 2025, 7:12 AM
Unknown Object (File)
Mar 5 2025, 11:10 PM
Unknown Object (File)
Feb 4 2025, 11:32 AM
Unknown Object (File)
Jan 13 2025, 11:50 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.