Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp535429imn; Thu, 28 Jul 2022 08:11:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ulqAJUFeKRrOpJhWamhmBRXTBFgWOz+aS0RFHUbPTTdH4yhmxjNQYHq4dSH5uqWGaHhCQj X-Received: by 2002:a17:902:ecc2:b0:16d:66eb:bb65 with SMTP id a2-20020a170902ecc200b0016d66ebbb65mr23027167plh.97.1659021064609; Thu, 28 Jul 2022 08:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659021064; cv=none; d=google.com; s=arc-20160816; b=Zb9oeg/56po6A2FGJAOm8ajjmM8Gp9rjQVQrzJDWIeQPri1HPQ8EDeuSNgmEXMxBVV hg1jWyWYMmmTLe15vW0DDOVzuCrEUkaZqyzwmWvOahLaJ/Iz2QHzdV7UeRcl/H+XWiYe b/Tixtr5MzayUZcLJ7Gp8Xw1OpLljUPhgvGtQPsA1YSwoMVgJm5zVGI3YsK94/CtbBBl zJcAuCSpyTfpwEMzLSLcKBu1rhoXRNj8Aq/8urH5KTC4FPnwW+nXo2vDXrOnfI2JMAcP 0QBWQ3NgyFIA9uUN1GjjoCzSlGt/T2+lQLqOp+ybfpgJwYgoy8wuZaxVtXhFASvpapRl QOFA== 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=Gc3SRu/cC6I1LODEH3B/u36yTygGp9MHbha+e4tj+mHJdouIbYFUTMc9zHZrSK9mwa xsxTg+Lam5wFr/SP4Ra793Pi5P30CaGPQczeG7TpJlaKd6w9sTBmzqlctm5xC1G4V4/D +CEVkda+IwT1W3LUpA4rqCyj1eXtdmunAkblMDdmgwp7c/z/1GT5Kycwkv7CMzLb3Sfz LA37xVtDGxyGOqtTtzTJwhhxnknKryomp57iXaTMqcz3gmt7cNBVucbKLRMzFUFCHOBg dioDKMxQpV8XnJvDdbJOxLt/QgWT5a3N5geQwtWAs2guHb3Yxy6WHNVPSiV9RqfqqgfO iRag== 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 t19-20020a656093000000b0040de29fae99si1253263pgu.540.2022.07.28.08.10.47; Thu, 28 Jul 2022 08:11:04 -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 S233305AbiG1Oyt (ORCPT + 99 others); Thu, 28 Jul 2022 10:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231724AbiG1OyP (ORCPT ); Thu, 28 Jul 2022 10:54:15 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C6FED6BC39; Thu, 28 Jul 2022 07:53:37 -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 13045169C; Thu, 28 Jul 2022 07:53:33 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.11.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3AA183F70D; Thu, 28 Jul 2022 07:53:31 -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 v5 12/14] perf test: Add unroll thread test shell script Date: Thu, 28 Jul 2022 15:52:54 +0100 Message-Id: <20220728145256.2985298-13-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220728145256.2985298-1-carsten.haitzler@foss.arm.com> References: <20220728145256.2985298-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 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