Page MenuHomeFreeBSD

dtrace/fbt: fix return probe arguments on arm
ClosedPublic

Authored by avg on Jul 16 2020, 11:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 5:12 AM
Unknown Object (File)
Dec 19 2023, 11:30 AM
Unknown Object (File)
Sep 2 2023, 10:55 PM
Unknown Object (File)
Sep 2 2023, 10:55 PM
Unknown Object (File)
Sep 2 2023, 10:53 PM
Unknown Object (File)
Aug 28 2023, 4:10 AM
Unknown Object (File)
Jul 20 2023, 9:08 AM
Unknown Object (File)
Jun 25 2023, 1:23 AM
Subscribers

Details

Summary

arg0 should be offset of the return point within the function,
arg1 should be the return value.
Previously a return probe had arguments as if for an entry probe.

Test Plan

Tested on armv7.

Diff Detail

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

Event Timeline

avg requested review of this revision.Jul 16 2020, 11:06 AM

It looks like arm64, mips, and riscv share this problem. It might pay to fix them all at the same time.

This revision was not accepted when it landed; it landed in state Needs Review.Jul 21 2020, 7:41 AM
This revision was automatically updated to reflect the committed changes.