Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755996AbbLQOEA (ORCPT ); Thu, 17 Dec 2015 09:04:00 -0500 Received: from one.firstfloor.org ([193.170.194.197]:49991 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752667AbbLQOD7 (ORCPT ); Thu, 17 Dec 2015 09:03:59 -0500 Date: Thu, 17 Dec 2015 15:03:58 +0100 From: Andi Kleen To: Stephane Eranian Cc: Andi Kleen , Arnaldo Carvalho de Melo , Peter Zijlstra , Jiri Olsa , Ingo Molnar , LKML , Namhyung Kim , Andi Kleen Subject: Re: [PATCH 05/10] perf, tools, stat: Basic support for TopDown in perf stat Message-ID: <20151217140358.GB15533@two.firstfloor.org> References: <1450227266-2501-1-git-send-email-andi@firstfloor.org> <1450227266-2501-6-git-send-email-andi@firstfloor.org> <20151216212104.GZ15533@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1000 Lines: 25 > >> This is x86 specific. Why not just try it out and in case of error > >> suggest checking > >> if pinned system-wide events exist (such as NMI watchdog on x86). that would > >> be more generic. > > > > That's really complicated, i would have to tear down all state and then > > resubmit all the events. I think just checking the NMI watchdog is good > > enough. I couldn't give a sensible error message for the generic case > > anyways. > > > What about that fancy error reporting extension that was proposed a few months > back? It could help print a sensible error msg. Did it ever make it in? AFAIK it's not in. Also even the extended error wouldn't know who installed a pinned counter. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/