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

2024-02-17 Thread Prashant V
n.main Thank you On Saturday 17 February 2024 at 09:27:03 UTC-8 Keith Randall wrote: > 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-

[go-nuts] pprof CPU profiles missing inlined frames

2024-02-15 Thread Prashant V
Is it expected that CPU profiles taken with pprof don't include inlined frames? With a simple repro , when the `double` function has `go:noinline`, then the pprof shows the double function as expected, 3.34s 67.07% 67.07% 4.98s 100% main.main