Re: [PATCH 0/7] perf, x86: Haswell LBR call stack support
From: Andi Kleen
Date: Wed Jun 26 2013 - 12:40:33 EST
> So on pretty much every program you'd be lucky to get the top of the
> callstack but can end up with nearly nothing.
The last few entries up are usually the interesting ones, and those will
be preserved.
Do you really care about main() for profiling?
When you pop back up there may be a few situations where you
have a very small visible stack, but as soon as the program
starts nesting deeper again that will be fixed.
> Given that, and the other limitations I don't think its a fair
> replacement for user callchains.
It's not intended to be a full replacement, just to cover
cases that cannot give you callgraphs at all today.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/