Enable ptrace tracing

Category: linux, year: 2018

With most Linux distro default settings, it’s normally not possible for applications like perf, vtune or gdb to attach to already-running processes and control/examine them, so to enable that (for the current session only), the following can be run in the terminal:

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope



Archive
Full Index

linux (4)
cpp (3)
rust (2)
macos (1)
matplotlib (1)
unix (1)


Tags List