Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4387972imw; Tue, 12 Jul 2022 07:09:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sJNRNnhHLfqirB2nw2aZrVAYyMAgj3YLXeXNHiyilBIjXXRGYVbQStRMdewvK+Oq5emsRs X-Received: by 2002:a17:90a:f8c4:b0:1ef:b67d:f67b with SMTP id l4-20020a17090af8c400b001efb67df67bmr4516061pjd.145.1657634987726; Tue, 12 Jul 2022 07:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657634987; cv=none; d=google.com; s=arc-20160816; b=kk8lqH88rwfPu7YfbwvsO2PXnZPK6N2F5STI+8WwMY1VWzeKQuVvHIPBfydEfp0hJd ECskXzXfoZebjEo7kGWACSlt/nyDUNYtZHrTSyESvrlsu4QZgSGzs3AmyuvYpu2RZX95 EODduZEC6V397Gcr1uPNAK9DZJwG0mWLml2QFN/vzWBUMXPZKw1r8aPupYvspbJrtbJ0 vnA+BS4aY+cJUUvDfnA0JOKqfAHsBRsTq3+yePfo4Dt1Rvn5CCfHnxSXpaXWSIJt/OWB Aaw8Z5Hj2CCfV9ib3GZ7/FNBQKtCHaISiCCfBWRXGRTlrc4afvAIeZR6K8khK/uZhbsF w93Q== 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=H9XIOsitWkZ6d5osKkEac+j860N69P5z2DIxiDMYfmacHeYiH2qptYcspT5hWIQiUw 2LI12/bdymBGdfzB4lsshGcfcz22M6G95z6C4Aw1FXFGDNX3wW8uG8Q1Zf15vkYwdF9c D66hyvJwWE3Liq1X/uXSSu65sOlpwNo9pfMPYF41RJ8hjBQKfZs2uQk8b1IDOloXjJxh wGvSl6FE/+6kYyNJRnh042l7VPrKmBtBz7atoWnTuU8JQjsJvLN3VOeYyF8tWBFOx7Jo zleJMvbPDYj3j7FWQPgJg01IckOKWHrek3K04sfQ3Pwoio3jXz2mpMK4uBQDiaY+KeLn dhyQ== 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 m6-20020a654386000000b00415b439a9d3si12517291pgp.345.2022.07.12.07.09.29; Tue, 12 Jul 2022 07:09:47 -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 S233449AbiGLN6s (ORCPT + 99 others); Tue, 12 Jul 2022 09:58:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233391AbiGLN6a (ORCPT ); Tue, 12 Jul 2022 09:58:30 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 95C1EB7D6D; Tue, 12 Jul 2022 06:58:29 -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 CBA751596; Tue, 12 Jul 2022 06:58:29 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.72.222]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3A6D83F73D; Tue, 12 Jul 2022 06:58:28 -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 05/14] perf test: Add asm pureloop test shell script Date: Tue, 12 Jul 2022 14:57:41 +0100 Message-Id: <20220712135750.2212005-6-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220712135750.2212005-1-carsten.haitzler@foss.arm.com> References: <20220712135750.2212005-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