From owner-dev-commits-src-all@freebsd.org Mon Mar 22 13:35:10 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DFED5AF131; Mon, 22 Mar 2021 13:35:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F3wV61l2Sz3QCm; Mon, 22 Mar 2021 13:35:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2A5936C13; Mon, 22 Mar 2021 13:35:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 12MDZATc085607; Mon, 22 Mar 2021 13:35:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 12MDZAAE085606; Mon, 22 Mar 2021 13:35:10 GMT (envelope-from git) Date: Mon, 22 Mar 2021 13:35:10 GMT Message-Id: <202103221335.12MDZAAE085606@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 64a790d26480 - main - DTrace: remove sparc64 remnants in non-contrib code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 64a790d264808116469914c19265e905b3929e00 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 13:35:10 -0000 The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=64a790d264808116469914c19265e905b3929e00 commit 64a790d264808116469914c19265e905b3929e00 Author: Ed Maste AuthorDate: 2021-03-21 01:19:35 +0000 Commit: Ed Maste CommitDate: 2021-03-22 13:34:57 +0000 DTrace: remove sparc64 remnants in non-contrib code Sponsored by: The FreeBSD Foundation --- sys/cddl/dev/profile/profile.c | 17 ----------------- 1 file changed, 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