gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
X86ISA::ProcessInfo Class Reference

#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

ThreadContexttc
 
int thread_info_size
 
int task_struct_size
 
int task_off
 
int pid_off
 
int name_off
 

Detailed Description

Definition at line 43 of file stacktrace.hh.

Constructor & Destructor Documentation

X86ISA::ProcessInfo::ProcessInfo ( ThreadContext _tc)

Member Function Documentation

string X86ISA::ProcessInfo::name ( Addr  ksp) const

Definition at line 106 of file stacktrace.cc.

References CopyStringOut(), name_off, task(), and tc.

int X86ISA::ProcessInfo::pid ( Addr  ksp) const

Definition at line 91 of file stacktrace.cc.

References ThreadContext::getVirtProxy(), pid_off, task(), and tc.

Addr X86ISA::ProcessInfo::task ( Addr  ksp) const

Definition at line 76 of file stacktrace.cc.

References X86ISA::base, ThreadContext::getVirtProxy(), task_off, tc, and ULL.

Referenced by name(), and pid().

Member Data Documentation

int X86ISA::ProcessInfo::name_off
private

Definition at line 52 of file stacktrace.hh.

Referenced by name(), and ProcessInfo().

int X86ISA::ProcessInfo::pid_off
private

Definition at line 51 of file stacktrace.hh.

Referenced by pid(), and ProcessInfo().

int X86ISA::ProcessInfo::task_off
private

Definition at line 50 of file stacktrace.hh.

Referenced by ProcessInfo(), and task().

int X86ISA::ProcessInfo::task_struct_size
private

Definition at line 49 of file stacktrace.hh.

Referenced by ProcessInfo().

ThreadContext* X86ISA::ProcessInfo::tc
private

Definition at line 46 of file stacktrace.hh.

Referenced by name(), pid(), ProcessInfo(), and task().

int X86ISA::ProcessInfo::thread_info_size
private

Definition at line 48 of file stacktrace.hh.

Referenced by ProcessInfo().


The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:42 for gem5 by doxygen 1.8.6