- Subject: Re: [PATCH 2/2] perf: Add a new sort order: SORT_INCLUSIVE
- From: Frederic Weisbecker <fweisbec@xxxxxxxxx>
- Date: Thu, 8 Mar 2012 16:39:36 +0100
- Cc: linux-kernel@xxxxxxxxxxxxxxx, Ingo Molnar <mingo@xxxxxxx>, Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Mike Galbraith <efault@xxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Stephane Eranian <eranian@xxxxxxxxxx>, Namhyung Kim <namhyung.kim@xxxxxxx>, Tom Zanussi <tzanussi@xxxxxxxxx>, linux-perf-users@xxxxxxxxxxxxxxx
- In-reply-to: <1331160079-13821-3-git-send-email-asharma@fb.com>
- User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Mar 07, 2012 at 02:41:19PM -0800, Arun Sharma wrote:
> Each entry that used to get added once to the histogram, now is added
> chain->nr times, each time with one less entry in the
> callchain.
>
> This will result in a non-leaf function that appears in a lot of
> samples to get a histogram entry with lots of hits.
>
> The user can then drill down into the callchains of functions that
> have high inclusive times.
I don't yet understand the point of this.
Imagine those three hists:
a -> b -> c
a -> b -> d
a-> e -> f
The fractal inverted mode (-G) will report this:
a--
|
----- b
| |
| -----c
| |
| -----d
|
----- e
|
-----f
The branch sorting is recursive so outstanding callers appear
in the first branches already.
So if your goal is to find important callers, I don't see why
the existing functionalities aren't enough.
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]