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:
parent
cdfa49f258
commit
40fdda022a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user