From mboxrd@z Thu Jan 1 00:00:00 1970 From: yipeng Subject: Re: perf stat: Doubt about stall cycle support Date: Sat, 24 Mar 2012 09:55:31 +0800 Message-ID: References: <4F69E9C4.8060108@gmail.com> <4F6A00BC.8070705@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-lpp01m010-f46.google.com ([209.85.215.46]:64132 "EHLO mail-lpp01m010-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623Ab2CXBzc convert rfc822-to-8bit (ORCPT ); Fri, 23 Mar 2012 21:55:32 -0400 Received: by lahj13 with SMTP id j13so2918450lah.19 for ; Fri, 23 Mar 2012 18:55:31 -0700 (PDT) In-Reply-To: Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: linux-perf-users@vger.kernel.org On Thu, Mar 22, 2012 at 9:17 AM, Vince Weaver w= rote: > > What kind of stalls are you looking to measure? > > The core2 supports many kind of stall events. =A0Check out Intel Vol3= b > documentation, or the libpfm4 showevtinfo utility for a list of them = all. > > perf only directly supports a small subset of "generalized" events, a= nd > only then if a kernel developer bothers to hook up the proper events = in > the kernel sources. > > If you do find a likely event you want to use, you can make perf use = it as > a "raw" event. Vince, resource stalls is close to what I was looking for. libpfim4 and raw events set me on the right direction, thanks! Yipeng