Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5729507pxv; Wed, 21 Jul 2021 12:28:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+PYYCOH2HEiDqbrf9ufpWOh15HDyCbabxBjxm2RKYZ0Pbz2Z7Xi06F+mkAIkmL9holEgv X-Received: by 2002:a05:6e02:f05:: with SMTP id x5mr24651657ilj.268.1626895717147; Wed, 21 Jul 2021 12:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626895717; cv=none; d=google.com; s=arc-20160816; b=TbJJQCStPcAcHimrOpENa7+QQ8tbC6Hj/ocIC2a2uyCPrCp3q9DBsVDpIFBZvr/kCV UM0YhRyVzuKX2+vlPJnDE2OVSscDg0VSgxduKUakX/4LKmKi+Qf+I1izX2YumsPRdEhN 9UW3iImMyzutS2CO0CpXK57qZJ7uB+pt2Yop6i4A6sCxZgbtJGjZq34YBwLPwQF/1YFt U/jUTEQFUjrBxLKGxjSYYjLoMN0sH0EytBQzGVk4347/7VJ22DtN2bjwOe8Qh03H/+lo r3ydi44+N2zygGdV7IaJoV3VdnEEK58KItR+qzOqs9MPndofXYwtq4AqXU8NXdKK7Ph8 Le7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XI+Dx3h7cED2ymBlyHrrhom6GxHUNS25otSbDCgTdfM=; b=OQTPCvzbGe0hoQ2DtGyU0thsKeWIDZDVXnwb1p29p6xssCyTlxKvsaslGksYY0TDHY /UmDd+rZ65M4Y4R9cc/vbWyM4GR2mU28vR2mA30C2VAQvAUi/p3wNjVoKZj3I23sad4T 8FZkD1DH2G7ju0nIfSATuA4PUbEY9GJSPwJJU7D2WI1Vjgh1q7m9aIHPPDwwJlOGkQWt pJ7BDAWszHPv0z8ASweD6sunD5b7iyxiiW3rz1p3Bp2ehgWDtquLmlxvi2q3FP2ln5IP i+iq+iipofviLYL5EkQXGPylTBE+cSJjNbRAk3YPMVQGXbLUUYeDaDye55ghnyaTxufu UDwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=StuwqrCN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g2si22423292ioo.75.2021.07.21.12.28.26; Wed, 21 Jul 2021 12:28:37 -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; dkim=pass header.i=@linaro.org header.s=google header.b=StuwqrCN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237527AbhGUOWY (ORCPT + 99 others); Wed, 21 Jul 2021 10:22:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239431AbhGUOTG (ORCPT ); Wed, 21 Jul 2021 10:19:06 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 383BBC0613CF for ; Wed, 21 Jul 2021 07:59:43 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id d9so2689977ioo.2 for ; Wed, 21 Jul 2021 07:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XI+Dx3h7cED2ymBlyHrrhom6GxHUNS25otSbDCgTdfM=; b=StuwqrCNBxAbvlaItriRISqUD2bCPrwte93gRcZgZRTpbgma1yt3VbTMnXPiMYOT5A wS66/RgcYikmz21fweGdngLUbmyoAe3hK5pFRTh9jZlus1fm+U7mop8//e75VPGWFshD W8lmHS5IsP0PyTYfCpXsxiFt/RTFuRO/9WKS2MLzRnX0d/YB8Ox7xseTNkhOdAz1bq1z zicnkCWJKkJMNBQBYp1XGtf4+RTBQnIySSHou9FUDsOFmMV17QmHE3vNZCpvw36297uy MDhIhNVEtFGBXPtXDJqQA99PsjO8xZhZ4/sfFnw8K/7aSKLBw6O/H8VV6NECw9vx6eez 31Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XI+Dx3h7cED2ymBlyHrrhom6GxHUNS25otSbDCgTdfM=; b=ax3vjNeztn7DkHGk0HJYvA74t0+14qieeII1IcvJH0BY47jG4vfxYra1iB53lbIu4N c/62dv4/nO+irnTpCgCDcDo6H4if6nLHgVbzNiHGzgbwcaMzc1isas7tiEyahNZvrwGP HzTJIQMOkwNCkAM4FUE3jtUF67f0HDJIWw9Kraehgw1znqjtoJz1mDdqQtJd42XcT4qa j2e8BL2sxl8urB6+eOfaqyljn/ztuTn6JrzuQbGqQVcIjagPls7UZTgvFlCDaTFaAsH+ PGYg3xdQcQdMJq/vzg9mUCsHNRAWBgY3/qtCHNXcTslDsoMTGVuGM01oYrpvVi24TMzb KFWg== X-Gm-Message-State: AOAM531Zy2JnKv02489hKiIfmy0EJVIL9Xo7IryWBjy7SH9h/ylBHs1K SrIFNZVRFgdMNTkRv8DeLd8noQ6sL84eYQXDnq+sZQ== X-Received: by 2002:a02:380b:: with SMTP id b11mr31300909jaa.83.1626879582678; Wed, 21 Jul 2021 07:59:42 -0700 (PDT) MIME-Version: 1.0 References: <20210721090706.21523-1-james.clark@arm.com> In-Reply-To: <20210721090706.21523-1-james.clark@arm.com> From: Mathieu Poirier Date: Wed, 21 Jul 2021 08:59:31 -0600 Message-ID: Subject: Re: [PATCH 0/6] Support ETE decoding To: James Clark Cc: Arnaldo Carvalho de Melo , Coresight ML , Leo Yan , Al Grant , "Suzuki K. Poulose" , Anshuman Khandual , Mike Leach , John Garry , Will Deacon , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel , Linux Kernel Mailing List , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, I have received this set but won't be able to look at it for quite some time. Thanks, Mathieu On Wed, 21 Jul 2021 at 03:07, James Clark wrote: > > Decoding ETE already works because it is a superset of > ETMv4, but if any new packet types are found then they will be > ignored by the decoder. This patchset creates an ETE decoder > which can output the new packets and saves a new register that > is required. No new packet types are handled by perf yet, as this > can be added in the future. > > This set applies on top of "perf cs-etm: Support TRBE > (unformatted decoding)" on perf/core. > > James Clark (6): > perf cs-etm: Refactor initialisation of decoder params. > perf cs-etm: Initialise architecture based on TRCIDR1 > perf cs-etm: Save TRCDEVARCH register > perf cs-etm: Update OpenCSD decoder for ETE > perf cs-etm: Create ETE decoder > perf cs-etm: Print the decoder name > > tools/build/feature/test-libopencsd.c | 4 +- > tools/perf/arch/arm/util/cs-etm.c | 13 +- > .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 151 ++++++++---------- > .../perf/util/cs-etm-decoder/cs-etm-decoder.h | 8 + > tools/perf/util/cs-etm.c | 54 ++++++- > tools/perf/util/cs-etm.h | 6 +- > 6 files changed, 147 insertions(+), 89 deletions(-) > > -- > 2.28.0 >