gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
ArmISA::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 44 of file stacktrace.hh.

Constructor & Destructor Documentation

◆ ProcessInfo()

ArmISA::ProcessInfo::ProcessInfo ( ThreadContext _tc)

Member Function Documentation

◆ name()

std::string ArmISA::ProcessInfo::name ( Addr  ksp) const

Definition at line 100 of file stacktrace.cc.

References ThreadContext::getVirtProxy(), name_off, PortProxy::readString(), task(), and tc.

◆ pid()

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

◆ task()

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

Definition at line 70 of file stacktrace.cc.

References X86ISA::base, ThreadContext::getVirtProxy(), ArmISA::GuestByteOrder, PortProxy::read(), task_off, tc, and ULL.

Referenced by name(), and pid().

Member Data Documentation

◆ name_off

int ArmISA::ProcessInfo::name_off
private

Definition at line 53 of file stacktrace.hh.

Referenced by name(), and ProcessInfo().

◆ pid_off

int ArmISA::ProcessInfo::pid_off
private

Definition at line 52 of file stacktrace.hh.

Referenced by pid(), and ProcessInfo().

◆ task_off

int ArmISA::ProcessInfo::task_off
private

Definition at line 51 of file stacktrace.hh.

Referenced by ProcessInfo(), and task().

◆ task_struct_size

int ArmISA::ProcessInfo::task_struct_size
private

Definition at line 50 of file stacktrace.hh.

Referenced by ProcessInfo().

◆ tc

ThreadContext* ArmISA::ProcessInfo::tc
private

Definition at line 47 of file stacktrace.hh.

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

◆ thread_info_size

int ArmISA::ProcessInfo::thread_info_size
private

Definition at line 49 of file stacktrace.hh.

Referenced by ProcessInfo().


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

Generated on Fri Feb 28 2020 16:27:20 for gem5 by doxygen 1.8.13