Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1210593imi; Fri, 1 Jul 2022 05:29:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uCKaa4jG3W0dPTyWSTIUEBaCSyjZmMEfj4PCixCCirV/2w0QMnJuh+5h8xMx9w7/Ia7SPS X-Received: by 2002:a17:906:4fd3:b0:726:2b29:9fb with SMTP id i19-20020a1709064fd300b007262b2909fbmr13860100ejw.370.1656678566807; Fri, 01 Jul 2022 05:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656678566; cv=none; d=google.com; s=arc-20160816; b=nWAx7MNQNh5lbJmNFyGImSCeheS8sH0zpweYBgwjebEm0zo+n/qyW4PztcoB/nflSD 8lkSdPxp6YupBPVEAIhc+Iz7UJQZMdpaWbfIdlX3LpS2KhbJ7F0BNk0M2AU+o3Yh/Vdb SqwDLvZAKYDmJZ/3S8auxFRdZnTmxtWKaxr29/6WKUZaynKNzx8JcqnnCF/Bt1skS+VS j3WseNjMxy7UGZyEOKAex+AhDp2TmbqHS5A5Lp0cIZvBokcSZtBL34aiDawncUFeIwaV 0KnDaHZ4Gy5z1csYbNUkSjMLFZaLcRW4H4WvZL0s53EgQNVP2YOoScp5LSNkT0jR6ynA 9pqQ== 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:reply-to :references:in-reply-to:message-id:date:subject:cc:to:from; bh=8aNJiTWVpEbhWTECWHYBosvzTftYyuntr921z/75dgc=; b=iTfIUrOSR1tD/5q57vg6Wn5SuQv4fBco1xtlN8hKZN4Kv/+rDqESRgHynk2oI+pcXG KMwjvbVwkIiXdpamvRXlq4JNIZpLq/VPOEbBtlC6kN/fk2ZYmfRZBtVqPgyqiLGu7HZM s6ITUk2i7TLIXtjqToZlzN4l/4nObuzzaCBYMCJiS0pJggs2nAFGgCvyhiyG7KjitOfx Fn5D+ISCrlV2hli4bk5bSmyG4D4KIBgd/2eCWP7NrDCbLvlnHcENiYRG3j+2JBbnrWvq C9O/922wLiF4yfn1do5hwmB5OksS+BWINEUI+J306JT5xUgyDfXTmA4SrETy4wwjF9t1 L6+g== 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 a23-20020a50c317000000b0043964c389e5si4402088edb.506.2022.07.01.05.29.02; Fri, 01 Jul 2022 05:29:26 -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 S236820AbiGAMJc (ORCPT + 99 others); Fri, 1 Jul 2022 08:09:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236631AbiGAMJL (ORCPT ); Fri, 1 Jul 2022 08:09:11 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E411C3CA6A; Fri, 1 Jul 2022 05:09: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 011A5113E; Fri, 1 Jul 2022 05:09:11 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.71.134]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 894633F792; Fri, 1 Jul 2022 05:09: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 08/14] perf test: Add memcpy thread test shell script Date: Fri, 1 Jul 2022 13:07:57 +0100 Message-Id: <20220701120804.3226396-9-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220701120804.3226396-1-carsten.haitzler@foss.arm.com> References: <20220701120804.3226396-1-carsten.haitzler@foss.arm.com> Reply-To: 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 threaded memcpy test 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 --- .../shell/coresight/memcpy_thread_16k_10.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh diff --git a/tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh b/tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh new file mode 100755 index 000000000000..d21ba8545938 --- /dev/null +++ b/tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh @@ -0,0 +1,18 @@ +#!/bin/sh -e +# CoreSight / Memcpy 16k 10 Threads + +# SPDX-License-Identifier: GPL-2.0 +# Carsten Haitzler , 2021 + +TEST="memcpy_thread" +. $(dirname $0)/../lib/coresight.sh +ARGS="16 10 1" +DATV="16k_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