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)
Thu, Nov 27, 3:31 AM
Unknown Object (File)
Wed, Nov 26, 4:14 AM
Unknown Object (File)
Sun, Nov 23, 4:54 AM
Unknown Object (File)
Fri, Nov 21, 3:02 AM
Unknown Object (File)
Wed, Nov 19, 8:32 AM
Unknown Object (File)
Tue, Nov 18, 2:29 PM
Unknown Object (File)
Tue, Nov 18, 12:33 PM
Unknown Object (File)
Tue, Nov 18, 12:33 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.