libsysprof-profile: start on cpu usage instrument

The goal here is to do the whole thing on a fiber rather than how we were
doing it before. This just gets the counter registration going, but we
need to follow up with the parsing/lseek/etc code.
This commit is contained in:
Christian Hergert
2023-05-30 18:41:56 -07:00
parent 598a2b7cf7
commit 52684c7a12
5 changed files with 267 additions and 0 deletions

View File

@ -1,4 +1,5 @@
libsysprof_profile_public_sources = [
'sysprof-cpu-usage.c',
'sysprof-instrument.c',
'sysprof-profiler.c',
'sysprof-recording.c',
@ -16,6 +17,7 @@ libsysprof_profile_public_headers = [
'sysprof-profile.h',
'sysprof-instrument.h',
'sysprof-cpu-usage.h',
'sysprof-profiler.h',
'sysprof-recording.h',
'sysprof-spawnable.h',