Re: static tracepoints in pgstat_report_wait_start/end

Поиск
Список
Период
Сортировка
От Frits Hoogland
Тема Re: static tracepoints in pgstat_report_wait_start/end
Дата
Msg-id 8C41E326-3CCE-4B08-ADC7-0FFF514DB538@gmail.com
обсуждение исходный текст
Ответ на static tracepoints in pgstat_report_wait_start/end  (Jeremy Schneider <schneider@ardentperf.com>)
Список pgsql-hackers
I found that the relevant functions that indicate the waits are optimized out when postgres is compiled.
And thus simply trying to use the functions that mark the start and end of a wait event cannot easily
be used.

But I am eager to see if anyone has come up with a solution to do this in a compiled and optimized 
postgres version.

Frits Hoogland




On 10 Jan 2026, at 05:22, Jeremy Schneider <schneider@ardentperf.com> wrote:

has anyone here tried static tracepoints inside
pgstat_report_wait_start/end to enable tools like ebpf to do full
tracing of wait events?

-Jeremy


--
To know the thoughts and deeds that have marked man's progress is to
feel the great heart throbs of humanity through the centuries; and if
one does not feel in these pulsations a heavenward striving, one must
indeed be deaf to the harmonies of life.

Helen Keller, The Story Of My Life, 1902, 1903, 1905, introduction by
Ralph Barton Perry (Garden City, NY: Doubleday & Company, 1954), p90.




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