wait-for-log [object] [-re] ["substring"] [type]
<conf_object>.wait-for-log [-re] ["substring"] [type]
Postpones execution of a script branch until a specified log message is emitted. The type, and substring arguments can be used to wait for log messages matching certain conditions. The object argument of the command can be used to wait for a log message on a certain object. The substring argument is a string to wait for. It is interpreted as a regular expression, as defined by the re module in Python, if the -re flag is specified.
When used in an expression, the commands returns a list with the following information: [<clock-object>, <seconds>, <cycles>, <log-level>, <log-type>, <log-group>, <object>, <message>]. The first three entries form a time stamp for when the log entry was generated.
Note that the log level must be set high enough for the message to be generated or it cannot be waited on.
Simics Core
bp.log.wait-for,
<bp-manager.log>.break,
log-level,
log-type,
match-string