Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757016Ab2JSRFN (ORCPT ); Fri, 19 Oct 2012 13:05:13 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:54316 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752133Ab2JSRFL (ORCPT ); Fri, 19 Oct 2012 13:05:11 -0400 Date: Fri, 19 Oct 2012 10:05:39 -0700 From: Sukadev Bhattiprolu To: Stephane Eranian Cc: Robert Richter , Peter Zijlstra , Anton Blanchard , LKML , Arnaldo Carvalho de Melo , linuxppc-dev@ozlabs.org, Paul Mackerras , mpjohn@us.ibm.com, Ingo Molnar , Arun Sharma Subject: Re: [RFC][PATCH] perf: Add a few generic stalled-cycles events Message-ID: <20121019170538.GB28183@us.ibm.com> References: <20121012012839.GA15348@us.ibm.com> <20121015155534.GR8285@erda.amd.com> <20121016100809.GS8285@erda.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12101917-2876-0000-0000-0000012F92C5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 21 Stephane Eranian [eranian@google.com] wrote: | So all in all, I think this is not a very good idea. You have to put | this into the tool or a library that auto-detects the | host CPU and programs the right set of events. | | We've had that discussion many times. Just reiterating my personal | opinion on this. Yes that would work too. One drawback is that the hardware events will be in the tool, while the software/tracepoint events in the kernel sysfs representation. Or is that the reason we want all events in one place (sysfs) ? Sukadev -- 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/