Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp536713imn; Thu, 28 Jul 2022 08:12:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1syadm5yGDV2VD515+6uKV+h5WhhApApbvpRHbvvKMdBwPIHEgYZ41s6G+hwSqx5qcpSzkT X-Received: by 2002:a17:902:ce84:b0:16d:9a19:570c with SMTP id f4-20020a170902ce8400b0016d9a19570cmr14155338plg.132.1659021177598; Thu, 28 Jul 2022 08:12:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659021177; cv=none; d=google.com; s=arc-20160816; b=Y8X5RN3Qyhw6xgmb2PXpMmLIQqdaCUO3jRX2pfm1VRfycv8n3nprlRkYiIgq9PJYa5 il/lAFUTq+Q251FpTlsBx+wJBOXoPnch87H6elf6/5oDTEllpfoAiQbDBuGwQ/ycxrBD 8H2cCm/+mWM87IszuP95Nw5K5XshGiS0g1NAEv4Bnj8ZknJ20aHZexC76EI3ecvtPNa+ yj9n74AZgewdY6kRBYb++lcJl8CtXYkJ+Y/aubb/AkYt4TfXnNHbjuHnn38CTP19kbex xRp55DmBA2x+L9OpgNm9/94dwArFPWVldO4wLZMh1KqogxeIqEUL5WuDds5yhkxuIp8l rfQA== 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=MIu0VJfwWAEjiGbbDwsOu0RB1+g9arjagB2aMDsFKgcHARdKjv73HqcRokvKYQvKQV vThr4o1xQthvpq56xtuC7uR4pSwXyO0PXYAeOp2+ls1/kFzupoNDW/bqA4liq2PQ8NEr 2fWDOFwhv/ONFol4KstZud0GU+Z1U9+VU337bfd8sRRXGZ5DsOcVyaNyujCzvcbxkDx3 Xhkw0/mjOyiL4kEMI5j3n/Of3sy6CNLBzUa/tC6X0fqGOEVRGqcCqce05wy1IGbhd7Oy 6waFjcy6ztnTZBJLx9JSLRIm0x1+V5dKiHuxyVolwo6bqyKWDfBSnO/+qQ4emTGUXWj2 KGjA== 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 j2-20020a170902da8200b0016bec53a672si1441536plx.477.2022.07.28.08.12.41; Thu, 28 Jul 2022 08:12:57 -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 S233523AbiG1Oy1 (ORCPT + 99 others); Thu, 28 Jul 2022 10:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232867AbiG1Oxw (ORCPT ); Thu, 28 Jul 2022 10:53:52 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CE5CD6A9F0; Thu, 28 Jul 2022 07:53:26 -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 32D47113E; Thu, 28 Jul 2022 07:53:27 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.11.24]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5B3313F70D; Thu, 28 Jul 2022 07:53:25 -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 08/14] perf test: Add memcpy thread test shell script Date: Thu, 28 Jul 2022 15:52:50 +0100 Message-Id: <20220728145256.2985298-9-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)" 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