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 Jul 21 2020, 7:41 AM
Parents
rGe57f9c8a9f9b: gpioiic: never drive lines active high
Branches
Unknown
Tags
Unknown

Event Timeline