From nobody Sat Mar 11 16:43:25 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 4PYpdV0wqpz3xq4r; Sat, 11 Mar 2023 16:43:26 +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 4PYpdT6vl9z3R22; Sat, 11 Mar 2023 16:43:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678553006; 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=Z/054ed6YI1uQObF5dnTUc6QqvYqOTymlVAxGGtJGw4=; b=xJVU0QwNO8YLxVECJHhVOOR+5NeV4h9etVOThyV8kzRFhpPInjaczwOUgnd/v72aLHLAFt 8wXlYVdfcJ73RlwzzyX7/T4Zg93icVQtV101qJhomqjAd4T2AzRRUg1KHMbFk6+m0V3hqD nskNNRguHjq+5GqnBr9P5CwgzprDXnjgWrHUs5sCN37GrOKk4PTbyA53muuiinAZvnYKqV 2S4ylS9+yttaPxKy1CNMfxMSUnbsqOwr9KBLuj9T88E68j8zeGCrf0IKL9WEtYRvqZEvs+ oFEqv9O5sBHaYumxtoSi7YfniXi1JEGk6oChx/mA/7DJxL9i5rSfDneL4BCA6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678553006; 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=Z/054ed6YI1uQObF5dnTUc6QqvYqOTymlVAxGGtJGw4=; b=mgArgKEA9JKSw3lHV1rsZF6Yg81aDv9DAU6k+3j/LDVrBZ6F2EZFe1jeXpaNsTNE8vgjau szf8/HdhSHG4z/EVGO2NW4+xY1ofKjtpSBX+e9f2+H7hU2BF8YJE5QP+HFbrgVEPfbQIiQ ebkEhLmwdl2zu3mgb1+so9OsXQzMLN4DUOZTVAOcTfWZU50jHDb8TBoUGADqZRAUEi6lem jwnESPzYTKIRlnftoGlUeYYk6Vg+NeZ1wQpz+vt6HxdUdTJXHAniFjWRmkqFZTUu7UK/1k K5IF1mfNSU7X4cB2W3NECTVT7Oyyv7haq6DbV+EqvU1k20pjYb5iBFyBFqPgbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678553006; a=rsa-sha256; cv=none; b=G4PaRIfhR5j8KgeJWVCyo2XzYA8V9OzB79ERkkoBCsAXt66hS9Jogd2JjXy6WJoeWocf01 vhsJbKuVLJyAj4Ih/mVEEyUtUWcycN/bwIjObNoMnXZ5LCUpnUfimcsggCAJfEiKDxX1ve Bk2sUi+sr3rY/bipmLNa0N82W4ELL2Q5Ezt/Nz/lDmgruM6n6ZlUAh8mcC0wo/+I/nmB1w /lcx92RRbJ7ivSngupmpcMKJalGQ6z12WbkZV05HYTYDftW6+GUldKIDNA9ZIksDe+ufJo NRekO83tGHUxctleJr1XGx6or73GbSJ65JYRO8VB5uIR7dds6+I3yBd56lczMA== 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 4PYpdT60GVzcvv; Sat, 11 Mar 2023 16:43:25 +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 32BGhPjE087324; Sat, 11 Mar 2023 16:43:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32BGhPFN087323; Sat, 11 Mar 2023 16:43:25 GMT (envelope-from git) Date: Sat, 11 Mar 2023 16:43:25 GMT Message-Id: <202303111643.32BGhPFN087323@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Justin Hibbits Subject: git: 635ecbf47015 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 635ecbf47015c259226cb47a3de8fc00c9ed5924 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=635ecbf47015c259226cb47a3de8fc00c9ed5924 commit 635ecbf47015c259226cb47a3de8fc00c9ed5924 Author: Justin Hibbits AuthorDate: 2023-03-11 16:23:38 +0000 Commit: Justin Hibbits CommitDate: 2023-03-11 16:35:27 +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. --- 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 57793d116283..439a62f4b9da 100644 --- a/sys/cddl/dev/profile/profile.c +++ b/sys/cddl/dev/profile/profile.c @@ -101,7 +101,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;