Commit Graph

6 Commits

Author SHA1 Message Date
b5f3bd2b26 libsysprof-profiler: buffer controlfd data to intermediate memfd
This ensures that we don't clobber things by writing them without possible
translation. That is problematic when each controlfd process might have
it's own counter registration or JIT maps as they could collide with the
main writer's own state.

This fixes some situations where the counter data was coming in with
erroneous values.
2023-06-27 15:02:30 -07:00
ff490eb1fd libsysprof-profile: handle GIOStream properly 2023-06-02 16:49:56 -07:00
62071ff56f libsysprof-profile: bridge ring data to capture file 2023-05-26 17:07:26 -07:00
55353aa185 libsysprof-profile: add record vfunc scaffolding
We still need to create the ring buffer and the source to stream it into
the capture writer, but that will come soon.
2023-05-26 16:32:17 -07:00
1e3ad3982d libsysprof-profile: implement prepare vfunc
This doesn't start reading from the input stream, but does get things into
place until we actually start processing the recording. When we get a
record vfunc, we will do the input processing.
2023-05-26 15:41:58 -07:00
11aa39f151 libsysprof-profile: add scaffolding for controlfd source
This is internal to the profile and will always be active when running
subprocesses with Sysprof.
2023-05-26 12:18:59 -07:00