From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751576AbcGMLqE (ORCPT ); Wed, 13 Jul 2016 07:46:04 -0400 Received: from mga01.intel.com ([192.55.52.88]:38824 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751286AbcGMLpx (ORCPT ); Wed, 13 Jul 2016 07:45:53 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,357,1464678000"; d="scan'208";a="1016006153" Subject: Re: [PATCH RESEND 2/2] perf tools: adding coresight etm PMU record capabilities To: Mathieu Poirier , acme@kernel.org References: <1466182922-14426-1-git-send-email-mathieu.poirier@linaro.org> <1466182922-14426-3-git-send-email-mathieu.poirier@linaro.org> Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <578628CB.8020707@intel.com> Date: Wed, 13 Jul 2016 14:40:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1466182922-14426-3-git-send-email-mathieu.poirier@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/06/16 20:02, Mathieu Poirier wrote: > Coresight ETMs are IP blocks used to perform HW assisted tracing > on a CPU core. This patch introduce the required auxiliary API > functions allowing the perf core to interact with a tracer. > > Signed-off-by: Mathieu Poirier > --- > MAINTAINERS | 3 + > tools/perf/arch/arm/util/Build | 2 +- > tools/perf/arch/arm/util/auxtrace.c | 54 ++++ > tools/perf/arch/arm/util/cs-etm.c | 559 ++++++++++++++++++++++++++++++++++++ > tools/perf/arch/arm/util/cs-etm.h | 23 ++ > tools/perf/arch/arm64/util/Build | 4 + > tools/perf/util/auxtrace.c | 1 + > tools/perf/util/auxtrace.h | 1 + > tools/perf/util/cs-etm.h | 74 +++++ > 9 files changed, 720 insertions(+), 1 deletion(-) > create mode 100644 tools/perf/arch/arm/util/auxtrace.c > create mode 100644 tools/perf/arch/arm/util/cs-etm.c > create mode 100644 tools/perf/arch/arm/util/cs-etm.h > create mode 100644 tools/perf/util/cs-etm.h > > diff --git a/MAINTAINERS b/MAINTAINERS > index d3451007718b..4fa03b03bfc5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1086,6 +1086,9 @@ F: Documentation/trace/coresight.txt > F: Documentation/devicetree/bindings/arm/coresight.txt > F: Documentation/ABI/testing/sysfs-bus-coresight-devices-* > F: tools/perf/arch/arm/util/pmu.c > +F: tools/perf/arch/arm/util/auxtrace.c > +F: tools/perf/arch/arm/util/cs_etm.c > +F: tools/perf/arch/arm/util/cs_etm.h File names have changed from having '_' to '-' Also FWIW there is now tools/perf/util/cs-etm.h As last time, there is no decoder, which still begs the question: is there anything you can actually do with the perf.data file? Otherwise: Acked-by: Adrian Hunter