libsysprof-profile: add scaffolding for base objects

The goal here is to have a fairly small exposed API surface for profiling
similar to libsysprof-analyze where implementation details are hidden.

 SysprofProfiler - Where you setup your recording
 SysprofInstrument - What you add to a profiler to extract data
 SysprofRecording - Represents an active recording w/ instruments
This commit is contained in:
Christian Hergert
2023-05-25 16:21:40 -07:00
parent 24b876f437
commit 93153d1943
9 changed files with 595 additions and 0 deletions

View File

@ -1,4 +1,7 @@
libsysprof_profile_public_sources = [
'sysprof-instrument.c',
'sysprof-profiler.c',
'sysprof-recording.c',
]
libsysprof_profile_private_sources = [
@ -6,6 +9,10 @@ libsysprof_profile_private_sources = [
libsysprof_profile_public_headers = [
'sysprof-profile.h',
'sysprof-instrument.h',
'sysprof-profiler.h',
'sysprof-recording.h',
]
libsysprof_profile_deps = [