Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1648034rwb; Fri, 12 Aug 2022 04:47:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR7k+fuJfA812l/9LYM93H/UjCeJC0s0SyR5/OBdS9SOrEmLuY0lVkw67jlLVfZEJFe78A61 X-Received: by 2002:aa7:d8c6:0:b0:43d:b0a1:5266 with SMTP id k6-20020aa7d8c6000000b0043db0a15266mr3257148eds.164.1660304875134; Fri, 12 Aug 2022 04:47:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660304875; cv=none; d=google.com; s=arc-20160816; b=nG0cqvoSrXkD5vOR3lRfkh1PhpV4wUoOGFajmxbtA1VXVrLJXE8VegXAj+G61fVc/h bOL3fuiJi3WdTPCjd8PJ7ORZyLEr0HiIW3ZMtxPJwVK4JTfEg1MfgFPqCFeXhXnO30po R+A7DFkWkQ6SOw91WqBSlYXKTnipZHgdnx03h4uOjg5qWiQEzxY0yEDm7o1spb5W+dcY B0G6bdFW642QQU4zl8o7YWiGHF13DgqLRBVfN2z9PfLXzCJKzA4M0yL/uyzjr30/qdRg 5zsJgsdY+mCSnc9NIlwOO0K67dbSVs2gPLiI6oHr3zyd6oeUYUrf+TdZMMw/SmqMbdI6 XhDQ== 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=8aNJiTWVpEbhWTECWHYBosvzTftYyuntr921z/75dgc=; b=XC+OWKatahrbz6tU3Zuy5ssMwYXMqNenL/3jpN61TP8Z4P0sB1DJunWYUd4zyV0PHU e2cPdu6EnChxFXgTFe7hYzdfn6m9BlqlwoXvNSRrmwuYkWdAd2Qea5fiBr7DhQ79DekW sn0L1KIiROpsoWtWeKDuoArk/gU28S7KpdAcqbkj+uHBbnRtq4A+p9z8jw1CFZY8l5N9 DICneTX56jwFYYrw6KKfjClk9kwhxjTVgxlNEVGvJgFWBWAX3IEf2Pz9CAdtxWNqe5A6 koG90EepLsBxSkq4IYR2+LZrciblpWhR94d22oHvye1qBCdohzZ7Y8RvqRcAKSE6msk5 +qmQ== 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 x25-20020a50d619000000b0044300fd7587si1813030edi.364.2022.08.12.04.47.28; Fri, 12 Aug 2022 04:47:55 -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 S238042AbiHLLnL (ORCPT + 99 others); Fri, 12 Aug 2022 07:43:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237834AbiHLLmu (ORCPT ); Fri, 12 Aug 2022 07:42:50 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE8B1AF0C9; Fri, 12 Aug 2022 04:42:46 -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 67BDB106F; Fri, 12 Aug 2022 04:42:47 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.42.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6BFD83F70D; Fri, 12 Aug 2022 04:42:45 -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 v6 08/14] perf test: Add memcpy thread test shell script Date: Fri, 12 Aug 2022 12:42:12 +0100 Message-Id: <20220812114218.323052-9-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812114218.323052-1-carsten.haitzler@foss.arm.com> References: <20220812114218.323052-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 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