From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756616AbcJGNuM (ORCPT ); Fri, 7 Oct 2016 09:50:12 -0400 Received: from mga04.intel.com ([192.55.52.120]:33413 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756391AbcJGNuF (ORCPT ); Fri, 7 Oct 2016 09:50:05 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,308,1473145200"; d="scan'208";a="887713156" Subject: Re: [PATCH 1/2] perf intel-pt-decoder: Report instruction bytes and length in sample To: Arnaldo Carvalho de Melo References: <1475541033-32603-1-git-send-email-andi@firstfloor.org> <20161005113613.GW7143@kernel.org> Cc: Andi Kleen , linux-kernel@vger.kernel.org, Andi Kleen From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: Date: Fri, 7 Oct 2016 16:45:18 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20161005113613.GW7143@kernel.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 05/10/16 14:36, Arnaldo Carvalho de Melo wrote: > Em Mon, Oct 03, 2016 at 05:30:32PM -0700, Andi Kleen escreveu: >> From: Andi Kleen >> >> Change the Intel PT decoder to pass up the length and the instruction >> bytes of the decoded or sampled instruction in the perf sample. >> >> The decoder already knows this information, we just need to pass it >> up. Since it is only a couple of movs it is not very expensive. >> >> Used in the next patch. > > Adrian, Ack? I did a little tidy-up in Intel PT / BTS and re-based Andi's patch with my SOB. Please see V3 patch I sent.