Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites |
| Дата | |
| Msg-id | 12132.1170309580@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [pgsql-patches] Patch to avoid gprof profilingoverwrites (Mark Kirkwood <markir@paradise.net.nz>) |
| Ответы |
Re: [pgsql-patches] Patch to avoid gprof
profilingoverwrites
Re: [pgsql-patches] Patch to avoid gprofprofilingoverwrites |
| Список | pgsql-patches |
Mark Kirkwood <markir@paradise.net.nz> writes:
> Right - but LINUX_PROFILE was added to correct Linux specific oddities
> with the time counter accumulation, whereas your patch is not Linux
> specific at all. So I think a more representative symbol is required.
Yeah, that was my problem with the patch too. The issue that it's
addressing isn't Linux-specific in the least.
Is there a way to detect via #if that profiling is enabled? I wouldn't
expect a really portable answer, but maybe there's something that works
for gcc?
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера