freebsd-dev/sys/cddl/dev/fbt
Andriy Gapon 2032c532aa 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
2020-07-21 07:41:36 +00:00
..
aarch64 Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00
arm dtrace/fbt: fix return probe arguments on arm 2020-07-21 07:41:36 +00:00
mips Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00
powerpc powerpc/dtrace: Fix fbt function probing for ELFv2 2019-05-27 03:18:56 +00:00
riscv Various fixes for TLB management on RISC-V. 2018-10-15 18:56:54 +00:00
x86 Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00
fbt.c Fix the hash table lookup in fbt_destroy(). 2018-09-02 17:02:13 +00:00
fbt.h Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00