Public Member Functions | |
def | __init__ |
def | add_entry |
def | update_subentries_dict |
def | parse |
def | parse_header |
def | parse_entry |
def | parse_subentries |
def | parse_subentry |
def | skip_separator |
def | match_header |
def | match_separator |
def | match_primary |
def | match_secondary |
Public Attributes | |
entries | |
entry_re | |
Static Private Attributes | |
dictionary | _fields_re |
Parser for oprofile callgraph output. See also: - http://oprofile.sourceforge.net/doc/opreport.html#opreport-callgraph
Definition at line 1023 of file gprof2dot.py.
def gprof2dot.OprofileParser.__init__ | ( | self, | |
infile | |||
) |
Reimplemented from gprof2dot.LineParser.
Definition at line 1039 of file gprof2dot.py.
def gprof2dot.OprofileParser.add_entry | ( | self, | |
callers, | |||
function, | |||
callees | |||
) |
Definition at line 1044 of file gprof2dot.py.
References gprof2dot.OprofileParser.entries, and gprof2dot.OprofileParser.update_subentries_dict().
Referenced by gprof2dot.SharkParser.parse(), and gprof2dot.OprofileParser.parse_entry().
def gprof2dot.OprofileParser.match_header | ( | self | ) |
Definition at line 1174 of file gprof2dot.py.
References gprof2dot.LineParser.lookahead().
Referenced by gprof2dot.OprofileParser.parse_header().
def gprof2dot.OprofileParser.match_primary | ( | self | ) |
Definition at line 1182 of file gprof2dot.py.
References gprof2dot.LineParser.lookahead().
Referenced by gprof2dot.OprofileParser.parse_entry().
def gprof2dot.OprofileParser.match_secondary | ( | self | ) |
Definition at line 1186 of file gprof2dot.py.
References gprof2dot.LineParser.lookahead().
Referenced by gprof2dot.OprofileParser.parse_subentries().
def gprof2dot.OprofileParser.match_separator | ( | self | ) |
Definition at line 1178 of file gprof2dot.py.
References gprof2dot.LineParser.lookahead().
Referenced by gprof2dot.OprofileParser.skip_separator().
def gprof2dot.OprofileParser.parse | ( | self | ) |
Reimplemented from gprof2dot.Parser.
Definition at line 1064 of file gprof2dot.py.
References gprof2dot.LineParser.lookahead(), gprof2dot.OprofileParser.parse_entry(), gprof2dot.OprofileParser.parse_header(), and gprof2dot.LineParser.readline().
def gprof2dot.OprofileParser.parse_entry | ( | self | ) |
Definition at line 1117 of file gprof2dot.py.
References gprof2dot.OprofileParser.add_entry(), gprof2dot.OprofileParser.match_primary(), gprof2dot.OprofileParser.parse_subentries(), gprof2dot.OprofileParser.parse_subentry(), and gprof2dot.OprofileParser.skip_separator().
Referenced by gprof2dot.OprofileParser.parse().
def gprof2dot.OprofileParser.parse_header | ( | self | ) |
Definition at line 1108 of file gprof2dot.py.
References gprof2dot.OprofileParser._fields_re, gprof2dot.LineParser.consume(), gprof2dot.OprofileParser.entry_re, gprof2dot.LineParser.lookahead(), gprof2dot.OprofileParser.match_header(), and gprof2dot.OprofileParser.skip_separator().
Referenced by gprof2dot.OprofileParser.parse().
def gprof2dot.OprofileParser.parse_subentries | ( | self | ) |
Definition at line 1126 of file gprof2dot.py.
References gprof2dot.OprofileParser.match_secondary(), and gprof2dot.OprofileParser.parse_subentry().
Referenced by gprof2dot.OprofileParser.parse_entry().
def gprof2dot.OprofileParser.parse_subentry | ( | self | ) |
Definition at line 1133 of file gprof2dot.py.
References gprof2dot.LineParser.consume().
Referenced by gprof2dot.OprofileParser.parse_entry(), and gprof2dot.OprofileParser.parse_subentries().
def gprof2dot.OprofileParser.skip_separator | ( | self | ) |
Definition at line 1169 of file gprof2dot.py.
References gprof2dot.LineParser.consume(), and gprof2dot.OprofileParser.match_separator().
Referenced by gprof2dot.OprofileParser.parse_entry(), and gprof2dot.OprofileParser.parse_header().
def gprof2dot.OprofileParser.update_subentries_dict | ( | self, | |
totals, | |||
partials | |||
) |
Definition at line 1055 of file gprof2dot.py.
Referenced by gprof2dot.OprofileParser.add_entry().
dictionary gprof2dot.OprofileParser._fields_re [static, private] |
Definition at line 1030 of file gprof2dot.py.
Referenced by gprof2dot.OprofileParser.parse_header().
Definition at line 1041 of file gprof2dot.py.
Referenced by gprof2dot.SharkParser.add_callee(), gprof2dot.OprofileParser.add_entry(), and gprof2dot.SharkParser.add_entry().
Definition at line 1042 of file gprof2dot.py.
Referenced by gprof2dot.OprofileParser.parse_header().