HomeFreeBSD

dtrace/fbt: fix return probe arguments on arm

Description

dtrace/fbt: fix return probe arguments on arm

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

Tested on armv7.

andrew noted that the same problem seems to be present on arm64, mips,
and riscv.
I am not sure if I will get around to fixing those. So, platform users
or anyone looking to make a contribution please be aware of this
opportunity.

Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25685

Details

Provenance
avgAuthored on
Reviewer
markj
Differential Revision
D25685: dtrace/fbt: fix return probe arguments on arm
Parents
rS363382: gpioiic: never drive lines active high
Branches
Unknown
Tags
Unknown