Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1243841
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' |
| Date | 2015-10-10 09:10 +0200 |
| Message-ID | <qhWs2-22e-15@gated-at.bofh.it> (permalink) |
| References | <qglbb-2cb-3@gated-at.bofh.it> <qglbb-2cb-19@gated-at.bofh.it> <qhMCm-4yA-13@gated-at.bofh.it> <qhNRN-6gk-11@gated-at.bofh.it> <qhOb8-6RX-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Brendan Gregg <brendan.d.gregg@gmail.com> wrote: > On Fri, Oct 9, 2015 at 2:56 PM, Arnaldo Carvalho de Melo > <arnaldo.melo@gmail.com> wrote: > > > > Em Fri, Oct 09, 2015 at 01:34:33PM -0700, Brendan Gregg escreveu: > > > On Mon, Oct 5, 2015 at 2:03 PM, Arnaldo Carvalho de Melo > > > <acme@kernel.org> wrote: > > > > > > > > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > > > > > > > Which is the most common default found in other similar tools. > > > > > > Interactive tools, sure, like the perf report TUI. > > > > > But this also changes the ordering of the non-interactive tools which > > > dump stacks: "perf report -n --stdio" and "perf script". The most > > > common default for dumping stacks is caller. Eg: > > > > And you use that for scripting? > > Yes; how I typically CPU profile: > > git clone https://github.com/brendangregg/FlameGraph > cd FlameGraph > perf record -F 99 -a -g -- sleep 60 > perf script | ./stackcollapse-perf.pl | /flamegraph.pl > flame.svg > > Then open flame.svg in a browser and click around. Try it. :) So I tried it: triton:~/s/FlameGraph> ls -l flame.svg -rw-rw-r-- 1 mingo mingo 1022870 Oct 10 09:06 flame.svg but when I tried to view it via ImageMagick, it first showed an empty screen: triton:~/s/FlameGraph> display flame.svg then when exiting it said: display: non-conforming drawing primitive definition `text-anchor' @ error/draw.c/DrawImage/3182. although I guess that latter is an unrealted ImageMagick problem, not caused by the SVG. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Brendan Gregg <brendan.d.gregg@gmail.com> - 2015-10-09 22:40 +0200
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-10-10 00:00 +0200
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Brendan Gregg <brendan.d.gregg@gmail.com> - 2015-10-10 00:20 +0200
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com> - 2015-10-10 00:30 +0200
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Ingo Molnar <mingo@kernel.org> - 2015-10-10 09:10 +0200
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Brendan Gregg <brendan.d.gregg@gmail.com> - 2015-10-10 09:40 +0200
Re: [PATCH 13/16] perf callchain: Switch default to 'graph,0.5,caller' Ingo Molnar <mingo@kernel.org> - 2015-10-10 11:10 +0200
csiph-web