| От | Neil Conway |
|---|---|
| Тема | Re: Tweaking a C Function I wrote |
| Дата | |
| Msg-id | 425473E6.9080605@samurai.com обсуждение исходный текст |
| Ответ на | Tweaking a C Function I wrote (Adam Palmblad <adam@aers.ca>) |
| Ответы |
Re: Tweaking a C Function I wrote
|
| Список | pgsql-performance |
Adam Palmblad wrote: > 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? You're the one with the gprof data, you tell us :) It wouldn't surprise me if gprof didn't get profiling data for dlopen'ed shared libraries (I haven't checked), but I think both oprofile and callgrind should be able to. (If you do decide to use gprof and you're on Linux, be sure to compile Postgres with CFLAGS="-DLINUX_PROFILE", to get valid profiling data.) -Neil
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера