Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4390217imw; Tue, 12 Jul 2022 07:11:49 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tzNn9fGpmLESb09nW+8AiyPXCvtPHYW6DGIFmeEov2plfAZIkI8pdGEWh5WSMTX5ocX5Ar X-Received: by 2002:a05:6402:950:b0:43a:5194:174c with SMTP id h16-20020a056402095000b0043a5194174cmr32697728edz.145.1657635109309; Tue, 12 Jul 2022 07:11:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657635109; cv=none; d=google.com; s=arc-20160816; b=DC0qdIXmNNjI4K14rDuut3+TgSUv8PdP7PDbFS+V/bYkFhHD08RC9uFXPiNokypsf+ a5cr2Gp2i4q3L22EjhoFsp8UJJNTngSjNZVEdfciIk2J1MkAZZp8Jf0ljRmVAJmvJ6A9 YYbIeVJO0J+DvkwshlbzCW6DAP8n6ofmtfBQn4bRrxwQay6BiSxS9LNQ6ns8PprWqJne kiNd0nQ9D7dKlPB2Xbej2gE6zCQNhtwGH1OZUT/NFcjLQHTBGp+U4zlcqwmkxOcvL97B zvacJQhwVf7m7judpZC75CuLnMs/RstBJuBSOyK87sCBykd5EpC9/qhcGAi5ExDZlm5k nMqQ== 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=UBABrLMhdsMV65e1rSn/lWUQ+Ij7fm3Yx3GMWOGNFA0=; b=zQGP15eOSGBCRccWLEysQWjQj84RHK6W/wYTjrDjV9EQN+jRfQ+VKglgJyrmTpLm0W WeCjLkw0XVTvqf0UfPpavWTPr+v2s53UxA7crBQS8B5m/LPEx9gSyUmqDxgV6CS4tCYI QTIyHpePYk4TAtCwObRqtqC2Tm9Mj14OuQt+CzBRAo7cQgIDPer7kp87tnEnNKCJWVV5 DacX9YlhcJa8li8xQTGWE0GLlgkisGKEgfGZOdGH+T0X9kYxhaGe0ZME2mQ4I4MPBg+Q yOieff8DQyu9GJgHPsPWi7obYza6h9Xa3uiMVL7biV+xo4muGqt0ktq/kr2+yUqE2WYf owSQ== 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 w17-20020a170906385100b0072a84044156si12896455ejc.849.2022.07.12.07.11.21; Tue, 12 Jul 2022 07:11:49 -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 S229970AbiGLN7R (ORCPT + 99 others); Tue, 12 Jul 2022 09:59:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233485AbiGLN66 (ORCPT ); Tue, 12 Jul 2022 09:58:58 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E9E93BE30; Tue, 12 Jul 2022 06:58:39 -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 9499C1AC1; Tue, 12 Jul 2022 06:58:39 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.72.222]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 051763F73D; Tue, 12 Jul 2022 06:58:37 -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 12/14] perf test: Add unroll thread test shell script Date: Tue, 12 Jul 2022 14:57:48 +0100 Message-Id: <20220712135750.2212005-13-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)" This adds scripts to drive the unroll thread tests to compare perf output against a minimum bar of content/quality. Signed-off-by: Carsten Haitzler --- .../shell/coresight/unroll_loop_thread_10.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh diff --git a/tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh b/tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh new file mode 100755 index 000000000000..f48c85230b15 --- /dev/null +++ b/tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh @@ -0,0 +1,18 @@ +#!/bin/sh -e +# CoreSight / Unroll Loop Thread 10 + +# SPDX-License-Identifier: GPL-2.0 +# Carsten Haitzler , 2021 + +TEST="unroll_loop_thread" +. $(dirname $0)/../lib/coresight.sh +ARGS="10" +DATV="10" +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