linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: yipeng <yipeng@gmail.com>
To: linux-perf-users@vger.kernel.org
Subject: Re: perf stat: Doubt about stall cycle support
Date: Sat, 24 Mar 2012 09:55:31 +0800	[thread overview]
Message-ID: <CAB_n8zKuWw+EecLTtUyOgesanjas3V0YWes6PgWGogTDzrPqmg@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1203212112430.16205@cl320.eecs.utk.edu>

On Thu, Mar 22, 2012 at 9:17 AM, Vince Weaver <vweaver1@eecs.utk.edu> wrote:
>
> What kind of stalls are you looking to measure?
>
> The core2 supports many kind of stall events.  Check out Intel Vol3b
> documentation, or the libpfm4 showevtinfo utility for a list of them all.
>
> perf only directly supports a small subset of "generalized" events, and
> 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

  reply	other threads:[~2012-03-24  1:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21  4:42 perf stat: Doubt about stall cycle support Yipeng Huang
2012-03-21 14:46 ` David Ahern
     [not found]   ` <CAB_n8zK5b0jWA=retCX12DGmrb19gMd2UxJGWkn6HD9nFrdiAQ@mail.gmail.com>
2012-03-21 16:24     ` David Ahern
2012-03-22  0:43       ` Yipeng Huang
2012-03-22  1:17         ` Vince Weaver
2012-03-24  1:55           ` yipeng [this message]
2012-03-22  2:30         ` David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAB_n8zKuWw+EecLTtUyOgesanjas3V0YWes6PgWGogTDzrPqmg@mail.gmail.com \
    --to=yipeng@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).