From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB2A2C433FE for ; Mon, 23 May 2022 14:50:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237412AbiEWOuJ (ORCPT ); Mon, 23 May 2022 10:50:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237380AbiEWOuD (ORCPT ); Mon, 23 May 2022 10:50:03 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 132FD58E62; Mon, 23 May 2022 07:50:03 -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 C795E139F; Mon, 23 May 2022 07:50:02 -0700 (PDT) Received: from hype-n1-sdp.warwick.arm.com (hype-n1-sdp.warwick.arm.com [10.32.32.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 181AD3F70D; Mon, 23 May 2022 07:50:00 -0700 (PDT) From: German Gomez To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: james.clark@arm.com, leo.yan@linaro.org, German Gomez , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim Subject: [RFC PATCH 0/1] perf test cs-etm: Add end-to-end tests for CoreSight decoding Date: Mon, 23 May 2022 15:49:51 +0100 Message-Id: <20220523144952.364370-1-german.gomez@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi While discussing running more tests for CoreSight, we thought it might be a good idea to upstream some EndToEnd tests for CoreSight decoding in order to lock down the behaviour. I am sending this as RFC to get some feedback from the community first. The test relies on pre-geneated perf.data files that are downloaded during the test. I'm not sure it's a good idea to commit those files to the Linux repository, so they would have to live in an external source and be downloaded during the test. For this RFC, the files are stored in a Github repository [1]. As an idea, I think we could store them in a new repo in the ARM-software namespace. Any hosting suggestions are very welcome. Thanks, German [1] https://github.com/ARM-software/data/tree/984cde8fb0bb22591e284826a80b338bb79c3655/perf/coresight German Gomez (1): perf test cs-etm: Add end-to-end tests for CoreSight decoding tools/perf/tests/shell/lib/arm_auxtrace.sh | 21 +++++++ .../tests/shell/test_arm_coresight_decoder.sh | 57 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 tools/perf/tests/shell/lib/arm_auxtrace.sh create mode 100755 tools/perf/tests/shell/test_arm_coresight_decoder.sh -- 2.25.1