| От | Tom Lane |
|---|---|
| Тема | Re: Profiling PostgreSQL |
| Дата | |
| Msg-id | 3712.1400766532@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Profiling PostgreSQL (Dimitris Karampinas <dkarampin@gmail.com>) |
| Ответы |
Re: Profiling PostgreSQL
|
| Список | pgsql-performance |
Dimitris Karampinas <dkarampin@gmail.com> writes:
> Is there any way to get the call stack of a function when profiling
> PostgreSQL with perf ?
> I configured with --enable-debug, I run a benchmark against the system and
> I'm able to identify a bottleneck.
> 40% of the time is spent on an spinlock yet I cannot find out the codepath
> that gets me there.
> Using --call-graph with perf record didn't seem to help.
Call graph data usually isn't trustworthy unless you built the program
with -fno-omit-frame-pointer ...
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера