libsysprof: add leak detector helper

This is a leak detector by finding allocations which do not have a
corresponding free record.
This commit is contained in:
Christian Hergert
2023-08-14 15:56:46 -07:00
parent a27eee8087
commit f7a32750e2
3 changed files with 190 additions and 0 deletions

View File

@ -135,6 +135,7 @@ libsysprof_private_sources = [
'sysprof-document-symbols.c',
'sysprof-elf-loader.c',
'sysprof-elf.c',
'sysprof-leak-detector.c',
'sysprof-maps-parser.c',
'sysprof-mount-device.c',
'sysprof-mount-namespace.c',