Re: [go-nuts] Re: pprof CPU profiles missing inlined frames

2024-02-22 Thread cluffjames825
Got it. Sent from Yahoo Mail for iPhone On Sunday, February 18, 2024, 12:26 AM, Prashant V wrote: Ahh, I simplified the test too much, my mistake. I modified the example and verified that the profile does capture the inline function:      3.95s 79.16% 79.16%      3.95s 79.16%  main.modify

[go-nuts] Re: pprof CPU profiles missing inlined frames

2024-02-17 Thread Prashant V
Ahh, I simplified the test too much, my mistake. I modified the example and verified that the profile does capture the inline function: 3.95s 79.16% 79.16% 3.95s 79.16% main.modify (inline) 1.04s 20.84% 100% 4.99s 100% main.main Than

[go-nuts] Re: pprof CPU profiles missing inlined frames

2024-02-17 Thread 'Keith Randall' via golang-nuts
This is a problem with your test. pprof is correct here. Since you never use n, when double is inlined its body is compiled completely away. On Thursday, February 15, 2024 at 10:18:07 PM UTC-8 Prashant V wrote: > Is it expected that CPU profiles taken with pprof don't include inlined > frames?