Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756298Ab1DVQwZ (ORCPT ); Fri, 22 Apr 2011 12:52:25 -0400 Received: from mga02.intel.com ([134.134.136.20]:64946 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755905Ab1DVQwY (ORCPT ); Fri, 22 Apr 2011 12:52:24 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.64,254,1301900400"; d="scan'208";a="737111227" Date: Fri, 22 Apr 2011 09:51:20 -0700 From: Andi Kleen To: Stephane Eranian Cc: Ingo Molnar , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Peter Zijlstra , Lin Ming , Arnaldo Carvalho de Melo , Thomas Gleixner , Peter Zijlstra , eranian@gmail.com, Arun Sharma , Linus Torvalds , Andrew Morton Subject: Re: [generalized cache events] Re: [PATCH 1/1] perf tools: Add missing user space support for config1/config2 Message-ID: <20110422165120.GA16607@tassilo.jf.intel.com> References: <20110422092322.GA1948@elte.hu> <20110422105211.GB1948@elte.hu> 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: 859 Lines: 23 > Once you have clear and precise definition, then we can look at the actual > events and figure out a mapping. It's unclear this can be even done. Linux runs on a wide variety of micro architectures, with all kinds of cache architectures. Micro architectures are so different. I suspect a "generic" definition would need to be so vague as to be useless. This in general seems to be the problem of the current cache events. Overall for any interesting analysis you need to go CPU specific. Abstracted performance analysis is a contradiction in terms. -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/