Re: Using Gprof with Postgresql

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Reydan Cankur <reydan(dot)cankur(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Using Gprof with Postgresql
Date: 2009-09-07 17:18:31
Message-ID: f67928030909071018s60b8e5d0gf8aff09363bc3e99@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Sep 7, 2009 at 8:11 AM, Reydan Cankur <reydan(dot)cankur(at)gmail(dot)com>wrote:

> Hi All,
>
> I compile PostgreSQL-8.4.0 with icc and --enable profiling option. I ran
> command psql and create table and make a select then I quit psql and go to
> .../data/gprof folder there are some folders named with numbers (I think
> they are query ids);

They are the process ids (PIDs) of the backend processes.

> all of them are empty. How can I solve this issue?
>

Does your compiler work for profiling in general? Can you compile other
simpler programs for profiling with icc and have it work for them? If so,
how?

I thought gprof was specific to GNU compilers.

Jeff

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2009-09-07 17:24:58 Re: Using Gprof with Postgresql
Previous Message Vratislav Benes 2009-09-07 15:39:12 PSQL 8.4 - partittions - join tables - not optimal plan