From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752081AbdFLNKr (ORCPT ); Mon, 12 Jun 2017 09:10:47 -0400 Received: from mga06.intel.com ([134.134.136.31]:20406 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944AbdFLNKq (ORCPT ); Mon, 12 Jun 2017 09:10:46 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,333,1493708400"; d="scan'208";a="273159091" Subject: Re: [PATCH V2 00/37] perf intel-pt: Power events and PTWRITE To: Arnaldo Carvalho de Melo Cc: Andi Kleen , linux-kernel@vger.kernel.org References: <1495786658-18063-1-git-send-email-adrian.hunter@intel.com> From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Mon, 12 Jun 2017 16:04:44 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <1495786658-18063-1-git-send-email-adrian.hunter@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/05/17 11:17, Adrian Hunter wrote: > Hi > > Here are some patches to support Intel PT Power events and PTWRITE. > Power events report changes to C-state but I have also added support > for the existing CBR (core-to-bus ratio) packet and included that > when outputting power events. The PTWRITE packet is associated with > the new ptwrite instruction, which is essentially just a way to stuff > a 32 or 64 bit value into the PT trace. More details can be found in > the patches that add documentation and in the Intel SDM. > > As far as I know, there isn't any hardware released that supports > the new packets, however the CBR packet is not new and will now be > visible by default. > > There are also some miscellaneous improvements to Intel PT. > > There are 3 patches that introduce a new way to define synthesized > events that carry arbitrary raw_data. I sent an RFC about that earlier. > The 3 patches are: > perf script: Add 'synth' event type for synthesized events > perf script: Add 'synth' field for synthesized event payloads > perf script: Add synthesized Intel PT power and ptwrite events > > > Changes in V2: > > Reorder patches and add stable tags to fixes. > Apart from "perf script: Add 'synth' event type for synthesized events" patches still apply. Any comments?