On 4 October 2017 at 00:21, milist ujang <ujang.mil...@gmail.com> wrote:
> On Tue, Oct 3, 2017 at 8:49 PM, Craig Ringer <cr...@2ndquadrant.com> wrote:
>>
>>
>> Can you get stacks please?
>>
>> Use -g
>
>
> # Events: 2K cpu-clock
> #
> # Overhead   Command      Shared Object                        Symbol
> # ........  ........  .................  ............................
> #
>     86.96%  postgres  [kernel.kallsyms]  [k] __mutex_lock_common.isra.5
>             |
>             --- __mutex_lock_common.isra.5
>                 read


Unfortunately it looks like you're using a postgres built with
-fomit-frame-pointers (the default) on x64, with an older perf not
built with libunwind. This produces useless stacks.

You may need to recompile with -fno-omit-frame-pointer


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to