Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4177539rwb; Tue, 6 Sep 2022 03:55:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/wkASnDkdcnLIvO1Awr0rvp/3UT1m7zqu1X5bN2oZzLUUuFevVdN+/zvycXdfLtSyvXcr X-Received: by 2002:a05:6a00:10c2:b0:4f7:5af4:47b6 with SMTP id d2-20020a056a0010c200b004f75af447b6mr55066773pfu.6.1662461746367; Tue, 06 Sep 2022 03:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662461746; cv=none; d=google.com; s=arc-20160816; b=i86LS7QKf7FzK84rGSW3tVJMUid02iJfwPBVhgNbouSuyRXx9PB2fM6bJLUYkasmm5 3OkJ88XZYkKfzKjmBHIiw28vmTfjtODryE20oIltX6842N/6DJKKFJt/rmbc3ppPIEtr +URFMJVFDXyyHfncWsvIEvlO0iMXlr55vxANO52O3U4XO5Ls6NU/j9O64hvMwrSItlR8 9Uk2OqZQY0gYW3Botgf/jJouzMRxhebixmP5kjJ3j8BJL3TTfcQNUNuTaxz0OICCd0vC 9r7ZgxHBoCGbzOx9qRf2N6QFrA4xrPN1ZvRKFHrYgEU7lwzKMYbjMSIRH4HG8A6ZhPu5 o7lQ== 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=Y5rrh4gPFOaknxpomSIhdz+Z0+f95dSZnJVDZkBi9XA=; b=Ni1nNPVzRzYsqCGNIlucZ9sVizhW9IGXNXXOaz7aGlCyZkHfU4G8a3oxIEXmV8WU6g ZZgQ7DvN4x5tKkIq/xRs5r4iQ8N26GZDcFJQ+ACXuYwKACunY/NY8hhpew+LIPqcWIhS xOrUgmmZ05+V8qsWa/EbkmpvKbTHTq4LAAu51vTJQtu34w77sj+kihcf9rxTsEhNXkpT GKgSTzYEupHa8Xu+HTue5TnJMrj6T7OPZwLh4mraqIB86oaeTwA37lN5jgTX9K7i0/Kz jIdwfU1uVNQs/VKr2Gm9beASwSGnMb7gTPalU0F93j5ptNe+XiaNCDxXkKsAPBbI97tn JnSA== 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 me2-20020a17090b17c200b001fad86fc6a3si20021583pjb.159.2022.09.06.03.55.33; Tue, 06 Sep 2022 03:55:46 -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 S239724AbiIFKq6 (ORCPT + 99 others); Tue, 6 Sep 2022 06:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239810AbiIFKqY (ORCPT ); Tue, 6 Sep 2022 06:46:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A6ECB6E2FB; Tue, 6 Sep 2022 03:45:20 -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 C699B1A32; Tue, 6 Sep 2022 03:44:05 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.15.16]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5376F3F534; Tue, 6 Sep 2022 03:43:58 -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 v8 07/13] perf test: Add memcpy thread test shell script Date: Tue, 6 Sep 2022 11:30:38 +0100 Message-Id: <20220906103044.761250-8-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220906103044.761250-1-carsten.haitzler@foss.arm.com> References: <20220906103044.761250-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 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