opnsense-src/sys/cddl/dev
Mark Johnston 82283cad12 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
2024-07-24 17:24:46 -04:00
..
dtmalloc sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
dtrace dtrace: Avoid including dtrace_isa.c directly into dtrace.c 2024-07-24 17:24:46 -04:00
fbt dtrace: Avoid including dtrace_isa.c directly into dtrace.c 2024-07-24 17:24:46 -04:00
kinst arm64: Use void pointers for arguments to arm64_get_writable_addr 2024-03-15 10:10:24 -07:00
profile dtrace/profile: Set t_dtrace_trapframe for profile probes 2024-01-07 11:46:13 -05:00
sdt sdt: Fix aframe handling after commit ddf0ed09bd 2024-07-08 11:40:24 -04:00
systrace sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
prototype.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00