gem5
v20.0.0.2
|
#include <stacktrace.hh>
Public Member Functions | |
ProcessInfo (ThreadContext *_tc) | |
Addr | task (Addr ksp) const |
int | pid (Addr ksp) const |
std::string | name (Addr ksp) const |
Private Attributes | |
ThreadContext * | tc |
int | task_off |
int | pid_off |
int | name_off |
Definition at line 41 of file stacktrace.hh.
ProcessInfo::ProcessInfo | ( | ThreadContext * | _tc | ) |
Definition at line 43 of file stacktrace.cc.
std::string ProcessInfo::name | ( | Addr | ksp | ) | const |
Definition at line 77 of file stacktrace.cc.
References ThreadContext::getVirtProxy(), name_off, PortProxy::readString(), task(), and tc.
int ProcessInfo::pid | ( | Addr | ksp | ) | const |
Definition at line 62 of file stacktrace.cc.
References ThreadContext::getVirtProxy(), MipsISA::GuestByteOrder, pid_off, PortProxy::read(), task(), and tc.
Definition at line 47 of file stacktrace.cc.
References X86ISA::base, ThreadContext::getVirtProxy(), MipsISA::GuestByteOrder, PortProxy::read(), task_off, tc, and ULL.
|
private |
Definition at line 48 of file stacktrace.hh.
Referenced by name().
|
private |
Definition at line 47 of file stacktrace.hh.
Referenced by pid().
|
private |
Definition at line 46 of file stacktrace.hh.
Referenced by task().
|
private |
Definition at line 44 of file stacktrace.hh.