Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1691251rwb; Fri, 12 Aug 2022 05:28:12 -0700 (PDT) X-Google-Smtp-Source: AA6agR642AcDCJXQsu9BEEex6d5cbItyLbtepRs5etR/yUurtrDvY40+XqcpzrCQoTCSVWyULAUo X-Received: by 2002:a63:81c6:0:b0:41d:3d13:67fb with SMTP id t189-20020a6381c6000000b0041d3d1367fbmr2845592pgd.164.1660307292023; Fri, 12 Aug 2022 05:28:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660307292; cv=none; d=google.com; s=arc-20160816; b=mDmYYQ5EvkAyotQxKv29+jZcBzDTWnGP4Opot2hDQvDeTafg4SQxZDNiNKBGp/FF8p M1Xh3NRRUuLNQFDffla40xHblL0L46PXQLZAU6MdRG/u717uP0kRX4cG04iGyFeRTkTC AMd9uIaPs8LNu3cqb/5UhOEqa4tmT869ajF+kz+GCWvtDCh63VmCuWd4kl49wfKa9pox gCXemnbmVZB8wCxuh3HJCD6gAkBjhwzaFxS+L8TpbsnpNFfPwLa+EfHwvP698uiz071T kA4wXRiG09E9x1hxxDyudpi/0EtXy8uhF58NaQoTGgMDu2K25dGMJ901dhkOP7uX/sSm NUGA== 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=GSrATGMsJYyYIzALDu1iB3u5qsCl6j5dpyGwLeDNeZ0=; b=FMVzA8en2h+vGMMFOeoJITb2eGpyJKosIp0wowA5DG0im94SABISZbP3bEeZS9dy6L oYXTSOcTRDi8uubmz8kT6mjV+P3lek7D1dCT2p1es8gsfG2qVrJiiOIn/GUZVbJn8QgP l/ktOIdf3jvhS5m3OyNA9QBfRNgQkxY6IXPw6jSNX3znZEIh6qa3civnQG+O6z4XA1yS 748HmeqDHWreEWN9kIlbvLDAxoZuVDL7zoNFP9CCZ0erdZpqcM3lukFR+hV/VuXn2y5N QC7oHlaMeFjtJsc0rIiiGUk4cPOM65Ul3+NJLHTdVnDtTJ/P5YggFZi6CxqENYjYQnp0 vVwQ== 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-20020a170902db0600b0016cae200f99si2509348plx.330.2022.08.12.05.27.58; Fri, 12 Aug 2022 05:28:12 -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 S238675AbiHLMRf (ORCPT + 99 others); Fri, 12 Aug 2022 08:17:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238734AbiHLMRN (ORCPT ); Fri, 12 Aug 2022 08:17:13 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A6D22B08A3; Fri, 12 Aug 2022 05:17:10 -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 3F53D16F2; Fri, 12 Aug 2022 05:17:11 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.42.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3FB6E3F70D; Fri, 12 Aug 2022 05:17:09 -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 v7 12/14] perf test: Add unroll thread test shell script Date: Fri, 12 Aug 2022 13:16:39 +0100 Message-Id: <20220812121641.336465-13-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812121641.336465-1-carsten.haitzler@foss.arm.com> References: <20220812121641.336465-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 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