|
Linux Kernel
3.7.1
|
Public Member Functions | |
| def | __init__ |
| def | calls |
| def | getParent |
| def | __repr__ |
Static Public Attributes | |
| ROOT None | |
This class provides a tree representation of the functions
call stack. If a function has no parent in the kernel (interrupt,
syscall, kernel thread...) then it is attached to a virtual parent
called ROOT.
Definition at line 27 of file draw_functrace.py.
Definition at line 35 of file draw_functrace.py.
| def __repr__ | ( | self | ) |
Definition at line 67 of file draw_functrace.py.
| def calls | ( | self, | |
| func, | |||
| calltime | |||
| ) |
If a function calls another one, call this method to insert it
into the tree at the appropriate place.
@return: A reference to the newly created child node.
Definition at line 44 of file draw_functrace.py.
| def getParent | ( | self, | |
| func | |||
| ) |
Retrieve the last parent of the current node that
has the name given by func. If this function is not
on a parent, then create it as new child of root
@return: A reference to the parent.
Definition at line 53 of file draw_functrace.py.
|
static |
Definition at line 33 of file draw_functrace.py.
1.8.2