From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752197AbcFFOAN (ORCPT ); Mon, 6 Jun 2016 10:00:13 -0400 Received: from mail.kernel.org ([198.145.29.136]:49661 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751112AbcFFOAM (ORCPT ); Mon, 6 Jun 2016 10:00:12 -0400 Date: Mon, 6 Jun 2016 11:00:03 -0300 From: Arnaldo Carvalho de Melo To: Andi Kleen Cc: Andi Kleen , Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] perf stat: Basic support for TopDown in perf stat Message-ID: <20160606140003.GD8679@kernel.org> References: <1464119559-17203-1-git-send-email-andi@firstfloor.org> <20160530160155.GQ8857@kernel.org> <20160530160402.GI22049@tassilo.jf.intel.com> <20160530161942.GD11853@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160530161942.GD11853@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, May 30, 2016 at 01:19:42PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, May 30, 2016 at 09:04:02AM -0700, Andi Kleen escreveu: > > > Which is a Broadwell-U, dual-core, 14 nm. > > > > > > [root@jouet linux]# echo 0 > /proc/sys/kernel/nmi_watchdog > > > [root@jouet linux]# perf stat --topdown -a usleep 1 > > > System does not support topdown > > > [root@jouet linux]# cat /proc/sys/kernel/nmi_watchdog > > > 0 > > > [root@jouet linux]# > > > > > > Please advise. > > > > You don't have the kernel patches? > > > > They're in PeterZ's tree, but not yet in tip > > https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git/log/?h=perf/core > > oops, will try applying those patches, thanks for claryfing. The kernel patches are in tip/perf/core now, so I applied the patches and they seem to work, but they broke one 'perf test' entry: # perf test 5 5: parse events tests : FAILED! # perf test -v 5 running test 50 '4:0x6530160/name=numpmu/' running test 51 'L1-dcache-misses/name=cachepmu/' running test 0 'cpu/config=10,config1,config2=3,period=1000/u' running test 1 'cpu/config=1,name=krava/u,cpu/config=2/u' running test 2 'cpu/config=1,call-graph=fp,time,period=100000/,cpu/config=2,call-graph=no,time=0,period=2000/' Invalid sysfs entry event=topdown-recovery-bubbles.scale failed to parse event 'cpu/event=topdown-recovery-bubbles.scale/u', err 1 test child finished with 1 ---- end ---- parse events tests: FAILED! # Please check that, - Arnaldo