Re: [PATCH 5/5] perf report: Support callchains with relativeoverhead rate

From: Ingo Molnar
Date: Sun Jul 05 2009 - 05:00:28 EST



btw., i get some buggy looking output with:

$ perf record -f -g ~/hackbench 10

$ perf report -c


|--5.11%-- unix_stream_sendmsg
| |
| |--100.00%-- __sock_sendmsg
| | sock_aio_write
| | do_sync_write
| | vfs_write
| | sys_write
| | sysenter_dispatch
| | 0xf7f72430
| | 0xffebbca000000014
| |
| --11.11%-- sock_aio_write
| do_sync_write
| vfs_write
| sys_write
| sysenter_dispatch
| 0xf7f72430
| 0xffebbca000000014

Those percentages dont sum up to 100% :-)

Another detail: i think we should signal when we crop the output due
to the filter, via a line of:

| [...]

or so.

Plus, when doing 'perf report' on a call-chain recording, shouldnt
we auto-detect this fact and default to fractal output
automatically, instead of flat mode?

User can still force flat mode via 'perf report -c flat'.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/