Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"

Поиск
Список
Период
Сортировка
От Mohan, Ross
Тема Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"
Дата
Msg-id CC74E7E10A8A054798B6611BD1FEF4D30625DA3B@vamail01.thexchange.com
обсуждение исходный текст
Ответы Re: Building postmaster with Profiling Support WAS "Tweaking a C Function I wrote"  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Building postmaster with Profiling Support WAS "Tweaking a C  (Adam Palmblad <adam@aers.ca>)
Список pgsql-performance
Adam -

Is compiling postmaster with profiling support just a flag
in the build/make? Or is there something more involved?

I'd like to be able to do this in the future and so am
curious about means/methods.

If this is a RTFM, just let me know that (am currently
Reading The F Manual), but if you have any "special sauce"
here, that'd be of great interest.

Thanks

-Ross

-----Original Message-----
From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Adam Palmblad
Sent: Wednesday, April 06, 2005 7:23 PM
To: pgsql-performance@postgresql.org
Subject: [PERFORM] Tweaking a C Function I wrote


I wanted to see if I could squeeze any more performance out of a C set
returning function I wrote.  As such, I looked to a profiler.  Is it
possible to get profile information on the function I wrote?  I've got
postmaster and my function compiled with profiling support, and can find
the gmon.out files... can I actually look at the call tree that occurs
when my function is being executed or will I be limited to viewing calls
to functions in the postmaster binary?

-Adam


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Joel Fradkin"
Дата:
Сообщение: Any way to speed this up?
Следующее
От: "Keith Worthington"
Дата:
Сообщение: Re: Any way to speed this up?