Only run the minimal amount of commands, as executing a command can be costly.
In the sequence reset() -> start(), we only need to get the output of dmesg upon start() to know what part of the log will be ignored (everything before the call to start()). There is no need to perform that upon reset() since the sequence:
Only run the minimal amount of commands, as executing a command can be costly.
In the sequence reset() -> start(), we only need to get the output of dmesg upon start() to know what part of the log will be ignored (everything before the call to start()). There is no need to perform that upon reset() since the sequence:
is anyway equivalent to:
So reset() can essentially be a no-op and the actual reset logic lives in start().