mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 08:51:03 +01:00
Replace the completely arbitrary '3' with '9' for the number of frames to
skip using the DTrace 'profile' provider on ARM. This causes stack traces to skip various driver-and callout-related things as they do on x86, where the likewise arbitrary values are '6' (32-bit) and '10' (64-bit) for similar sorts of reasons. MFC after: 3 days Sponsored by: DARPA, AFRL
This commit is contained in:
parent
70aad3bf07
commit
808d83b01a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280035
@ -135,7 +135,7 @@ struct profile_probe_percpu;
|
||||
|
||||
#ifdef __arm__
|
||||
/* bogus */
|
||||
#define PROF_ARTIFICIAL_FRAMES 3
|
||||
#define PROF_ARTIFICIAL_FRAMES 9
|
||||
#endif
|
||||
|
||||
typedef struct profile_probe {
|
||||
|
Loading…
Reference in New Issue
Block a user