Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2168273rwn; Fri, 9 Sep 2022 09:24:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ciUJMRwZLnhx+36HZw1qic/SyHzyLGsqAZAESMOqrL9pH7rkKaxC7Pe/hiAhbuw6UnGfK X-Received: by 2002:a17:907:80d:b0:73d:1e3f:3d83 with SMTP id wv13-20020a170907080d00b0073d1e3f3d83mr10094843ejb.372.1662740699593; Fri, 09 Sep 2022 09:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662740699; cv=none; d=google.com; s=arc-20160816; b=d2QGfKnCHpI/utQY+ziGxFwOFPfPoUafbEnL3iGpnMMCtNaK6oTJoF1+jkyHqIT1gc aFPpaHwqJ2/Kyqv1eA5Qn+XpePA9ab9iIRd98vJgN1PvUwgvuDYEefI4RqiHv3QxnKor f3IwnN2DH9wpM9/Q7dhPE0IWkdm3dMHvRynYtZ6bw7SsDjS5JNSueZvMfjE180SDxgAE mFF2g6iEPLakG9cTSpoj/FI4VYWUqp3kPCV3aeGkb29xOQJ7GNQ44qMzgv7jMjLx4+p/ LmzyCXx7zmlLqLvaf/wfyMOuyzFeLRf0SaMT1xoPI/PP4z57zzomF6Y1116e+npOBf8G Cr/A== 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=yaBCQLDhfIuVhRSE4xABIxOYtGI4UbidxQw1g4ALhyUUZyGBhGu0wlYe1HzzaiL3p5 VvHXyzcxxaf1RPu+5hVQFsZlcfQ6cLvvQ5alvzk1QlX937Ja+N6WX3pGoPU21d/3hNPR CsfynRYS6GFu858GbatrK8TZnFui36Bg8xLvMySg6BI8a2DlOzLIahRfFqDaAOYKnE/Y 0q7EgL94CLq3VCPrn3U2DdrxwNigragasHzrDoPtkKV9k4T/Q9r8gWhLiz0W1YgDRrk1 +roUZX3/UMIxpw095bboI0EHtwWFSFmNra8kDWAM5+Ju3Q3ZTGNEXbF8FKt6R+4EOU9S g4WA== 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 z15-20020a05640240cf00b00447eb58b921si992965edb.38.2022.09.09.09.24.23; Fri, 09 Sep 2022 09:24:59 -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 S232358AbiIIPdE (ORCPT + 99 others); Fri, 9 Sep 2022 11:33:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232003AbiIIPcg (ORCPT ); Fri, 9 Sep 2022 11:32:36 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3280043E70; Fri, 9 Sep 2022 08:32:22 -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 3FC85169E; Fri, 9 Sep 2022 08:28:44 -0700 (PDT) Received: from e126387.arm.com (unknown [10.57.17.154]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 89A413F73D; Fri, 9 Sep 2022 08:28:36 -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 v9 07/13] perf test: Add memcpy thread test shell script Date: Fri, 9 Sep 2022 16:27:57 +0100 Message-Id: <20220909152803.2317006-8-carsten.haitzler@foss.arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220909152803.2317006-1-carsten.haitzler@foss.arm.com> References: <20220909152803.2317006-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