Skip to content

Commit 237418d

Browse files
committed
missing flag
1 parent 78668ca commit 237418d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎InternalDocs/profiling_binary_format.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ The status byte is a bitfield encoding thread state at sample time:
212212
| 2 | THREAD_STATUS_UNKNOWN | Thread state could not be determined |
213213
| 3 | THREAD_STATUS_GIL_REQUESTED | Thread is waiting to acquire the GIL |
214214
| 4 | THREAD_STATUS_HAS_EXCEPTION | Thread has a pending exception |
215+
| 5 | THREAD_STATUS_MAIN_THREAD | Thread is the process's main thread |
215216

216217
Multiple flags can be set simultaneously (e.g., a thread can hold the GIL
217218
while also running on CPU). Analysis tools use these to filter samples or

0 commit comments

Comments
 (0)