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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F14BC4332F for ; Mon, 12 Dec 2022 19:52:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ztmq3eqlCuXo1Nsb0f4tTjeQGHRMdYZqWYWakLDcKmI=; b=iay3dpsMBu74JS qITy1u9J0stiJI+SkF0lefa9oDgBVCzsLrwfXoBT/sNnmIVSzJQCcPjNB46zzu9ha6p/PatJDoTSm 4dvafCdDExeRX+DT3oQ5yVMXpsg5qcTK1Xf6sWJnhwFSabCUT1sD6WgLDff62Wn+vBvtfSpvQ0Ue5 ZFQCm91y8lpwrZsCm8TQ3ahUvuG8gCriI8ZNbCAyTww3P7kaz8uELU1g9X531rhnFDVo4TlKFnVqF IBLSBrcrf972Ahfe/ER/7qhy1SbF0QIbujqN4vNo/3HPgqOHr2xEbOtVOErM4liYWfeEYchFUWPbV Yw3AfFor3xQDhsEw6Nyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4opE-004pEE-Ub; Mon, 12 Dec 2022 19:50:57 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4opC-004pDc-S3 for linux-arm-kernel@bombadil.infradead.org; Mon, 12 Dec 2022 19:50:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=y3YujNP+yj0q8c4Ep/XB/QNsXp9YsnYe3MoAOefvVL0=; b=KwaR0iWS6Iq2Z+FsYS4LndUh7G sib3AyZ7dQKuf4VD1AXTh4hJdpqHEZyz6l6BrpQxDDGs13HzYdoRhoYaTj2Q65wtTgdnYl/dHF4JA XG6uuKb3ylKo5mfhhqTTcti7uf71gR9RaJhxpfJGbwADX8JTZ4Q7OmPGPorb7oarLIKiccNvV5f8j qht+hb6VLk0wDUCsyho06GuuaWyEI7+3ClcGwg4ef1zw/0u6pcWLlYmAMZZ0Dh+vBM5Hm7ZLG33Rw WwHqco8ZOyKXhqk1prnMnSxzuBp0KpLQafhksVFqEcSmzDyZfWAscAGx/2eXiRpTxErxsPvSgbYI4 xeQzYHDA==; Received: from [187.19.236.93] (helo=quaco.ghostprotocols.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1p4opJ-00BORs-FB; Mon, 12 Dec 2022 19:51:01 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 9DFC740483; Mon, 12 Dec 2022 16:50:49 -0300 (-03) Date: Mon, 12 Dec 2022 16:50:49 -0300 From: Arnaldo Carvalho de Melo To: James Clark Cc: linux-perf-users@vger.kernel.org, Al.Grant@arm.com, Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , Mike Leach , Leo Yan , Mathieu Poirier , Suzuki K Poulose , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org Subject: Re: [PATCH 0/5] perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked Message-ID: References: <20221212155513.2259623-1-james.clark@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221212155513.2259623-1-james.clark@arm.com> X-Url: http://acmel.wordpress.com 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Em Mon, Dec 12, 2022 at 03:55:08PM +0000, James Clark escreveu: > The auxtrace info header can be useful for debugging, and at the > moment it's possible to record a file without OpenCSD linked but > not view the header even though it should be possible to do. > > This patchset tidies up some of the related functions and > improves some of the error messages before making the above > possible in the last commit. > > Testing done: > > * Compiled on x86 and Arm both with and without CORESIGHT=1 > * Ran the Coresight tests > > Applies to perf/core (0c3852adae8) Thanks, applied. - Arnaldo > James Clark (5): > perf: cs-etm: Print unknown header version as an error > perf: cs-etm: Remove unused stub methods > perf: cs-etm: Tidy up auxtrace info header printing > perf: cs-etm: Cleanup cs_etm__process_auxtrace_info() > perf: cs-etm: Print auxtrace info even if OpenCSD isn't linked > > tools/perf/util/Build | 1 + > tools/perf/util/cs-etm-base.c | 174 ++++++++++++++++++++++++++++ > tools/perf/util/cs-etm.c | 208 +++------------------------------- > tools/perf/util/cs-etm.h | 46 ++------ > 4 files changed, 200 insertions(+), 229 deletions(-) > create mode 100644 tools/perf/util/cs-etm-base.c > > -- > 2.25.1 -- - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel