|
gem5
v19.0.0.0
|
#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 | thread_info_size |
| int | task_struct_size |
| int | task_off |
| int | pid_off |
| int | name_off |
Definition at line 44 of file stacktrace.hh.
| AlphaISA::ProcessInfo::ProcessInfo | ( | ThreadContext * | _tc | ) |
Definition at line 48 of file stacktrace.cc.
References addr, SymbolTable::findAddress(), ThreadContext::getSystemPtr(), ThreadContext::getVirtProxy(), AlphaISA::GuestByteOrder, System::kernelSymtab, name_off, panic, pid_off, PortProxy::read(), task_off, task_struct_size, tc, and thread_info_size.
| string AlphaISA::ProcessInfo::name | ( | Addr | ksp | ) | const |
Definition at line 107 of file stacktrace.cc.
References ThreadContext::getVirtProxy(), name_off, PortProxy::readString(), task(), and tc.
| int AlphaISA::ProcessInfo::pid | ( | Addr | ksp | ) | const |
Definition at line 92 of file stacktrace.cc.
References ThreadContext::getVirtProxy(), AlphaISA::GuestByteOrder, pid_off, PortProxy::read(), task(), and tc.
Definition at line 77 of file stacktrace.cc.
References X86ISA::base, ThreadContext::getVirtProxy(), AlphaISA::GuestByteOrder, PortProxy::read(), task_off, tc, and ULL.
|
private |
Definition at line 53 of file stacktrace.hh.
Referenced by name(), and ProcessInfo().
|
private |
Definition at line 52 of file stacktrace.hh.
Referenced by pid(), and ProcessInfo().
|
private |
Definition at line 51 of file stacktrace.hh.
Referenced by ProcessInfo(), and task().
|
private |
Definition at line 50 of file stacktrace.hh.
Referenced by ProcessInfo().
|
private |
Definition at line 47 of file stacktrace.hh.
Referenced by name(), pid(), ProcessInfo(), and task().
|
private |
Definition at line 49 of file stacktrace.hh.
Referenced by ProcessInfo().