HomeFreeBSD

dtrace: expose dtrace_instr_size() to userland and implement it for riscv

Description

dtrace: expose dtrace_instr_size() to userland and implement it for riscv

dtrace_instr_size() is needed by the forthcoming RISC-V port of kinst,
as well as by libdtrace in D38825 for both amd64 and RISC-V.

Reviewed by: markj, mhorne
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39489

Details

Provenance
christosAuthored on Apr 20 2023, 4:21 PM
markjCommitted on Apr 20 2023, 5:35 PM
Reviewer
markj
Differential Revision
D39489: dtrace: expose dtrace_instr_size() to userland and implement it for RISC-V
Parents
rG1a149d65baed: dtrace: get rid of uchar_t types
Branches
Unknown
Tags
Unknown