libsysprof-profile: start on perf event stream

This is a bit different than how we did things previously, but the same
mechanics are involved. Instead of multiple CPU registered together, we'll
just use one-stream-per-cpu.

Partly because I intend to drop support for profiling a single process as
that doesn't really get used much nor does it seem to yield very good
results from perf.
This commit is contained in:
Christian Hergert
2023-06-03 21:28:22 -07:00
parent 0288e937e4
commit 25d629beb4
3 changed files with 577 additions and 0 deletions

View File

@ -12,6 +12,7 @@ libsysprof_profile_public_sources = [
libsysprof_profile_private_sources = [
'mapped-ring-buffer-source.c',
'sysprof-controlfd-instrument.c',
'sysprof-perf-event-stream.c',
'sysprof-podman.c',
'sysprof-polkit.c',
]