lisa.trace.PrintTxtEventParser#
- class lisa.trace.PrintTxtEventParser(event, func_field, content_field)[source]#
Bases:
TxtEventParser
Event parser for the folling events, displayed in non-raw format by
trace-cmd
:print
bprint
bputs
Note
bputs
andprint
could be parsed in raw format, but that would make them harder to parse (function resolution needed), andbprint
is just impossible to parse in raw format, since the data to interpolate the format string with are not displayed bytrace-cmd
.Attributes
PARSER_REGEX_TERMINALS
inheritedSnippets of regex to be used in building more complex regexes in textual trace parsers.
Properties
bytes_regex
inherited
Attributes#
- PrintTxtEventParser.PARSER_REGEX_TERMINALS = {'blank': ' +', 'floating': '\\d+\\.\\d+', 'identifier': '\\w+', 'integer': '\\d+'}#
Inherited attribute, see
lisa.trace.EventParserBase.PARSER_REGEX_TERMINALS
Snippets of regex to be used in building more complex regexes in textual trace parsers.
Properties#
- property PrintTxtEventParser.bytes_regex#
Inherited property, see
lisa.trace.TxtEventParser.bytes_regex