lisa.trace.PrintTxtEventParser#
- class lisa.trace.PrintTxtEventParser(event, func_field, content_field)[source]#
Bases:
TxtEventParserEvent parser for the folling events, displayed in non-raw format by
trace-cmd:printbprintbputs
Note
bputsandprintcould be parsed in raw format, but that would make them harder to parse (function resolution needed), andbprintis just impossible to parse in raw format, since the data to interpolate the format string with are not displayed bytrace-cmd.Attributes
PARSER_REGEX_TERMINALSinheritedSnippets of regex to be used in building more complex regexes in textual trace parsers.
Properties
bytes_regexinherited
Attributes#
- PrintTxtEventParser.PARSER_REGEX_TERMINALS = {'blank': ' +', 'floating': '\\d+\\.\\d+', 'identifier': '\\w+', 'integer': '\\d+'}#
Inherited attribute, see
lisa.trace.EventParserBase.PARSER_REGEX_TERMINALSSnippets 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