From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Vasmi Abidi <vabidi@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: how to get "--children" overhead with perf?
Date: Tue, 17 May 2016 16:05:33 -0300 [thread overview]
Message-ID: <20160517190533.GE28790@kernel.org> (raw)
In-Reply-To: <loom.20160517T193444-154@post.gmane.org>
Em Tue, May 17, 2016 at 05:38:48PM +0000, Vasmi Abidi escreveu:
> Which version of perf gives the overhead of the children in the caller view?
> On my ubuntu14.04.1 machine, I don't see any options for this.
>
> root@prmh:~# perf --version
> perf version 3.13.11.4
> root@:~# perf report --children
> Error: unknown option `children'
[acme@jouet linux]$ git log --oneline 793aaaabb79803a0154fc6a98c472a29bb6d5cc9 -1
793aaaabb798 perf report: Add --children option
[acme@jouet linux]$ git tag --contains 793aaaabb798 | grep ^v3 | head
v3.16
v3.16-rc1
v3.16-rc2
v3.16-rc3
v3.16-rc4
v3.16-rc5
v3.16-rc6
v3.16-rc7
v3.17
v3.17-rc1
[acme@jouet linux]$
But I'd recommend you grab the very latest sources, using git, then
build just the tools, as in:
cd linux
make -C tools/perf install-bin
then use it from ~/bin/perf
It should work with your ubuntu14.04.1 system.
I regularly build it (as in multiple times a day) in these ubuntu Docker
containers:
[root@jouet atomic]# docker images | grep -- -ubuntu
perf-build-alldeps-ubuntu-14.04 latest c36091c85ed1 3 weeks ago 632.9 MB
perf-build-alldeps-ubuntu-16.04 latest 72f6f5434e6d 3 weeks ago 669.3 MB
perf-build-alldeps-ubuntu-12.04 latest f55b8c3182bf 6 weeks ago 508.7 MB
perf-build-minimal-ubuntu-x-arm latest a9450fa330a4 7 weeks ago 380.5 MB
perf-build-minimal-ubuntu-x-arm64 latest c236781b734e 7 weeks ago 357.2 MB
perf-build-minimal-ubuntu-x-ppc64 latest 02adec2f8e15 7 weeks ago 384.3 MB
perf-build-minimal-ubuntu-x-ppc64el latest 5b4e2e62a3f3 7 weeks ago 372.3 MB
[root@jouet atomic]#
- Arnaldo
prev parent reply other threads:[~2016-05-17 19:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 17:38 how to get "--children" overhead with perf? Vasmi Abidi
2016-05-17 19:05 ` Arnaldo Carvalho de Melo [this message]
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=20160517190533.GE28790@kernel.org \
--to=acme@kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=vabidi@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 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).