I am trying to profile one of the vllm worker processes. Using the following command line:
py-spy record -p 797038 -o vllm_perf1.txt --format raw --native
Error: failed to get os threadid
py-spy version: py-spy 0.4.0
I am running it as root.
Is there a way to run it in native? The profiler works if I remove the --native option.