linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to get "--children" overhead with perf?
@ 2016-05-17 17:38 Vasmi Abidi
  2016-05-17 19:05 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Vasmi Abidi @ 2016-05-17 17:38 UTC (permalink / raw)
  To: linux-perf-users

Hi,

   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'

   thanks,
   Vasmi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to get "--children" overhead with perf?
  2016-05-17 17:38 how to get "--children" overhead with perf? Vasmi Abidi
@ 2016-05-17 19:05 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2016-05-17 19:05 UTC (permalink / raw)
  To: Vasmi Abidi; +Cc: linux-perf-users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-17 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 17:38 how to get "--children" overhead with perf? Vasmi Abidi
2016-05-17 19:05 ` Arnaldo Carvalho de Melo

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).