HomeFreeBSD

fbt/x86: Extract arg1 for return probes from the trapframe

Description

fbt/x86: Extract arg1 for return probes from the trapframe

dtrace invop handlers have access to the whole trapframe, just use that
to extract %rax/%eax for return probes instead of relying on an
additional parameter to the handler. No functional change intended.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit a7aa3d4d758dc60894e7f9c99411a64837fd3c18)

Details

Provenance
markjAuthored on Aug 9 2022, 8:08 PM
Parents
rG926b4724eae4: reap_kill_proc_locked(): remove outdated part of the comment
Branches
Unknown
Tags
Unknown