qemugdb: coroutine backtrace for coredump
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | scripts/qemugdb: get pthread_self from "info threads" commandscripts/ | +12 | 2 replies | |
| 2/4 | scripts/qemugdb: improve "qemu coroutine" commandscripts/ | +14 | 1 reply | |
| 3/4 | scripts/qemugdb: add coredump.py for coredump patchingscripts/ | +51 | 0 replies | |
| 4/4 | scripts/qemugdb: backtraces for coroutines in coredumpscripts/ | +24 | 1 reply |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/4] qemugdb: coroutine backtrace for coredump
Hi all. Here are some qemugdb enhancements around qemu coroutine command. The main feature is a backtrace for coroutine, when debugging with a coredump file.
The problem is that we can't get coroutine backtrace through obvious way
- set regs
- bt
- restore regs
when debugging a coredump.
So, let's go hard way: clone current coredump file, patch regs in it and execute a subprocess gdb to get backtrace from this patched coredump.
Vladimir Sementsov-Ogievskiy (4):
scripts/qemugdb: get pthread_self from "info threads" command scripts/qemugdb: improve "qemu coroutine" command scripts/qemugdb: add coredump.py for coredump patching scripts/qemugdb: backtraces for coroutines in coredump
scripts/qemugdb/coredump.py | 51 ++++++++++++++++++++++++++++++++++++++++++ scripts/qemugdb/coroutine.py | 53 +++++++++++++++++++++++++++++++++++++++----- 2 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 scripts/qemugdb/coredump.py
Signature · 1 line
2.11.1