freebsd-skq/sys/cddl/dev
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
..
dtmalloc
dtrace dtrace/fbt: fix return probe arguments on arm 2020-07-21 07:41:36 +00:00
fbt dtrace/fbt: fix return probe arguments on arm 2020-07-21 07:41:36 +00:00
profile Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
sdt
systrace Clear systrace_args_func when systrace probes are disabled. 2020-02-28 17:04:36 +00:00
prototype.c