Re: profiling on win32

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: profiling on win32
Date: 2005-08-26 15:08:06
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB3417DD1F2@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

> "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> writes:
> > 4. to compile postgresql for profiling (assumes you already have
mingw,
> > etc. installed).
> > a. do make clean, make, and make install as normal.
> > b. edit makefile.global and add -pg to the end of cflags line.
> > c. do make clean, and make, and make install of just the backend.
you
> > can do this by running make from backend folder.
>
> You shouldn't have to touch Makefile.global; there's a parameter built
> into the makefiles for this. Just do
>
> cd .../src/backend
> make clean
> make PROFILE="-pg" all
>
> (Quoting syntax might be different on Windows, but as long as it's
> GNU make I'd expect this to work.)

That works as-is in the msys shell. cool.
Merlin

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Merlin Moncure 2005-09-07 13:08:18 Re: [PERFORM] insert performance for win32
Previous Message Tom Lane 2005-08-26 04:45:52 Re: profiling on win32