struct ThreadRecord

Defined at line 280 of file ../../src/developer/debug/ipc/records.h

Public Members

ProcessThreadId id
basic_string name
State state
BlockedReason blocked_reason
StackAmount stack_amount
vector frames

Public Methods

const char * StateToString (State )

Defined at line 109 of file ../../src/developer/debug/ipc/records.cc

const char * BlockedReasonToString (BlockedReason )

Defined at line 131 of file ../../src/developer/debug/ipc/records.cc

void Serialize (Serializer & ser, uint32_t ver)

Defined at line 347 of file ../../src/developer/debug/ipc/records.h

Enumerations

enum State
Name Value
kNew 0
kRunning 1
kSuspended 2
kBlocked 3
kDying 4
kDead 5
kCoreDump 6
kLast 7

Defined at line 281 of file ../../src/developer/debug/ipc/records.h

enum BlockedReason
Name Value
kNotBlocked 0
kException 1
kSleeping 2
kFutex 3
kPort 4
kChannel 5
kWaitOne 6
kWaitMany 7
kInterrupt 8
kPager 9
kLast 10

Defined at line 294 of file ../../src/developer/debug/ipc/records.h

enum StackAmount
Name Value
kNone 0
kMinimal 1
kFull 2
kLast 3

Indicates how much of the stack was attempted to be retrieved in this

call. This doesn't indicate how many stack frames were actually retrieved.

For example, there could be no stack frames because they weren't

requested, or there could be no stack frames due to an error.

Defined at line 315 of file ../../src/developer/debug/ipc/records.h