From nobody Tue Feb 08 20:01:07 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A02BF19BC9C6; Tue, 8 Feb 2022 20:01:08 +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 4JtYmN02Tgz4vr2; Tue, 8 Feb 2022 20:01:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644350468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mWD/73L7Yf3Acto85o3EAmLzZIIszJuxvKKC3+IWkZs=; b=PvYwNxLgrMkVOIoXTa7uXpQW22Q52JBm6ALLVGPzwerE4sx6TF+yAQsW/xmp5zUL/ZPOnQ Nz/wvkb0NR90BTsyl/lBiYn6GBKNyhbLR5lWhCGCyhtF3+xsTH6FwymLtUqlE3prTWnWEG /AtkUj3xn2KzWPTE8ANU+1nTtCtuBAelO+GAmGXkRCEugqnbkqYaQ9dOUTgxyZgUOo/3W0 4WWXCnbGwJQiAHaClesmKH2SIAtcl6Jmgq6KtGViZ81i+PQQMsd31cgyoVTLCcrNyjZNgk NySp6eOCPD5p82QTT3pMUCaIy5vmsOrVmC9PK8gA2oM7PgwdXO4zutrfRrTkXQ== 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 B52951F748; Tue, 8 Feb 2022 20:01:07 +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 218K17Ej005798; Tue, 8 Feb 2022 20:01:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 218K17vB005797; Tue, 8 Feb 2022 20:01:07 GMT (envelope-from git) Date: Tue, 8 Feb 2022 20:01:07 GMT Message-Id: <202202082001.218K17vB005797@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 1b69d2aedc68 - stable/13 - DTrace: remove sparc64 remnants in non-contrib code List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 1b69d2aedc687b441ff2e2fb2298fc8ebaec9edd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644350468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mWD/73L7Yf3Acto85o3EAmLzZIIszJuxvKKC3+IWkZs=; b=BnrMggjFwXhrvktM1MqWQFEfK3MmhhdgfbXp2diGQUKNzHL5bJy48emG4zaJUwqya1J1Xo mAxvH0OLf6pQ+wcns877GiqslP7zHaudt3/sd0R06hBUannGN3+/CBx3opY33+qUBTXvXG mCSQR4bfegxeQ92RfeBfZpS2I1X5DfOgn8cO2/OlQPSzMpPuNnkeK/kA5sj4lgR3Gjqshq pZyH8iJo3TxHmgpeHsVoNcgDzWj2SMSX7pJZPyG5a1v6jPomSJhtN6UlmL4ZgaG1IprWPV zV5P7f8qlJYpPjOJi20QuIc37d8G1W0Eo40/sHLlKCMH+zxEU7pbPm8Leu+yqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644350468; a=rsa-sha256; cv=none; b=m6OAPXN8h5U8dZPGx+XaB9tPnsR6/QlNYpLOiaKuzhnGHAZ87rvv49IeTihNAWAWu3LXEG 6Ub65oEjy6SrRKwVE9SZ+Y5i8Xl4N2uiuOdWE5G1o4aVupjP6wDt/rAT40hrcu6k3LowxB ucHqbcZC08uLg8OUf1I6fdeScLQeq0/41buByS9FbDYOY8+dKZcxKjc6r6/BzKpQ5w66nW egFkRaG5F9ujbg/2vF8VIBztmXUq0pZx+tbfdU84LEUoVumYYYXEvSJGpqtG6oHzoF0AGs 5aNkXzwGrKnJzsFS7AFy2uaM1U01Q9MOHyz0lBTHFdCgcMeWonECjTwR0eBmhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=1b69d2aedc687b441ff2e2fb2298fc8ebaec9edd commit 1b69d2aedc687b441ff2e2fb2298fc8ebaec9edd Author: Ed Maste AuthorDate: 2021-03-21 01:19:35 +0000 Commit: Ed Maste CommitDate: 2022-02-08 20:00:55 +0000 DTrace: remove sparc64 remnants in non-contrib code Sponsored by: The FreeBSD Foundation (cherry picked from commit 64a790d264808116469914c19265e905b3929e00) --- 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 ca373f50a1a0..1e7a84c272cd 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