All of lore.kernel.org
 help / color / mirror / Atom feed
From: taeung <treeze.taeung@gmail.com>
To: linux-perf-users@vger.kernel.org
Cc: Namhyung Kim <namhyung@kernel.org>
Subject: What do zeroing of samples in 'perf top' mean ?
Date: Tue, 30 Sep 2014 12:19:41 +0900	[thread overview]
Message-ID: <542A214D.1090804@gmail.com> (raw)

Hi,

I have two questions about 'zeroing of samples' in 'perf top'.

I knew if I use 'perf top', I can see a performance counter profile in 
real time.
But I can't find a difference between 'perf top -a' and 'perf top --zero'.

After 'perf top' is run , I press key 'z' to toggle zeroing of samples.
But I don't know a difference between when I press key 'z' and before I 
did it.

1. What is 'Zero history' ?
(I saw it in Documentation/perf-top.txt that '--zero' option is 'Zero 
history across display updates.')

2. What do 'zeroing of samples' mean ?

Thanks,
Taeung

             reply	other threads:[~2014-09-30  3:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-30  3:19 taeung [this message]
2014-09-30  5:55 ` What do zeroing of samples in 'perf top' mean ? Namhyung Kim
2014-10-01  1:45 ` taeung
2014-10-04 16:51   ` TaeWoong Song

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=542A214D.1090804@gmail.com \
    --to=treeze.taeung@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=namhyung@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.