libsysprof: rename follow_fork() to follow_process()

This is more of what we want to be doing anyway, we don't care about all
the forks in existence.

Additionally, include the comm[] with the pid so that instruments can take
action based on it.
This commit is contained in:
Christian Hergert
2023-08-28 17:24:27 -07:00
parent 8aa55a7b2d
commit 31547de795
6 changed files with 30 additions and 20 deletions

View File

@ -95,8 +95,9 @@ void _sysprof_recording_add_file_data (SysprofRecording *s
const char *contents,
gssize length,
gboolean compress);
void _sysprof_recording_follow_fork (SysprofRecording *self,
int pid);
void _sysprof_recording_follow_process(SysprofRecording *self,
int pid,
const char *comm);
void _sysprof_recording_diagnostic (SysprofRecording *self,
const char *domain,
const char *format,