From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752033AbdFUNkk (ORCPT ); Wed, 21 Jun 2017 09:40:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:38478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbdFUNkj (ORCPT ); Wed, 21 Jun 2017 09:40:39 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7FFC423986 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Date: Wed, 21 Jun 2017 10:40:34 -0300 From: Arnaldo Carvalho de Melo To: Adrian Hunter Cc: Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 00/37] perf intel-pt: Power events and PTWRITE Message-ID: <20170621134034.GN13640@kernel.org> References: <1495786658-18063-1-git-send-email-adrian.hunter@intel.com> <20170612135605.GC3017@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jun 21, 2017 at 01:20:52PM +0300, Adrian Hunter escreveu: > On 12/06/17 16:56, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jun 12, 2017 at 04:04:44PM +0300, Adrian Hunter escreveu: > >> 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? > > > > I'll look at it today, > > I have sent V3 of two patches that did not now apply cleanly. Thanks, I'm going thru that lot now, trying to understand the synth event types handling in perf script, the ones affected by these refreshed patches... - Arnaldo