All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Chao Xu <caesarxuchao@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: perf record always record the same kernel symbol
Date: Fri, 10 May 2013 13:12:42 -0600	[thread overview]
Message-ID: <518D46AA.1000006@gmail.com> (raw)
In-Reply-To: <CAKZq+rfUO070Ph38EeOzGGxG3CtWiLZ4-eH=PLgby62Ugk3w1w@mail.gmail.com>

On 5/10/13 1:04 PM, Chao Xu wrote:
> Hi,
>
> I issued the following commands:
> sudo perf record sleep 1
> sudo perf report

you are profiling the 'sleep' command which is not very exciting. Try:
   sudo perf record -a -- sleep 1
   sudo perf report

David

  reply	other threads:[~2013-05-10 19:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 19:04 perf record always record the same kernel symbol Chao Xu
2013-05-10 19:12 ` David Ahern [this message]
     [not found]   ` <CAKZq+rcx8qAmU8ZW8QTcrw3sd28-_5kbo6e5qXZuKqSAjYEm2Q@mail.gmail.com>
2013-05-10 20:22     ` David Ahern
2013-05-10 20:43   ` Chao Xu

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=518D46AA.1000006@gmail.com \
    --to=dsahern@gmail.com \
    --cc=caesarxuchao@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 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.