pulse-server: add /core message handlers for memory debugging

Add malloc-info and malloc-trim message handlers.
This commit is contained in:
Wim Taymans 2023-10-06 16:49:03 +02:00
parent e8f17814ba
commit 4b27807292
2 changed files with 11 additions and 0 deletions

View file

@ -436,6 +436,7 @@ check_functions = [
['sigabbrev_np', '#include <string.h>', ['-D_GNU_SOURCE'], []],
['XSetIOErrorExitHandler', '#include <X11/Xlib.h>', [], [x11_dep]],
['malloc_trim', '#include <malloc.h>', [], []],
['malloc_info', '#include <malloc.h>', [], []],
]
foreach f : check_functions