aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/dev/profile
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2015-03-15 14:12:40 +0000
committerRobert Watson <rwatson@FreeBSD.org>2015-03-15 14:12:40 +0000
commit808d83b01a39119ae27912cb07bd9440a1da70f5 (patch)
tree8305f0245f32013efb35c517fcfeb43d0da6432b /sys/cddl/dev/profile
parent70aad3bf07efac1f2beb76cd3ba0d0047fb00fc7 (diff)
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
Notes
Notes: svn path=/head/; revision=280035
Diffstat (limited to 'sys/cddl/dev/profile')
-rw-r--r--sys/cddl/dev/profile/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/dev/profile/profile.c b/sys/cddl/dev/profile/profile.c
index 51105e209833..338a95843913 100644
--- a/sys/cddl/dev/profile/profile.c
+++ b/sys/cddl/dev/profile/profile.c
@@ -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 {