Page MenuHomeFreeBSD

Corrected handling of fifth parameter in DTrace's FBT provider for ARM
ClosedPublic

Authored by graeme.jenkinson_cl.cam.ac.uk on Jan 18 2017, 11:13 AM.
Tags
None
Referenced Files
F132055538: D9229.diff
Mon, Oct 13, 6:46 AM
Unknown Object (File)
Tue, Oct 7, 10:01 AM
Unknown Object (File)
Sat, Sep 27, 1:10 AM
Unknown Object (File)
Fri, Sep 26, 4:26 AM
Unknown Object (File)
Sep 12 2025, 4:25 AM
Unknown Object (File)
Sep 5 2025, 4:02 PM
Unknown Object (File)
Aug 13 2025, 12:29 AM
Unknown Object (File)
Aug 10 2025, 9:16 PM
Subscribers

Details

Summary

DTrace's FBT for ARM attempts to access the user stack pointer, in order to provide the fifth parameter in the call to dtrace_probe. This results in a translation error.

Test Plan

Verified the correct operation of the FBT provider on BeagleBone Black whilst instrumenting fbt::malloc:entry, fbt::vm_fault:entry and fbt:::.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

graeme.jenkinson_cl.cam.ac.uk retitled this revision from to Corrected handling of fifth parameter in DTrace's FBT provider for ARM .
graeme.jenkinson_cl.cam.ac.uk updated this object.
graeme.jenkinson_cl.cam.ac.uk edited the test plan for this revision. (Show Details)
andrew edited edge metadata.
This revision is now accepted and ready to land.Jan 18 2017, 12:02 PM
This revision was automatically updated to reflect the committed changes.