how to get "--children" overhead with perf?
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
Em Tue, May 17, 2016 at 05:38:48PM +0000, Vasmi Abidi escreveu:
Quoted 7 lines
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