Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2392446pxy; Tue, 3 Aug 2021 05:31:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwO878jkPsbUI3xoADJsW5pEVr9RquSTmoS4tRPl6qAnATJYge36ibkaVNaf/cnpdVhR1tw X-Received: by 2002:a17:906:35d0:: with SMTP id p16mr20750453ejb.284.1627993913752; Tue, 03 Aug 2021 05:31:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627993913; cv=none; d=google.com; s=arc-20160816; b=WYEmXHqHmzenE0q2rl9fmUvRVZiZDzVGWvpvUIKJKwz0TfrnQUlkvRfdhql/qq3zxs 6NHBgQr8mfjAPW2Xi4RXeY4dNJXaT3GL3FiJHmMO5SJyYGYUCE//jvJG+lw0mDI2/kF8 JtR/VPQjv0sktYeczzkfzWe7Ss+VzBhD4HR59wSBEpRi60hqaT9Hd9aOptyGM9GXfhbb tlrFxtANn3tfgdxV5m8tdJTyvvZ8eGsW/jP5t58EUBH3hnkJIuuRY+C9EiQz7GP6g1aq 6Pip0aXMSJRXta3NgJXSozrtCZyFESOACvIvW4hGYgl9VgGnqeDknHTEwh0Cgbiz90u9 Hkgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=zDoRLz4HiDaIhdrO8nvPYwhJdGaHD78IL5D6QroWK+Q=; b=QTxE7Dj4qJ1ixuwNK3ZL0miBfjA1ydSkAIEMsNXiOOMMOSI0o+jS9JJ1NWsKVisU1H uC/qZYBynFFhXrvdEdaj+LbLNqZKNaGSzF4+I3eCIo/Nr8HKFt+1klZT+qgaRnnij8KF bKYpxIy79r/eOiwI4lSWAgEBzFTk6hkRIZ1Vg9Bnf70BRzxYY3RmZtiM18rsRo6thpLM H00V6SUH/VdeDkNakvekvBeHMUWFZFa7VKm5UQ6ra8hkmSTmxYIT2eAkKweI4Dn3seQa nfMyBIXmgiIZG+Dl7Q9CGeAnBs4dGyfRVEnwdKyy6ronmejmbLa2cwR71vPri4RL0F2i 2cbg== 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 x24si12769162ejv.514.2021.08.03.05.31.28; Tue, 03 Aug 2021 05:31:53 -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 S235782AbhHCMaA (ORCPT + 99 others); Tue, 3 Aug 2021 08:30:00 -0400 Received: from foss.arm.com ([217.140.110.172]:48722 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235709AbhHCMaA (ORCPT ); Tue, 3 Aug 2021 08:30:00 -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 2831B11FB; Tue, 3 Aug 2021 05:29:49 -0700 (PDT) Received: from [10.57.36.239] (unknown [10.57.36.239]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D6EEC3F40C; Tue, 3 Aug 2021 05:29:46 -0700 (PDT) Subject: Re: [PATCH 3/6] perf cs-etm: Save TRCDEVARCH register To: Leo Yan , Mike Leach Cc: Arnaldo Carvalho de Melo , Mathieu Poirier , Coresight ML , Al Grant , "Suzuki K. Poulose" , Anshuman Khandual , 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 References: <20210721090706.21523-1-james.clark@arm.com> <20210721090706.21523-4-james.clark@arm.com> <20210731074343.GG7437@leoy-ThinkPad-X240s> <20210802120545.GJ7437@leoy-ThinkPad-X240s> From: James Clark Message-ID: Date: Tue, 3 Aug 2021 13:29:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210802120545.GJ7437@leoy-ThinkPad-X240s> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/08/2021 13:05, Leo Yan wrote: > If so, I understand your suggestion in another email to add a new magic > number and a new protocol (this patch set has added the new protocol > CS_ETM_PROTO_ETE) for creating ETE decoder. Yes this is what I'm working on now. I think that it's actually cleaner than the previous change where there was some half way solution that old versions of perf wouldn't properly decode ETE but would try to anyway. James