libsysprof-profile: allow setting performance profile

This allows setting the net.hadess.PowerProfiles during the execution of
the Sysprof run. This is handy if you want to test in a specific mode (such
as performance) but not leave your system in that state.
This commit is contained in:
Christian Hergert
2023-07-07 16:08:43 -07:00
parent 5c65ddf0b2
commit 6b90e48bea
5 changed files with 356 additions and 0 deletions

View File

@ -8,6 +8,7 @@ libsysprof_profile_public_sources = [
'sysprof-memory-usage.c',
'sysprof-malloc-tracing.c',
'sysprof-network-usage.c',
'sysprof-power-profile.c',
'sysprof-profiler.c',
'sysprof-proxied-instrument.c',
'sysprof-recording.c',
@ -37,6 +38,7 @@ libsysprof_profile_public_headers = [
'sysprof-memory-usage.h',
'sysprof-malloc-tracing.h',
'sysprof-network-usage.h',
'sysprof-power-profile.h',
'sysprof-profiler.h',
'sysprof-proxied-instrument.h',
'sysprof-recording.h',