Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751667Ab0KYSVD (ORCPT ); Thu, 25 Nov 2010 13:21:03 -0500 Received: from one.firstfloor.org ([213.235.205.2]:60198 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266Ab0KYSVB (ORCPT ); Thu, 25 Nov 2010 13:21:01 -0500 Date: Thu, 25 Nov 2010 19:20:52 +0100 From: Andi Kleen To: Peter Zijlstra Cc: Lin Ming , Stephane Eranian , Andi Kleen , Ingo Molnar , lkml , Frederic Weisbecker , Arjan van de Ven Subject: Re: [RFC PATCH 2/3 v2] perf: Implement Nehalem uncore pmu Message-ID: <20101125182052.GA7413@basil.fritz.box> References: <1290340877.2245.124.camel@localhost> <8e9ff9280b0c4a059bc82b5c4a629897.squirrel@www.firstfloor.org> <1290348259.2245.172.camel@localhost> <1290361473.2153.39.camel@laptop> <1290644675.2405.90.camel@minggr.sh.intel.com> <1290665350.2072.521.camel@laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290665350.2072.521.camel@laptop> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 869 Lines: 23 > Yep, I see no reason to dis-allow sampling. Sure its hard to make sense > of it, but since there are people who offline all but one cpu of a > package, Assuming they don't have any active PCI devices either. > I bet there are people who will run just one task on a package > as well. In that case the sampling has a 1/NUM-CPU-THREADS-IN-PACKAGE chance to report the right task (or actually somewhat less because the measurement skew for uncore is much higher than for normal events) Really for per core measurements using the OFFCORE events is much better. -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/