Skip to content

py-spy error when profiling vllm with --native flag #822

@raduvin

Description

@raduvin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions