From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752508AbbFAOQV (ORCPT ); Mon, 1 Jun 2015 10:16:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58992 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751621AbbFAOQM (ORCPT ); Mon, 1 Jun 2015 10:16:12 -0400 Date: Mon, 1 Jun 2015 16:16:07 +0200 From: Jiri Olsa To: Andi Kleen Cc: acme@kernel.org, namhyung@kernel.org, eranian@google.com, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH 01/11] perf, tools: Add tools support for cycles, weight branch_info field Message-ID: <20150601141607.GA14869@krava.redhat.com> References: <1432749114-904-1-git-send-email-andi@firstfloor.org> <1432749114-904-2-git-send-email-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1432749114-904-2-git-send-email-andi@firstfloor.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2015 at 10:51:44AM -0700, Andi Kleen wrote: > From: Andi Kleen > > cycles is a new branch_info field available on some CPUs > that indicates the time deltas between branches in the LBR. > > Add a sort key and output code for the cycles > to allow to display the basic block cycles individually in perf report. > > We also pass in the cycles for weight when LBRs are processed, > which allows to get global and local weight, to get an estimate > of the total cost. > > And also print the cycles information for perf report -D. > I also added printing for the previously missing LBR flags > (mispredict etc.) > > Signed-off-by: Andi Kleen Acked-by: Jiri Olsa thanks, jirka