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
F154220523: D31620.id.diff
Mon, Apr 27, 5:30 AM
Unknown Object (File)
Thu, Apr 23, 4:25 AM
Unknown Object (File)
Tue, Apr 21, 11:31 AM
Unknown Object (File)
Sun, Mar 29, 3:00 AM
Unknown Object (File)
Mar 18 2026, 5:30 PM
Unknown Object (File)
Mar 17 2026, 3:25 AM
Unknown Object (File)
Mar 16 2026, 12:14 AM
Unknown Object (File)
Mar 15 2026, 2:18 PM

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.