Attach perf to a running PID, no restart needed. perf record -p arms per-task counters so samples only fire while that task is on-CPU. Efficient when you know the suspect. https://www.valtersit.com/vault/attach-perf-to-a-running-pid-without-restarting-the-service-8e09f0/
#linux #perf #ValtersIT
