freebsd-nq/sys/cddl/dev
Mark Johnston 6c2806594b Make the second argument of dtrace_invop() a trapframe pointer.
Currently this argument is a pointer into the stack which is used by FBT
to fetch the first five probe arguments. On all non-x86 architectures it's
simply the trapframe address, so this change has no functional impact. On
amd64 it's a pointer into the trapframe such that stack[1 .. 5] gives the
first five argument registers, which are deliberately grouped together in
the amd64 trapframe definition.

A trapframe argument simplifies the invop handlers on !x86 and makes the
x86 FBT invop handler easier to understand. Moreover, it allows for invop
handlers that may want to modify the register set of the interrupted thread.
2016-04-17 23:08:47 +00:00
..
dtmalloc The dtmalloc provider uses the short description of a malloc type as the 2013-06-28 03:14:40 +00:00
dtrace Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
fbt Make the second argument of dtrace_invop() a trapframe pointer. 2016-04-17 23:08:47 +00:00
profile Allow the artificial profile frames to be adjusted as needed by the user. 2015-12-05 10:00:01 +00:00
sdt Initialize SDT probes during SI_SUB_DTRACE_PROVIDER. 2016-04-10 01:24:27 +00:00
systrace Support an arbitrary number of arguments to DTrace syscall probes. 2015-12-17 00:00:27 +00:00
prototype.c