All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Peipei Wang <wangpeipei.90@gmail.com>
Cc: perf group <linux-perf-users@vger.kernel.org>
Subject: Re: What should I do if I want to get Perf samples and Read Performance Counter at the same time?
Date: Wed, 28 Aug 2013 14:04:36 -0600	[thread overview]
Message-ID: <521E57D4.7090105@gmail.com> (raw)
In-Reply-To: <CAEuYUerYx9w=LdJsGG0PV0BKteMcoTL4ro=3+nfm8hBdXtuZ2w@mail.gmail.com>

On 8/28/13 11:21 AM, Peipei Wang wrote:
> Hi all,
>
> Here is my issue, looking forward to the suggestions from you guys. I
> have a java process and I can get the process id. I want to get the
> information about the event cache-misses for this process at the
> sampling rate 100(For this, I use perf record -e cache-misses -c 100 -p
> pid) . And I also want to know how many cache-misses events occurs for
> each second(For this I use watch perf stat -e cache-misses -p pid sleep 1)
>
> Any one has ideas about how to get both of them?

I believe you will need to write your own perf command to do that

David

       reply	other threads:[~2013-08-28 20:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAEuYUerYx9w=LdJsGG0PV0BKteMcoTL4ro=3+nfm8hBdXtuZ2w@mail.gmail.com>
2013-08-28 20:04 ` David Ahern [this message]
2013-08-29  4:59   ` What should I do if I want to get Perf samples and Read Performance Counter at the same time? Mikhail Kulemin
     [not found]     ` <CAEuYUeoj9YmHmD9SPv1OMdqaNV+C3e1UoMxTKW4kvQbmJxq2=A@mail.gmail.com>
2013-08-29 18:58       ` Mikhail Kulemin
     [not found]         ` <CAEuYUep-n=Pts8sFSusgOvKG8xTY8=aQqjb8mqtEpfUzz6ihCw@mail.gmail.com>
     [not found]           ` <CAEuYUepG4p2+ET81MdrrajgUvfgG4=WnNwSDKpPS8YSQ8EO+6w@mail.gmail.com>
     [not found]             ` <CAKnzfP99WV-p=WP0zgs-68+dy7pTxkfMPcDEmL_P6KL4jh2Umw@mail.gmail.com>
     [not found]               ` <CAEuYUepPNNpUQ8ysgyR6DK85_kUqiZyz=hdfnfwzFQtCG=mhuQ@mail.gmail.com>
2013-08-30  4:28                 ` Mikhail Kulemin
2013-08-30 13:33                   ` David Ahern
     [not found]                     ` <CAEuYUeoNJg4wjcpJNQeJH=-E4TQ1cQJVvB5P4z87KNGTXdP6_A@mail.gmail.com>
2013-08-30 17:15                       ` Mikhail Kulemin
2013-08-30 18:01                         ` David Ahern
2013-08-30 18:37                           ` Mikhail Kulemin
2013-08-30 22:42                           ` Peipei Wang
2013-08-28 17:23 Peipei Wang

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=521E57D4.7090105@gmail.com \
    --to=dsahern@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=wangpeipei.90@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.