HomeFreeBSD

Support an arbitrary number of arguments to DTrace syscall probes.

Description

Support an arbitrary number of arguments to DTrace syscall probes.

Rather than pushing all eight possible arguments into dtrace_probe()'s
stack frame, make the syscall_args struct for the current syscall available
via the current thread. Using a custom getargval method for the systrace
provider, this allows any syscall argument to be fetched, even in kernels
that have modified the maximum number of system call arguments.

Sponsored by: EMC / Isilon Storage Division

Details

Provenance
markjAuthored on
Parents
rS292387: Merge head r261119 through r292386.
Branches
Unknown
Tags
Unknown