From nobody Wed Mar 15 20:47:04 2023 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 4PcMrn1H59z3xmG9; Wed, 15 Mar 2023 20:47:05 +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 4PcMrn0XbYz3vRG; Wed, 15 Mar 2023 20:47:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678913225; 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=O1wB6Kdohu7AAXGY3XVkRpweiZVyaf+gJ0dqr1swUjE=; b=HlheOwLU/jNn96tznVTyR+x7/v9RAbnNtSnOMuEHpy73avdEnk/BPqTRPH9QXKUE1GG0HV h92RrbX4jKAx67A8zRe2f9b1uqU/TC+EwkwoYAtm8CEwaEEo3FBXU28JWfkUiXW0rA+tO1 xI9GGeE3bhK0F5EHQH88roOY9Cr8UdyA0efqvUrglkHi14Sz3eAI+woPCpVua0nzgJgsZ6 yKMt6VEdxPIJS/rp6GvZweAUPn9KmENCUYJ3jHD4zyAEzTQNBDyySVEuID0sIOrwyTylTZ uhB99lO4vRqyz65NxExP9MdGX0nnwAHuoKW4o9niJn9F69fzFPIFi5yF8vmHsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678913225; 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=O1wB6Kdohu7AAXGY3XVkRpweiZVyaf+gJ0dqr1swUjE=; b=KdqhtTcyhcPIIdQrsQEsiA6VahdQVIvgJXAThfX0pNbTXxcsI9QIR3g9Vjw6b8I2nfozpI 4uP+JYuiBDcjV5e3OQMrBT9dkzYB8Ds8sRzvmKfkGs2B0BxlrzM/CMQzlctyMxJRZpytf1 n3dDKMtYTsiIq8p1IjxANxaXkOa9nqiRxHWYyJQmVaA543hzIV3oViPH3VIYnxLMUXIN8v onmtHAlmJfK57s2uVUSSgmTR8Egu/wmfDZp12h5mG8nRjIO3br1LNar+aL09QEPZfpuK/T CCV59pX0wTSOg4IpIJ7KVkaB/2ax1piupL+q700KI4pdTVCoHOsrXPkz8BCe9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678913225; a=rsa-sha256; cv=none; b=gq4EaY0WJXZyqR/uBfr5ptrHVb0yi4iV75njdsMAnXVb34T9MjI8XS/udfnRpKsfz6GWlU IPRXgn0xZmvyEcyS0Ej4NUpUeWJtE8nmPa1pd0QSVNoamVLgfnnA83WFKRaEs9CIXCuwpf XaOlxdQvdkAttSzS9czKKADRIzIf89CU/ecHU1vfPJ8PJm+52KtKpapd0/ePkl7n2Gxg7x jmVtJW6XBFduVDWDNUuHdI3GSZkKed9qAPkQV5WuBysCETuOr/5PjPX3Py9oX/UNEmNczP a9c+8HdMl0NxTS5qey9raiyAf9k7zqxro6EOR4v1rjGDwc1RIc58Myh5i/XEfA== 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 4PcMrm6QXbzGdQ; Wed, 15 Mar 2023 20:47:04 +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 32FKl4n7051884; Wed, 15 Mar 2023 20:47:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32FKl4Mb051883; Wed, 15 Mar 2023 20:47:04 GMT (envelope-from git) Date: Wed, 15 Mar 2023 20:47:04 GMT Message-Id: <202303152047.32FKl4Mb051883@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: 72d1ee8d6d76 - releng/13.2 - dtrace/powerpc: Adjust AFRAMES for fbt and profile 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: jhibbits X-Git-Repository: src X-Git-Refname: refs/heads/releng/13.2 X-Git-Reftype: branch X-Git-Commit: 72d1ee8d6d76bd7a1e123d354a5fb356e3cc7908 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch releng/13.2 has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=72d1ee8d6d76bd7a1e123d354a5fb356e3cc7908 commit 72d1ee8d6d76bd7a1e123d354a5fb356e3cc7908 Author: Justin Hibbits AuthorDate: 2023-03-11 16:23:38 +0000 Commit: Justin Hibbits CommitDate: 2023-03-15 20:31:32 +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. Approved by: re (cperciva) (cherry picked from commit 635ecbf47015c259226cb47a3de8fc00c9ed5924) (cherry picked from commit 1026d170f4f70cdeb63cd05819c5557041e8ea94) --- 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;