libsysprof-profile: add scaffolding for battery charge

This is a SysprofInstrument that will eventually contain the contents of
the sysprof-battery-source.c to get battery charge/rate/etc. Note that
this is different from energy usage which will come from RAPL.
This commit is contained in:
Christian Hergert
2023-06-06 11:19:03 -07:00
parent 3fb1a15eec
commit 200b8acb20
5 changed files with 167 additions and 0 deletions

View File

@ -1,4 +1,5 @@
libsysprof_profile_public_sources = [
'sysprof-battery-charge.c',
'sysprof-cpu-usage.c',
'sysprof-disk-usage.c',
'sysprof-instrument.c',
@ -21,6 +22,7 @@ libsysprof_profile_private_sources = [
libsysprof_profile_public_headers = [
'sysprof-profile.h',
'sysprof-battery-charge.h',
'sysprof-cpu-usage.h',
'sysprof-disk-usage.h',
'sysprof-instrument.h',