lkml.org 
[lkml]   [2013]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/7] perf, x86: Haswell LBR call stack support
> 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@linux.intel.com -- Speaking for myself only.


\
 
 \ /
  Last update: 2013-06-26 21:41    [W:0.257 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site