opnsense-src/sys/cddl
Mark Johnston 096cb89033 dtrace: Avoid including dtrace_isa.c directly into dtrace.c
This was done in the original DTrace import, presumably because that
made it a bit easier to handle includes.  However, this can cause
dtrace_getpcstack() to be inlined into dtrace_probe(), resulting in a
missing frame in stack traces since dtrace_getpcstack() takes care to
bump "aframes" to account for its own stack frame.

To avoid this, compile dtrace_isa.c separately on all platforms.  Add
requisite includes.

MFC after:	2 weeks
Sponsored by:	Innovate UK

(cherry picked from commit 82283cad12a417abfb1469d899b2d7cfb1d38f77)
2024-08-08 15:53:50 +00:00
..
boot/zfs boot/zfs: Sync the definition of dsl_dataset_phys with OpenZFS 2024-06-09 09:47:48 -04:00
compat/opensolaris Abstract UIO allocation and deallocation. 2024-03-08 23:27:20 -05:00
contrib/opensolaris dtrace: Avoid including dtrace_isa.c directly into dtrace.c 2024-08-08 15:53:50 +00:00
dev dtrace: Avoid including dtrace_isa.c directly into dtrace.c 2024-08-08 15:53:50 +00:00