Linux Perf
attr.Test Class Reference
Inheritance diagram for attr.Test:
Inheritance graph
Collaboration diagram for attr.Test:
Collaboration graph

Public Member Functions

def __init__ (self, path, options)
 
def is_event (self, name)
 
def skip_test (self, myarch)
 
def load_events (self, path, events)
 
def run_cmd (self, tempdir)
 
def compare (self, expect, result)
 
def resolve_groups (self, events)
 
def run (self)
 

Public Attributes

 path
 
 test_dir
 
 perf
 
 command
 
 args
 
 ret
 
 arch
 
 expect
 
 result
 

Detailed Description

Definition at line 135 of file attr.py.

Constructor & Destructor Documentation

◆ __init__()

def attr.Test.__init__ (   self,
  path,
  options 
)

Definition at line 136 of file attr.py.

Member Function Documentation

◆ compare()

def attr.Test.compare (   self,
  expect,
  result 
)

Definition at line 232 of file attr.py.

Here is the call graph for this function:

◆ is_event()

def attr.Test.is_event (   self,
  name 
)

Definition at line 164 of file attr.py.

◆ load_events()

def attr.Test.load_events (   self,
  path,
  events 
)

Definition at line 195 of file attr.py.

Here is the call graph for this function:

◆ resolve_groups()

def attr.Test.resolve_groups (   self,
  events 
)

Definition at line 284 of file attr.py.

◆ run()

def attr.Test.run (   self)

Definition at line 296 of file attr.py.

Here is the call graph for this function:

◆ run_cmd()

def attr.Test.run_cmd (   self,
  tempdir 
)

Definition at line 217 of file attr.py.

Here is the call graph for this function:

◆ skip_test()

def attr.Test.skip_test (   self,
  myarch 
)

Definition at line 170 of file attr.py.

Member Data Documentation

◆ arch

attr.Test.arch

Definition at line 154 of file attr.py.

◆ args

attr.Test.args

Definition at line 146 of file attr.py.

◆ command

attr.Test.command

Definition at line 145 of file attr.py.

◆ expect

attr.Test.expect

Definition at line 159 of file attr.py.

◆ path

attr.Test.path

Definition at line 142 of file attr.py.

◆ perf

attr.Test.perf

Definition at line 144 of file attr.py.

◆ result

attr.Test.result

Definition at line 160 of file attr.py.

◆ ret

attr.Test.ret

Definition at line 149 of file attr.py.

◆ test_dir

attr.Test.test_dir

Definition at line 143 of file attr.py.


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