linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Manuel Selva <selva.manuel@gmail.com>
To: Milian Wolff <milian.wolff@kdab.com>, linux-perf-users@vger.kernel.org
Subject: Re: memory consumption information in perf stat?
Date: Thu, 28 Jan 2016 20:55:05 +0100	[thread overview]
Message-ID: <56AA7219.4020803@gmail.com> (raw)
In-Reply-To: <53853116.DaB1LNLXKQ@milian-kdab2>

Hi,

I am not sure perf stat can compute such information because it mainly 
count events (hardware or kernel). To compute the peak heap size, perf 
stat would require the knowledge of all heap memory allocations.

----
Manu

On 28/01/2016 18:11, Milian Wolff wrote:
> Hey all,
>
> for user-space profiling, it would be extremely useful to get memory
> consumption information such as peak heap size into the output of perf stat.
> Is this doable? I just learned that `command time -v` is able to output the
> maximum and average RSS. It would be extremely nice if `perf stat` could
> incorporate that as well somehow such that I only need a single application to
> look at that.
>
> If this is doable, then feel free to guide me to the code and I'm willing to
> supply a patch for perf stat.
>
> Thanks

  reply	other threads:[~2016-01-28 19:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28 17:11 memory consumption information in perf stat? Milian Wolff
2016-01-28 19:55 ` Manuel Selva [this message]
2016-01-29 12:30   ` Milian Wolff
2016-02-04  8:51 ` Taeung 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=56AA7219.4020803@gmail.com \
    --to=selva.manuel@gmail.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=milian.wolff@kdab.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 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).