From nobody Wed Mar 15 20:02:22 2023 X-Original-To: dev-commits-src-branches@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 4PcLsB4G0pz3xjD7; Wed, 15 Mar 2023 20:02:22 +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 4PcLsB22vGz3qG4; Wed, 15 Mar 2023 20:02:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678910542; 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=kkIIlH0HkOZWFyXhh0Cp3GxjbumahVV2XUj+Ve70pUk=; b=lvqvS44ahHVUGeG8Fo/rFxhKQUHsWXaJVzO3YO6Yvv8mPoFr33Pm9azntt/M9i6I4XolQL 4LIyQjr3AXttdVwc3xoA0sQ2uAUJf4F4u6zAYTxOBdNzOuUiW0etfJugywx0d3NJm0PdeP AY02Ecaierng/rr54kLRGUlJ+4dD/J03AhgwYcgXLVzJNUENc4rJzyPNq2LyYmO9mBynf0 g6RGZVCef3+rEfzXOVxWWEFbwh2O5byK4jXgUFLNxbYPPEgVAEILJBkJfBOipgu3mYPxXx OjZgSokdhoZy0aNMz4s9tXy4p2pevzNZmUFPcYYbcWt5Mpc/OtA3lbAyuN0gLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678910542; 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=kkIIlH0HkOZWFyXhh0Cp3GxjbumahVV2XUj+Ve70pUk=; b=gO9tguQNYUcPOtgQm0prc8VgisDkbMUFk2BGwg4GQgfczWgI1Mqcue8DJu7FtHmCHQwvg0 R2iuvvdeWCiYBqERSaHu3nbF0C6dDkoNhsM/RHqxc+yDOoE64/t+D8KWZOBZuils1erlT+ pM5nC/2SG8/AytcCGOjdBkeJRrYrF9dHoT85bopjt5VdYIotWT8Xns2l8g1Qtvmrw3icU8 C9Ayw5BQc837Cc1oGxtXoxud/L74xbPM9nAAa9ofj1zdpiZdWR/MnuirHq2HrzC+Y2brVY XPCK72HQabhxqsFjiqDwIngdRXN6n4Acj3XDwkMRVjmFT27avu/8ivpMKET6Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678910542; a=rsa-sha256; cv=none; b=Y6SvwqVjJcn0Soi7V6Du1+ZOgeBRwHVQqIc4MBKGwNXGaaxhOSL5F8w1Gws5gnXUGo4TGQ q01rFCJt85hU1wyarhhMqvkfMA2CnRe4+aRySj1qjZZeAPOc9vZUCoKGUJ9qs5stKx+U7I Csarn4+uUi4ajSV/pUkvtv1V0rRdzQpHwa9yNjMbgOu6QJPS5I/0aoZ3KR8iuefL0YR1Yp 4ChcqKcdnKpWWGSZNhDAoMJANjmlpWyLiplcFrZ3qBcGdsrOlCwpAVhf+5ZhO1ib0XnUEb reBfuJr43mIumNYVtsaxIFZmViX4RIMkaTMgY5KxyRrxRDGUdkVboRYccs3LSQ== 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 4PcLsB16g7zFcj; Wed, 15 Mar 2023 20:02:22 +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 32FK2MOb084479; Wed, 15 Mar 2023 20:02:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32FK2MZ9084478; Wed, 15 Mar 2023 20:02:22 GMT (envelope-from git) Date: Wed, 15 Mar 2023 20:02:22 GMT Message-Id: <202303152002.32FK2MZ9084478@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Justin Hibbits Subject: git: 1026d170f4f7 - stable/13 - dtrace/powerpc: Adjust AFRAMES for fbt and profile List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhibbits X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 1026d170f4f70cdeb63cd05819c5557041e8ea94 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=1026d170f4f70cdeb63cd05819c5557041e8ea94 commit 1026d170f4f70cdeb63cd05819c5557041e8ea94 Author: Justin Hibbits AuthorDate: 2023-03-11 16:23:38 +0000 Commit: Justin Hibbits CommitDate: 2023-03-15 19:47:49 +0000 dtrace/powerpc: Adjust AFRAMES for fbt and profile FBT_AFRAMES was skipping over too many frames, while PROFILE_AFRAMES was skipping over too few. Adjust them empirically. (cherry picked from commit 635ecbf47015c259226cb47a3de8fc00c9ed5924) --- sys/cddl/dev/fbt/powerpc/fbt_isa.c | 2 +- sys/cddl/dev/profile/profile.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/cddl/dev/fbt/powerpc/fbt_isa.c b/sys/cddl/dev/fbt/powerpc/fbt_isa.c index 0da74c9cf076..eb7feceb269d 100644 --- a/sys/cddl/dev/fbt/powerpc/fbt_isa.c +++ b/sys/cddl/dev/fbt/powerpc/fbt_isa.c @@ -48,7 +48,7 @@ #define FBT_ENTRY "entry" #define FBT_RETURN "return" -#define FBT_AFRAMES 7 +#define FBT_AFRAMES 5 int fbt_invop(uintptr_t addr, struct trapframe *frame, uintptr_t rval) diff --git a/sys/cddl/dev/profile/profile.c b/sys/cddl/dev/profile/profile.c index 48decf3a89cf..99381ea7d745 100644 --- a/sys/cddl/dev/profile/profile.c +++ b/sys/cddl/dev/profile/profile.c @@ -108,7 +108,7 @@ /* * This value is bogus just to make module compilable on powerpc */ -#define PROF_ARTIFICIAL_FRAMES 3 +#define PROF_ARTIFICIAL_FRAMES 8 #endif struct profile_probe_percpu;