Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp595641rdb; Tue, 23 Jan 2024 08:45:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPPkGUQhn+/olnheOzw49dVnUqYFK5sGRRCfuhE1sa4M6yGH48YK0g033bJVKSQOYWHO1S X-Received: by 2002:a17:906:55cf:b0:a2f:d3fb:20c4 with SMTP id z15-20020a17090655cf00b00a2fd3fb20c4mr84871ejp.29.1706028315587; Tue, 23 Jan 2024 08:45:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706028315; cv=pass; d=google.com; s=arc-20160816; b=Z4rjNG5u/rLhXpJIMy0wPcBIqzOE1Bjic0ep5BMZm/n7Mu8crpYvBFRDqam9dVOOy9 78Waw4F80vL4Q3ObVSzp5Ga0LcbKwZUfUmxzfnW4j/ADOJbjeG5mCzjxRcSI4sbZ9ECR qg9HYbEDj/TJ2z+UW6MpEl02flH6jPvgk7w9ZCinN86XONIDncroBv47+LsQT1cJ51PB deZcZod0VU9amgcvaneHvPkO9ew7PVxlmzLThIUKtIkFvz4bPqCKJT1PAh7fLXjuZEUE AnTu9YF9TiVYRNiJnAPHVnRnrG06zsys85wP8CMlYTJWwmKGbEw+gu1JDb9EBNpd9SFX 8qlg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=6pFD13w0hO75uev0HRzkwInnQMi2xf3i9GUPRotNu54=; fh=v1bYQAlqHrcwv/IHfMLfiQD7OYx3QkLfHHtnkS3qgvM=; b=HzWr9qJz4o5hAVLoWsZ32Oaw9W0T7p3tNhCkibZtHR5J/EfH3U2rI7oHaw82QcYdY/ cPhWr1slcHExtY4js2iFXC7NPQmcDRf/g0D7LLVgReWe4RS4lFAAN7WK6s3ftNmggGqy fnYrvxfSEJyTj6bYMDQVwBGDCXYo3M57yfStf1+1Z3Sd3kMylhPx9G0Rr/HUsYPSpb3f b/EAmTiOdMlTsTK7zr4yEOCSVFw312zTZpt/61JfpAYEg2alfqo7RCITPLRnc4Jh0XOd NtJGmVp8pQl3BeOt7NlD/NbVPjTk7Ca2T5PxAZbqBJALT9iV0NfKYWddYzwMrfazGmnM P+ew== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-35683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id m14-20020a1709061ece00b00a2e92042f51si7363928ejj.247.2024.01.23.08.45.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 08:45:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-35683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-35683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-35683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 59F5C1F2E004 for ; Tue, 23 Jan 2024 16:45:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7CD23811F7; Tue, 23 Jan 2024 16:39:21 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35F32811E2; Tue, 23 Jan 2024 16:39:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706027961; cv=none; b=JZOIdzk5i12qERiZG5ymHKFb4XexuJrQq9NcFCAmQ1etRo6IpyD6jWaS0G795gBjfl1oYlBp/nUpLmfWZPV0ApsNpcVThoeWFFuuDefeL9g2kHhUTWlmHgCxhAd3sDBUTZZ8Q5FF9Afky0Yg1JmcEJNAdvqfJgJPpxLVh0uCTiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706027961; c=relaxed/simple; bh=gXfhJCgLJhn8evK5zGZ/NOEXFQLLLjnuSt5Xs2hv2sg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=giX+dM011lhimwojUhF2jq5mKdLdlDaDvwn5n0DJ6mc/j7tXgFHDhAXPEIV0kniVQXlnefpe0ku6pQqFBLHzo4MZA1cn/72c1KgXEiCoOqw1n2KjV8ChRMiafVryUi1QcRrgKv8v/DJxheX4wv/yR7EBNWqZk75ybYfn1FwLNb8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C9641106F; Tue, 23 Jan 2024 08:40:03 -0800 (PST) Received: from e127643.broadband (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 70BEF3F5A1; Tue, 23 Jan 2024 08:39:16 -0800 (PST) From: James Clark To: linux-perf-users@vger.kernel.org, irogers@google.com Cc: James Clark , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kajol Jain , Spoorthy S , linux-kernel@vger.kernel.org Subject: [PATCH 2/2] perf test: Skip test_arm_callgraph_fp.sh if unwinding isn't built in Date: Tue, 23 Jan 2024 16:39:02 +0000 Message-Id: <20240123163903.350306-3-james.clark@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240123163903.350306-1-james.clark@arm.com> References: <20240123163903.350306-1-james.clark@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Even though this is a frame pointer unwind test, it's testing that a frame pointer stack can be augmented correctly with a partial Dwarf unwind. So add a feature check so that this test skips instead of fails if Dwarf unwinding isn't present. Signed-off-by: James Clark --- tools/perf/tests/shell/test_arm_callgraph_fp.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/perf/tests/shell/test_arm_callgraph_fp.sh b/tools/perf/tests/shell/test_arm_callgraph_fp.sh index e342e6c8aa50..83b53591b1ea 100755 --- a/tools/perf/tests/shell/test_arm_callgraph_fp.sh +++ b/tools/perf/tests/shell/test_arm_callgraph_fp.sh @@ -8,6 +8,12 @@ shelldir=$(dirname "$0") lscpu | grep -q "aarch64" || exit 2 +if perf version --build-options | grep HAVE_DWARF_UNWIND_SUPPORT | grep -q OFF +then + echo "Skipping, no dwarf unwind support" + exit 2 +fi + skip_test_missing_symbol leafloop PERF_DATA=$(mktemp /tmp/__perf_test.perf.data.XXXXX) -- 2.34.1