py-spy icon indicating copy to clipboard operation
py-spy copied to clipboard

Idle information on record

Open narroyo1 opened this issue 2 years ago • 2 comments

Is it possible to use the record command and have idle information in the output? Possibly by aggregating idle traces from active traces?

narroyo1 avatar Jan 05 '23 20:01 narroyo1

You can pass --idle to the command line arguments, and those frames won't get filtered out from the results - does this work for you?

benfred avatar Jan 17 '23 21:01 benfred

Thank you for your reply. What I would like is that the output showed the thread state with the stacks, similar to what you get when using "py-spy dump":

Thread <tid> (idle)
    ...

but when using "py-spy record". Is there a setting for this?

narroyo1 avatar Jan 18 '23 21:01 narroyo1