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

(cherry picked from commit bae00433f013c1c960ab13b9d81edef5a9dbf84d)

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
rG4779a4dde7c6: ocs_fc(4): Fix a typo in a kernel message
Branches
Unknown
Tags
Unknown