From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753059AbcC0L2R (ORCPT ); Sun, 27 Mar 2016 07:28:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39000 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbcC0L2D (ORCPT ); Sun, 27 Mar 2016 07:28:03 -0400 Date: Sun, 27 Mar 2016 13:27:59 +0200 From: Jiri Olsa To: Andi Kleen Cc: acme@kernel.org, peterz@infradead.org, jolsa@kernel.org, eranian@google.com, mingo@kernel.org, linux-kernel@vger.kernel.org Subject: Re: Add top down metrics to perf stat Message-ID: <20160327112759.GE4015@krava.sund.root.ku.dk> References: <1458688137-5946-1-git-send-email-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458688137-5946-1-git-send-email-andi@firstfloor.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 22, 2016 at 04:08:46PM -0700, Andi Kleen wrote: SNIP > In this case perf stat automatically enables --per-core mode and also requires > global mode (-a) and avoiding other filters (no cgroup mode) > > When Hyper Threading is off this can be overriden with the --single-thread > option. When Hyper Threading is on it is enforced, the only way to > not require -a here is to off line the logical CPUs of the second > threads. > > One side effect is that this may require root rights or a > kernel.perf_event_paranoid=-1 setting. > > Full tree available in > git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/top-down-16 > can't see this one (-16): [jolsa@krava perf]$ git remote update ak Fetching ak [jolsa@krava perf]$ git branch -r | grep top-down ak/perf/top-down-10 ak/perf/top-down-11 ak/perf/top-down-13 ak/perf/top-down-2 thanks, jirka