freebsd-dev/sys/cddl/dev/fbt
Kristof Provost effd82ca70 dtrace: fix fbt return probes on RISC-V
Return values are passed in a0, so read it from there. We also pass a1 through
to userspace, as the ABI allows small structs to be returned in registers
a0/a1. While here read the register values directly from the trapframe rather
than rtval, and remove the now unneeded argument from dtrace_invop().

Set fbtp_roffset so that we get the correct return location in arg0.

Reviewed by:	markj
Sponsored by:	Axiado
Differential Revision:	https://reviews.freebsd.org/D26389
2020-09-11 09:15:49 +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 dtrace: fix fbt return probes on RISC-V 2020-09-11 09:15:49 +00:00
x86 Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00
fbt.c Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
fbt.h Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00