Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4005992pxv; Tue, 13 Jul 2021 08:42:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydmP/74Dee7Q1Ek8r0GFb41vEM8hbjS9tyUTo/U9Op66j6OwJKBhA+cgzZjDQO7h5QSEuQ X-Received: by 2002:a05:6e02:1c2d:: with SMTP id m13mr3250816ilh.137.1626190921267; Tue, 13 Jul 2021 08:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626190921; cv=none; d=google.com; s=arc-20160816; b=foK3j1S5OfPRbPBhIDMGkz09B6uS8X/P7W2B0WC4jNPqy/7+58sFmjFdNHlcn3Mh6N z/jRSj9r8vxwzSm6+rQCDJzRnSbctiqtpEPM65yi4z6Az7BwMWmSH5IonFW1yRFUTH4s nhfQSzHnmCeBmKNYXB0/r5xGvNpkBEd+GADYpm+bHFF+xr7n0rODCW5KIGsyeVuvFtN8 AOin8iI5ciIEGzzkrvpPOQ4J0bqwr3qFtuZkzf+a2kVWUaqaVuAcNehB1UGu+fb3lqi1 8jKBc7qW9aFD9Hofoi5ZyR7gc4AuLuXs/fJrpnO1ngjSB51tfRosxy8AqFmuyYHprv/2 vveQ== 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 :message-id:date:subject:cc:to:from; bh=fx4U/RiTyl8H5Ea64sBTMFyb5djEnyOXOodhdDlnrCM=; b=oShZTB2RdbFGWGMLApxWTkZf28yeUk7kG0hHfR8Xx/mccnfA5cEsshdEo8d1sJ7ock 7DxePOpWEO4XnwbK5ZRFylfRtc7DBqUiGhY4OZ6+RcIYqbBE1GqZA1WOs1qYAkXJ4+fO VrX5cIkZ3VRNfyiP7mNWUa+rEXUH+uUBwHNLIhO7w/vV/1UcYI9phfo7ULwZvT9/80Vg kRa2Lbhq6TJEa6YFNAe7A1yW/2OLoMNkWOdmZU8k0eBSVN5BdLhZpAlocVHionUWRPU0 /oAqEDT6HBKklpELL1ql7xtHdrfsX/vIjZYcrvmgUIyKwMXwG7dk5LopJzcOSj1xYht9 lQjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si827683ilc.36.2021.07.13.08.41.48; Tue, 13 Jul 2021 08:42:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237138AbhGMPnY (ORCPT + 99 others); Tue, 13 Jul 2021 11:43:24 -0400 Received: from foss.arm.com ([217.140.110.172]:45528 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236932AbhGMPnX (ORCPT ); Tue, 13 Jul 2021 11:43:23 -0400 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 614DC6D; Tue, 13 Jul 2021 08:40:33 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.35.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1B64F3F774; Tue, 13 Jul 2021 08:40:28 -0700 (PDT) From: James Clark To: acme@kernel.org, mathieu.poirier@linaro.org, coresight@lists.linaro.org, leo.yan@linaro.org Cc: al.grant@arm.com, branislav.rankov@arm.com, suzuki.poulose@arm.com, anshuman.khandual@arm.com, James Clark , Mike Leach , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] perf cs-etm: Support TRBE (unformatted decoding) Date: Tue, 13 Jul 2021 16:40:02 +0100 Message-Id: <20210713154008.29656-1-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset consists of refactoring to allow the decoder to be created in advance when the AUX records are iterated over. The AUX record flags are used to communicate whether the data is formatted or not which is the reason this refactoring is required. These changes result in some simplifications, removal of early exit conditions etc. A change was also made to --dump-raw-trace code to allow the formatted/unformatted status to persist and for the decoder to not be continually deleted and recreated. The changes apply on top of the previous patchset "[PATCH v7 0/2] perf cs-etm: Split Coresight decode by aux records". James Clark (6): perf cs-etm: Refactor initialisation of kernel start address perf cs-etm: Split setup and timestamp search functions perf cs-etm: Only setup queues when they are modified perf cs-etm: Suppress printing when resetting decoder perf cs-etm: Use existing decoder instead of resetting it perf cs-etm: Pass unformatted flag to decoder .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 10 +- tools/perf/util/cs-etm.c | 174 ++++++++---------- 2 files changed, 84 insertions(+), 100 deletions(-) -- 2.28.0