From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754230Ab2INNn6 (ORCPT ); Fri, 14 Sep 2012 09:43:58 -0400 Received: from [205.233.59.134] ([205.233.59.134]:40682 "EHLO merlin.infradead.org" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752174Ab2INNn5 convert rfc822-to-8bit (ORCPT ); Fri, 14 Sep 2012 09:43:57 -0400 Message-ID: <1347630180.7172.34.camel@twins> Subject: Re: [RFC][PATCH] perf, intel: Expose SMI_COUNT as a fixed counter From: Peter Zijlstra To: Stephane Eranian Cc: mingo@kernel.org, linux-kernel , Thomas Gleixner , Arnaldo Carvalho de Melo Date: Fri, 14 Sep 2012 15:43:00 +0200 In-Reply-To: <1347449261.15764.9.camel@twins> References: <1347449261.15764.9.camel@twins> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2012-09-12 at 13:27 +0200, Peter Zijlstra wrote: > Subject: perf, intel: Expose SMI_COUNT as a fixed counter > From: Peter Zijlstra > Date: Wed Sep 12 13:10:53 CEST 2012 > > The Intel SMI_COUNT sadly isn't a proper PMU event but a free-running > MSR, expose it by creating another fake fixed PMC and another pseudo > event. OK, so it looks like this MSR has the same content on all CPUs.. is this inherent to SMIs or is that just my box being funny?