From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbdJWPPO (ORCPT ); Mon, 23 Oct 2017 11:15:14 -0400 Received: from mga14.intel.com ([192.55.52.115]:4703 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751260AbdJWPPM (ORCPT ); Mon, 23 Oct 2017 11:15:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,423,1503385200"; d="scan'208";a="1234160789" From: Andi Kleen To: Milian Wolff Cc: acme@kernel.org, jolsa@kernel.org, namhyung@kernel.org, Linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , David Ahern , Peter Zijlstra , Yao Jin , Ravi Bangoria Subject: Re: [PATCH v7 1/5] perf report: properly handle branch count in match_chain References: <20171019113836.5548-1-milian.wolff@kdab.com> <20171019113836.5548-2-milian.wolff@kdab.com> <1895125.rrirNAUR4a@agathebauer> Date: Mon, 23 Oct 2017 08:15:11 -0700 In-Reply-To: <1895125.rrirNAUR4a@agathebauer> (Milian Wolff's message of "Thu, 19 Oct 2017 13:42:18 +0200") Message-ID: <87she9hp4w.fsf@linux.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Milian Wolff writes: > > perf record -b --call-graph dwarf > perf report --branch-history --no-children --stdio > > I see predicted and iter values as before, so I think nothing is breaking. But > I'm somewhat unsure. Can someone paste an example source code and the perf > commands to get some meaningful avg_cycles? Or does this depend on a newer > Intel CPU? I have currently only a Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz > available. Branch cycles requires at least a Skylake or Goldmont CPU, so yes. For testing on other systems you can fake them however with some variant of this patch http://lkml.iu.edu/hypermail//linux/kernel/1505.1/01135.html -Andi