Getting list of held lwlocks from debugger

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Getting list of held lwlocks from debugger
Дата
Msg-id CAMkU=1yoBfbu0Ptkjv2N6L_7YbBD25bgD=y8DwiJsKOugRF5_Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: Getting list of held lwlocks from debugger
Список pgsql-hackers
Is there an easy way to get a list of held lwlocks out of gdb attached to a core dump (or for that matter attached to a live process)?

I can try manually walking the internal data structure, but I am hoping for something analogous to the way you get memory contexts:

(gdb) p MemoryContextStats(TopMemoryContext)

Cheers,

Jeff

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