linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: AmirReza Ghods <ar.ghods@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Does perf record support event multiplexing?
Date: Wed, 22 Jan 2014 20:51:53 -0800	[thread overview]
Message-ID: <874n4v1es6.fsf@tassilo.jf.intel.com> (raw)
In-Reply-To: <CAOJauOAJbbjP6kR_op4bzncDajjOZvN0YWf9+scYjpHrJeLTOg@mail.gmail.com> (AmirReza Ghods's message of "Tue, 21 Jan 2014 13:34:15 -0500")

AmirReza Ghods <ar.ghods@gmail.com> writes:

> I noticed that "perf record" does not calculate the true value for the
> number of event's counts in the case of having more events than
> hardware counters.
> But in pef stat it does and there is a time interpolation algorithm
> for estimating and correcting the true value.
> Also I saw a patch for Perf's source code that implimented time
> interpolation for Perf in record mode but it did not include in the
> next official realses of Perf. I just want to know that is there any
> technical difficulty for implimenting this feature in "perf record" or
> not?

Why would you care about the exact sample count for perf report?

The only thing that counts in such a histogram is the percent
relationships, which would stay the same if the numbers
were scaled up.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only

  reply	other threads:[~2014-01-23  4:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 18:34 Does perf record support event multiplexing? AmirReza Ghods
2014-01-23  4:51 ` Andi Kleen [this message]
2014-01-27 21:14   ` AmirReza Ghods
2014-01-29  6:49     ` Namhyung Kim

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=874n4v1es6.fsf@tassilo.jf.intel.com \
    --to=andi@firstfloor.org \
    --cc=ar.ghods@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).