opnsense-src/sys/cddl
Mark Johnston 761d4d350d dtrace/amd64: Implement emulation of call instructions
Here, the provider is responsible for updating the trapframe to redirect
control flow and for computing the return address.  Once software-saved
registers are restored, the emulation shifts the remaining context down
on the stack to make space for the return address, then copies the
address provided by the invop handler.  dtrace_invop() is modified to
allocate temporary storage space on the stack for use by the provider to
return the return address.

This is to support a new provider for amd64 which can instrument
arbitrary instructions, not just function entry and exit instructions as
FBT does.

In collaboration with:	christos
Sponsored by:	Google, Inc. (GSoC 2022)
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 3ba8e9dc4a)
2022-08-23 16:05:07 -04:00
..
boot/zfs boot/zfs: Extend zfsimpl.h and make it easier to use 2022-06-05 11:15:04 -04:00
compat/opensolaris Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
contrib/opensolaris dtrace/amd64: Implement emulation of call instructions 2022-08-23 16:05:07 -04:00
dev dtrace/amd64: Implement emulation of call instructions 2022-08-23 16:05:07 -04:00