mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
scripts/qemu-gdb/timers.py: new helper to dump timer state
This introduces the qemu-gdb command "qemu timers" which will dump the state of the main timers in the system. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
f1cd52d891
commit
c24999fa53
2 changed files with 56 additions and 1 deletions
|
@ -26,7 +26,7 @@ import os, sys
|
|||
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
from qemugdb import aio, mtree, coroutine, tcg
|
||||
from qemugdb import aio, mtree, coroutine, tcg, timers
|
||||
|
||||
class QemuCommand(gdb.Command):
|
||||
'''Prefix for QEMU debug support commands'''
|
||||
|
@ -39,6 +39,7 @@ coroutine.CoroutineCommand()
|
|||
mtree.MtreeCommand()
|
||||
aio.HandlersCommand()
|
||||
tcg.TCGLockStatusCommand()
|
||||
timers.TimersCommand()
|
||||
|
||||
coroutine.CoroutineSPFunction()
|
||||
coroutine.CoroutinePCFunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue