freebsd-dev/sys/cddl/dev/dtrace
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 Don't overflow the trap frame when accessing lr or xzr. 2020-07-17 14:39:07 +00:00
amd64 dtrace: 64-bits registers support 2019-10-04 16:17:00 +00:00
arm dtrace/fbt: fix return probe arguments on arm 2020-07-21 07:41:36 +00:00
i386 Implement x86 dtrace_invop_(un)init() in C. 2019-09-23 15:08:17 +00:00
mips Handle non-dtrace-triggered kernel breakpoint traps in mips. 2020-04-21 17:38:07 +00:00
powerpc powerpc/dtrace: Actually fix stack traces 2019-05-17 19:57:08 +00:00
riscv Fix entering KDB with dtrace-enabled kernel. 2020-05-26 16:44:05 +00:00
x86 Sync the x86 dis_tables.c with upstream. 2017-02-03 03:22:47 +00:00
dtrace_anon.c
dtrace_cddl.h Fix a tracepoint lookup race in fasttrap_pid_probe(). 2019-02-21 22:54:17 +00:00
dtrace_debug.c Fix a backwards comparison in the code to dump a DTrace debug buffer. 2017-03-13 18:43:00 +00:00
dtrace_hacks.c
dtrace_ioctl.c Don't use pcpu_find() to determine if a CPU ID is valid. 2017-11-27 18:42:23 +00:00
dtrace_load.c Fix a harmless LOR in dtrace_load(). 2017-05-01 17:01:00 +00:00
dtrace_modevent.c
dtrace_sysctl.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
dtrace_test.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
dtrace_unload.c
dtrace_vtime.c