<div dir="ltr">On 24 September 2013 19:38, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">-gline-tables-only (or -gmlt in gcc parlance). This will give you</span><br>
</div>
accurate call stack information for each sample. Or at least as<br>
accurate as I can get it.<br></blockquote><div><br></div><div>FWIW, I'm using perf with "-O3 -g" and LLVM has retained the line information quite well throughout all the inlining and optimizations that happened.</div>
<div><br></div><div>I assume it's easier to keep line information than variable location ranges and types. The biggest problem is to separate the two emissions, I guess, not the quality of the resulting information.</div>
<div><br></div><div>cheers,</div><div>--renato</div><div> </div></div></div></div>