HomeFreeBSD

dtrace: Add a partial implementation of dtrace_getarg() on arm64

Description

dtrace: Add a partial implementation of dtrace_getarg() on arm64

For invop providers (i.e., fbt and kinst) we can simply reach into the
invop trapframe to fetch argument registers for arguments 0-7; for
argument 8 and beyond we have to read the value off of the stack.

Reviewed by: Domagoj Stolfa, avg
MFC after: 2 weeks
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D45649

Details

Provenance
markjAuthored on Jun 20 2024, 4:41 PM
Reviewer
avg
Differential Revision
D45649: dtrace: Add a partial implementation of dtrace_getarg() on arm64
Parents
rG70c712a86da5: sdt: Support fetching the probe sixth argument with MI machinery
Branches
Unknown
Tags
Unknown