> 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 -- a...@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/