libsysprof-profile: add SysprofMemoryUsage

Ports sysprof-memory-source.c to the new SysprofInstrument API.
This commit is contained in:
Christian Hergert
2023-06-02 18:01:18 -07:00
parent 37ad704186
commit 0288e937e4
5 changed files with 348 additions and 0 deletions

View File

@ -2,6 +2,7 @@ libsysprof_profile_public_sources = [
'sysprof-cpu-usage.c',
'sysprof-disk-usage.c',
'sysprof-instrument.c',
'sysprof-memory-usage.c',
'sysprof-network-usage.c',
'sysprof-profiler.c',
'sysprof-recording.c',
@ -21,6 +22,7 @@ libsysprof_profile_public_headers = [
'sysprof-cpu-usage.h',
'sysprof-disk-usage.h',
'sysprof-instrument.h',
'sysprof-memory-usage.h',
'sysprof-network-usage.h',
'sysprof-profiler.h',
'sysprof-recording.h',