[PATCH v2 0/4] replay: minor fixes and tests

Nicholas Piggin posted 4 patches 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240125160835.480488-1-npiggin@gmail.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
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(-)
[PATCH v2 0/4] replay: minor fixes and tests
Posted by Nicholas Piggin 10 months ago
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