On 2016-08-17 21:17:56 -0300, Alvaro Herrera wrote: > Peter Geoghegan wrote: > > > This doesn't seem that interesting, but not sure what you're looking for. > > > > I also attach cycles flamegraph. > > I may be blind, but what are those write() calls attributed to > heap_form_tuple?
libc isn't compiled with -fno-omit-frame-pointer (and even if, it uses assembly without setup of the frame pointer), so frame pointer based call graphs are wrong through libc. The attributions are based on random stuff in the frame pointer at that point. You either need to use dwarf or lbr to get accurate ones. -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers