[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 04/24] replay: allow runstate shutdown->running when repla
From: |
Alex Bennée |
Subject: |
Re: [PATCH v4 04/24] replay: allow runstate shutdown->running when replaying trace |
Date: |
Tue, 12 Mar 2024 13:26:40 +0000 |
User-agent: |
mu4e 1.12.1; emacs 29.1 |
Nicholas Piggin <npiggin@gmail.com> writes:
> When replaying a trace, it is possible to go from shutdown to running
> with a reverse-debugging step. This can be useful if the problem being
> debugged triggers a reset or shutdown.
>
> This can be tested by making a recording of a machine that shuts down,
> then using -action shutdown=pause when replaying it. Continuing to the
> end of the trace then reverse-stepping in gdb crashes due to invalid
> runstate transition.
>
> Just permitting the transition seems to be all that's necessary for
> reverse-debugging to work well in such a state.
>
> Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
- [PATCH v4 00/24] replay: fixes and new test cases, Nicholas Piggin, 2024/03/11
- [PATCH v4 01/24] scripts/replay-dump.py: Update to current rr record format, Nicholas Piggin, 2024/03/11
- [PATCH v4 02/24] scripts/replay-dump.py: rejig decoders in event number order, Nicholas Piggin, 2024/03/11
- [PATCH v4 03/24] tests/avocado: excercise scripts/replay-dump.py in replay tests, Nicholas Piggin, 2024/03/11
- [PATCH v4 04/24] replay: allow runstate shutdown->running when replaying trace, Nicholas Piggin, 2024/03/11
- Re: [PATCH v4 04/24] replay: allow runstate shutdown->running when replaying trace,
Alex Bennée <=
- [PATCH v4 05/24] Revert "replay: stop us hanging in rr_wait_io_event", Nicholas Piggin, 2024/03/11
[PATCH v4 06/24] chardev: set record/replay on the base device of a muxed device, Nicholas Piggin, 2024/03/11
[PATCH v4 07/24] replay: Fix migration use of clock, Nicholas Piggin, 2024/03/11