To extract native stacks in PyPerf, we libunwind-ptrace which invokes ptrace-related operations on the process.
We want PyPerf to remain "read only" with respect to the profiled processes - that is, no accessor that might have any effect on the process is allowed. This means blocking writes, suspends, pauses etc.
We already block some of the accessors, but not all. Let's make sure all accessors that might have any unwanted effects are blocked.
To extract native stacks in PyPerf, we libunwind-ptrace which invokes ptrace-related operations on the process. We want PyPerf to remain "read only" with respect to the profiled processes - that is, no accessor that might have any effect on the process is allowed. This means blocking writes, suspends, pauses etc.
We already block some of the accessors, but not all. Let's make sure all accessors that might have any unwanted effects are blocked.