diff options
author | Ed Maste <emaste@FreeBSD.org> | 2021-03-21 01:19:35 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2021-03-22 13:34:57 +0000 |
commit | 64a790d264808116469914c19265e905b3929e00 (patch) | |
tree | 2ac1fa8191a4ee661d302035ac76358da7f567ef | |
parent | 7f5693d05329ab976287b8d449e694e7a0f99e88 (diff) | |
download | src-64a790d264808116469914c19265e905b3929e00.tar.gz src-64a790d264808116469914c19265e905b3929e00.zip |
DTrace: remove sparc64 remnants in non-contrib code
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | sys/cddl/dev/profile/profile.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/cddl/dev/profile/profile.c b/sys/cddl/dev/profile/profile.c index 4fc9f6f22eef..6074354af18d 100644 --- a/sys/cddl/dev/profile/profile.c +++ b/sys/cddl/dev/profile/profile.c @@ -83,15 +83,6 @@ * appears as its own stack frame. All of this means that we need to add one * frame for amd64, and then take one away for both amd64 and i386. * - * On SPARC, the picture is further complicated because the compiler - * optimizes away tail-calls -- so the following frames are optimized away: - * - * profile_fire - * cyclic_expire - * - * This gives three frames. However, on DEBUG kernels, the cyclic_expire - * frame cannot be tail-call eliminated, yielding four frames in this case. - * * All of the above constraints lead to the mess below. Yes, the profile * provider should ideally figure this out on-the-fly by hiting one of its own * probes and then walking its own stack trace. This is complicated, however, @@ -103,14 +94,6 @@ #else #ifdef __i386 #define PROF_ARTIFICIAL_FRAMES 6 -#else -#ifdef __sparc -#ifdef DEBUG -#define PROF_ARTIFICIAL_FRAMES 4 -#else -#define PROF_ARTIFICIAL_FRAMES 3 -#endif -#endif #endif #endif |