From patchwork Mon May 10 14:32:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Clark X-Patchwork-Id: 12248345 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 064D6C433ED for ; Mon, 10 May 2021 14:34:49 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C03DF611F0 for ; Mon, 10 May 2021 14:34:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C03DF611F0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=AQMFc5JIhSR1nJu1ExSRqlFXC4v0K8be+H4hSyF1MAs=; b=HNOU9+z2wKwLKlaviIaC+Dbcvm 7tWpZaXY8MaKqmTTdnpiNQziFsGcV2WzQuj0AJ3Cp2x0cVbHu8xDzG6twaWQwljo+ScRhSu4FrapM nPRkBidLr1l6SUdMbkjhqSLLNysiRjHSV2dLD+B0lXV0CrIWZj2yl3EyiRGXXD5ssRjVNMZjN1CUQ IIH46vEhk7DnMySNR8BYv7ZGzXqc4KH/h3JV3RG0JgX9nShhHN2dMVQuyzbWdtYLC23+ojtigvhsF li2upilkTwspI69Q1cJagp8sORowCyosYzNWrmMYbnAbAQrYLkDTcTGINA6jAOpnmLrk2OoXPPsh7 BvKYlfmw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg6y2-00EdA2-3b; Mon, 10 May 2021 14:33:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg6xy-00Ed9i-6a for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 14:33:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=qzj+AI0+PXdIkJiXzZvEM1ofbaeVdyDFgxceTl7XcbE=; b=df4O4XMILxKE7u84G63C/YQcdF It3EC/Rb4uAfz6z8eL07Z7kMeuGLUnKCLQ1Sa70NjsMb9cbQ3uW+VT/KnyOX6kss+qsqLu36vDc3b kg/M3PNcOigeAzozjE4kTBg+LpthdLxz2xwhE9kPIwuFNuy6pkMu/hXrTcIJ39ueoSFhB6ORQh7Eh TwUh+KsFv5wjWRJMu2boyG2lEsE/KY49Vs4AeVKbYwunqyj7H3w28gtEhUpxgmvc/pYrD0AvIrPZ7 xKyamlEcAcJdRmVO1R1NPwex86rFlATGc/g3gEc5U5x5ZItnOl/CdZdk++1EKAitVuB71eHuoLDh5 irUF3QNA==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg6xv-008oTh-HH for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 14:33:00 +0000 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 282EC31B; Mon, 10 May 2021 07:32:54 -0700 (PDT) Received: from e121896.arm.com (unknown [10.57.83.99]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B37163F719; Mon, 10 May 2021 07:32:49 -0700 (PDT) From: James Clark To: coresight@lists.linaro.org, mathieu.poirier@linaro.org, acme@kernel.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 , Leo Yan , 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 v3 0/2] perf cs-etm: Set time on synthesised samples to preserve ordering Date: Mon, 10 May 2021 17:32:46 +0300 Message-Id: <20210510143248.27423-1-james.clark@arm.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_073259_638655_867D8A94 X-CRM114-Status: UNSURE ( 7.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Changes since v2: * Collect acked and reviewed-by tags from v1 that were missed in v2 * Add comment and commit message suggestions from Suzuki * Rebase onto next-20210510 (also applies to perf/core) Thanks James James Clark (2): perf cs-etm: Refactor timestamp variable names perf cs-etm: Set time on synthesised samples to preserve ordering .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 18 +++--- tools/perf/util/cs-etm.c | 57 +++++++++++-------- tools/perf/util/cs-etm.h | 4 +- 3 files changed, 44 insertions(+), 35 deletions(-)