-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle PTRACE_EVENT_* events for child processes/threads.
While we so far support clone(2), fork(2), vfork(2), there are other variants we don't. In my testing I found a case where gcc utilized clone3(2), resulting in build-recorder not recording the process creation step. This commit follows a second approach utilizing the signals ptrace(2) delivers to inform the tracer of a new process or thread. Signed-off-by: Fotios Valasiadis <[email protected]>
- Loading branch information
Showing
1 changed file
with
21 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters