mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -294,7 +294,8 @@ sysprof_linux_instrument_prepare (SysprofInstrument *instrument,
|
||||
static DexFuture *
|
||||
sysprof_linux_instrument_process_started (SysprofInstrument *instrument,
|
||||
SysprofRecording *recording,
|
||||
int pid)
|
||||
int pid,
|
||||
const char *comm)
|
||||
{
|
||||
g_assert (SYSPROF_IS_INSTRUMENT (instrument));
|
||||
g_assert (SYSPROF_IS_RECORDING (recording));
|
||||
|
||||
Reference in New Issue
Block a user