Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1653227rwb; Fri, 12 Aug 2022 04:54:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7sq9Z4RCgeCoF+/B2F/XhXKs9Ap609X+EhN4w6gKwMNjs5QUclRnflE2AkSrvI2xCehcyB X-Received: by 2002:a17:907:97c1:b0:733:19ef:b2b with SMTP id js1-20020a17090797c100b0073319ef0b2bmr2392323ejc.511.1660305249403; Fri, 12 Aug 2022 04:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660305249; cv=none; d=google.com; s=arc-20160816; b=0Qgfl5bMuTLrRkMYXMX8TgVUbYUpNtKLLMxGg7BheEQ6etqTzbDnPbBViATFVM2lWJ 0Hx37dsdb1ktIjCX9PnySHUx/oIwe12wquEDxJ4umO8DITMCnfta0Vc1driOeu1xCK8d RuKVPiLAflpwJcbWvysx4jJQ8Pbpd8sm0UQAe0uan/baLLcZk6ZCvvj+/DLDtRN/eowP eha4XMaETAYAEDLKq25IvN4raDl7dcd1yC+O8I8D/1qOWiEJhdYcKPvFdccwwbLT54XT gw3uQ/8+GBmtePJjzJVzz1DfqtZ7PA+q7fBkmHU4eEguafh4xvrgozr5wTgzhxcKof4O 9Fow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=glnRVJNa6h1XTgwpA8srqtXA/NEOnPsahep27C/14Cc=; b=ugoOWOFCwjuHAD/1oPKQPxrE/dsQ1jRDOFPGaeNd+G3u9ffihEQwwFvbE0Ir+7SCfe STh1iFGcmx63DWbWFdM4+7r+XBqhce8Teucy3j4uoTNabIuqC85Zzj68c1WjhYR6G26t or0tLuSn4X6enWoiamUEabut2dQDd3p14B2mcD3IA6n9urpfWRBWNBGPrb4YVQ995JNA v9jUxumDFffzMZuOqBVUZSzIsBLTEUSbvjrxmmWdSE4624dJqzVSWPU9oIoEMTMRR3ZG Au/cu5L9qWow2oa+yZ/tXgYWJTGMsH92fvu/kSzKTD7BLEKH/lxWeNdnnKivhUZQPaag uN2Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cy6-20020a0564021c8600b0043d4f544304si1570885edb.342.2022.08.12.04.53.42; Fri, 12 Aug 2022 04:54:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238028AbiHLLm7 (ORCPT + 99 others); Fri, 12 Aug 2022 07:42:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237695AbiHLLmn (ORCPT ); Fri, 12 Aug 2022 07:42:43 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8011DAE9E4; Fri, 12 Aug 2022 04:42:42 -0700 (PDT) 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 19156113E; Fri, 12 Aug 2022 04:42:43 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.42.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1CCE73F70D; Fri, 12 Aug 2022 04:42:40 -0700 (PDT) From: carsten.haitzler@foss.arm.com To: linux-kernel@vger.kernel.org Cc: coresight@lists.linaro.org, suzuki.poulose@arm.com, mathieu.poirier@linaro.org, mike.leach@linaro.org, leo.yan@linaro.org, linux-perf-users@vger.kernel.org, acme@kernel.org Subject: [PATCH v6 05/14] perf test: Add asm pureloop test shell script Date: Fri, 12 Aug 2022 12:42:09 +0100 Message-Id: <20220812114218.323052-6-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812114218.323052-1-carsten.haitzler@foss.arm.com> References: <20220812114218.323052-1-carsten.haitzler@foss.arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Carsten Haitzler (Rasterman)" Add a script to drive the asm pureloop test for arm64/CoreSight that gathers data so it passes a minimum bar for amount and quality of content that we extract from the kernel's perf support. Signed-off-by: Carsten Haitzler --- .../tests/shell/coresight/asm_pure_loop.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/perf/tests/shell/coresight/asm_pure_loop.sh diff --git a/tools/perf/tests/shell/coresight/asm_pure_loop.sh b/tools/perf/tests/shell/coresight/asm_pure_loop.sh new file mode 100755 index 000000000000..569e9d46162b --- /dev/null +++ b/tools/perf/tests/shell/coresight/asm_pure_loop.sh @@ -0,0 +1,18 @@ +#!/bin/sh -e +# CoreSight / ASM Pure Loop + +# SPDX-License-Identifier: GPL-2.0 +# Carsten Haitzler , 2021 + +TEST="asm_pure_loop" +. $(dirname $0)/../lib/coresight.sh +ARGS="" +DATV="out" +DATA="$DATD/perf-$TEST-$DATV.data" + +perf record $PERFRECOPT -o "$DATA" "$BIN" $ARGS + +perf_dump_aux_verify "$DATA" 10 10 10 + +err=$? +exit $err -- 2.32.0