replay-dump.py script still chokes quite easily on a trace of Linux boot, so I revived some patches from last year that fix the script and add some test cases for it.
The runstate patch doesn't have a test case (yet), but you can hit the problem by replaying to the machine shutdown and then reverse-stepping. Thanks, Nick Since v1: - Rebase onto script that now has initial v12 support. - avocado tests now also cover replay_kernel.py because replay_linux.py is very heavyweight and flaky. replay_kernel is feasible to run in CI and general hacking. - Rearrange replay-dump.py decoders. Nicholas Piggin (4): replay: allow runstate shutdown->running when replaying trace scripts/replay-dump.py: Update to current rr record format scripts/replay-dump.py: rejig decoders in event number order tests/avocado: excercise scripts/replay-dump.py in replay tests include/sysemu/runstate.h | 1 + replay/replay.c | 2 + system/runstate.c | 19 ++++ scripts/replay-dump.py | 172 +++++++++++++++++++++++---------- tests/avocado/replay_kernel.py | 16 +++ tests/avocado/replay_linux.py | 16 +++ 6 files changed, 173 insertions(+), 53 deletions(-) -- 2.42.0