Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030954AbbDWUoB (ORCPT ); Thu, 23 Apr 2015 16:44:01 -0400 Received: from smtpi82.kinghost.net ([189.38.86.82]:44862 "EHLO smtpi82.kinghost.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030581AbbDWUn6 (ORCPT ); Thu, 23 Apr 2015 16:43:58 -0400 Message-ID: <5539597F.1060805@bristot.me> Date: Thu, 23 Apr 2015 17:43:43 -0300 From: Daniel Bristot de Oliveira User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Thomas Gleixner , Steven Rostedt CC: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, Ingo Molnar , Andrew Morton , Peter Zijlstra , Linus Torvalds , Carsten Emde , Daniel Wagner , Jon Masters , Clark Williams Subject: Re: [RFC][PATCH 0/4] tracing: Add new hwlat_detector tracer References: <20150423190825.714359844@goodmis.org> <20150423160925.7d108eaa@gandalf.local.home> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 15 On 04/23/2015 05:21 PM, Thomas Gleixner wrote: > I know of a SMI event counter which is available on newer CPUs and > Intel promised to add a SMI cycle counter as well. I have no idea > whether that one ever materialized. PeterZ should know. The turbostat shows how many SMIs happened during a period. To do it, it reads the 'MSR_SMI_COUNT' counter. The code's comment says this counter is there since Nehalem. -- 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/