Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp399152pxj; Thu, 10 Jun 2021 03:39:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb4zftozlOVPcIIMAGDQz4KnrIMwMhHrlHrNqMHUnXu61bJmrbyF9UZJpuvQMvstcTUt/j X-Received: by 2002:a17:906:b34e:: with SMTP id cd14mr3862600ejb.69.1623321586127; Thu, 10 Jun 2021 03:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623321586; cv=none; d=google.com; s=arc-20160816; b=RLsUwEL8C6nFf6lvi5MHk8zyWt/6Aj1QQL2bka4xl/NZyERE+68hwalpmMLZgy5rrp ZUkwGW18fpxNOf/K1ZNclJaEnOrUF9kmJJEsK9AphMGF2Cg6fcSgcozkSeuzIR8qgGz8 OBdmPF2gE0hggGq5oVkU5wetCIGcZqX3RHWVrT/+YmK9Qerz0oKoCm0XGGAzeXqSdBKL SYJoXyKCIX83SkHToVn9HCheer9WzBJceUlp1Fj5Q3ljvJ9Wu5ef+xbCDAjhESN8024I DTgNheDJ0hstvU+JDdF94NWyVLj5b1ZmkkRk54jXe4uoiX2tUyu7EH3GoO7UQFuFJfAM 47Zg== 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=U4tB5C3sWdZcUutzklsRqXM7jDd0du77SyqetRalnDA=; b=ZJaca4FE2LuM+og5Fq5BP0Mig+3fUYHAnvt//77uiRWt1uDLT4JA7gsdboRAtFw1oD dXQSi5depRUUKnDFQUx0fM9CkKC9O7ybyDDvdFvtVehKmLX4Neh+vep9XNOjCj4VJpqP A/hqjxNlNSJLhWszVgQG7byvOX6py88P4Dd8DCcEUnRLO3t2Hp+DNdXWtvEfDvNO+qXd j5AgAUkhlu4cnt5UKCngAQxTeCUZD+5VQICZm4QDB0GYEBxIVa82borIXhX6yWo8daLk VeaHUWqGVPVBToxydBGmLarPP8erAmo+W23TUyv0jrtBmCZrFRfgx2h1JwjPBdX1K5n0 c+og== 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 p23si2200352ejn.418.2021.06.10.03.39.21; Thu, 10 Jun 2021 03:39:46 -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 S230029AbhFJKi4 (ORCPT + 99 others); Thu, 10 Jun 2021 06:38:56 -0400 Received: from foss.arm.com ([217.140.110.172]:56530 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbhFJKi4 (ORCPT ); Thu, 10 Jun 2021 06:38:56 -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 ABE7ED6E; Thu, 10 Jun 2021 03:36:58 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.31.250]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C1C753F694; Thu, 10 Jun 2021 03:36:55 -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, denik@chromium.org, suzuki.poulose@arm.com, anshuman.khandual@arm.com, James Clark , Mike Leach , John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/1] perf cs-etm: Split Coresight decode by aux records Date: Thu, 10 Jun 2021 13:36:46 +0300 Message-Id: <20210610103647.7038-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 Changes since RFC v4: * Style and indentation fixes * Add a warning when the buffer isn't found (suggested by Leo) * Undo change to set 'etm->data_queued' * Replace 'matchesCpuPid' with early exit when CPU/TID doesn't match * Check more return value errors * Remove TODOs from commit message and code * Add motivation to commit message James Clark (1): perf cs-etm: Split Coresight decode by aux records tools/perf/util/cs-etm.c | 158 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 157 insertions(+), 1 deletion(-) -- 2.28.0