dtrace: correct profile aframes value for riscv

Experimentation shows this is the correct value; the dtrace/interrupt
handler frames are omitted, while the backtrace of the active thread is
recorded in its entirety.

Reviewed by:	markj
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37662
This commit is contained in:
Mitchell Horne 2023-01-11 14:06:17 -04:00
parent cdfa49f258
commit 40fdda022a

View File

@ -115,8 +115,7 @@ struct profile_probe_percpu;
#endif
#ifdef __riscv
/* TODO: verify */
#define PROF_ARTIFICIAL_FRAMES 10
#define PROF_ARTIFICIAL_FRAMES 12
#endif
typedef struct profile_probe {