Re: [HACKERS] Profiling?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Leon <leon(at)udmnet(dot)ru>
Cc: hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Profiling?
Date: 1999-09-27 00:25:58
Message-ID: 199909270025.UAA26569@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Yes, I have done it many times. I profile that postgres process, not
the backend. Look for this in Makefile.global:

# Comment out PROFILE to generate a profile version of the binaries
#PROFILE= -p -non_shared

> Hi!
>
> How do you profile backend? It complains about 'profile timer expired'
> apparently due to waiting on socket. Maybe some compile option is
> missing or there is other trick?
>
> --
> Leon.
> -------
> He knows he'll never have to answer for any of his theories actually
> being put to test. If they were, they would be contaminated by reality.
>
> ************
>

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-09-27 00:31:26 Re: [HACKERS] libpq.rc for Win32
Previous Message Bruce Momjian 1999-09-27 00:24:53 Re: [HACKERS] psql code to be obducted by alien (me)