[Qemu-devel] [PATCH v2 0/6] gdb updates and cputlb traces

Alex Bennée posted 6 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170517145259.28979-1-alex.bennee@linaro.org
Test checkpatch passed
Test docker passed
Test s390x passed
cputlb.c                                   |  38 +++-
include/exec/cputlb.h                      |   1 -
scripts/analyse-tlb-flushes-simpletrace.py | 144 +++++++++++++++
scripts/qemu-gdb.py                        |   4 +-
scripts/qemugdb/tcg.py                     |  46 +++++
scripts/qemugdb/timers.py                  |  54 ++++++
scripts/replay-dump.py                     | 272 +++++++++++++++++++++++++++++
trace-events                               |   7 +
translate-all.c                            |   1 -
9 files changed, 559 insertions(+), 8 deletions(-)
create mode 100755 scripts/analyse-tlb-flushes-simpletrace.py
create mode 100644 scripts/qemugdb/tcg.py
create mode 100644 scripts/qemugdb/timers.py
create mode 100755 scripts/replay-dump.py
[Qemu-devel] [PATCH v2 0/6] gdb updates and cputlb traces
Posted by Alex Bennée 6 years, 11 months ago
Hi,

Here is an update to the cputlb tracing and also a number of gdbstub
updates. The main changes to the cputlb tracing are making each flush
an explicit event instead of just dumping counts. This means you can
so analysis on the delay from queuing work to scheduling at the cost
of losing the raw count in the MMI interface.

Alex Bennée (6):
  scripts/replay-dump.py: replay log dumper
  scripts/qemu-gdb/timers.py: new helper to dump timer state
  scripts/qemu-gdb/tcg: new helper to dump tcg state
  cputlb: remove tlb_flush_count
  cputlb: add trace events
  new script/analyse-tlb-flushes-simpletrace.py

 cputlb.c                                   |  38 +++-
 include/exec/cputlb.h                      |   1 -
 scripts/analyse-tlb-flushes-simpletrace.py | 144 +++++++++++++++
 scripts/qemu-gdb.py                        |   4 +-
 scripts/qemugdb/tcg.py                     |  46 +++++
 scripts/qemugdb/timers.py                  |  54 ++++++
 scripts/replay-dump.py                     | 272 +++++++++++++++++++++++++++++
 trace-events                               |   7 +
 translate-all.c                            |   1 -
 9 files changed, 559 insertions(+), 8 deletions(-)
 create mode 100755 scripts/analyse-tlb-flushes-simpletrace.py
 create mode 100644 scripts/qemugdb/tcg.py
 create mode 100644 scripts/qemugdb/timers.py
 create mode 100755 scripts/replay-dump.py

-- 
2.11.0


Re: [Qemu-devel] [PATCH v2 0/6] gdb updates and cputlb traces
Posted by Stefan Hajnoczi 6 years, 11 months ago
On Wed, May 17, 2017 at 03:52:53PM +0100, Alex Bennée wrote:
> Hi,
> 
> Here is an update to the cputlb tracing and also a number of gdbstub
> updates. The main changes to the cputlb tracing are making each flush
> an explicit event instead of just dumping counts. This means you can
> so analysis on the delay from queuing work to scheduling at the cost
> of losing the raw count in the MMI interface.
> 
> Alex Bennée (6):
>   scripts/replay-dump.py: replay log dumper
>   scripts/qemu-gdb/timers.py: new helper to dump timer state
>   scripts/qemu-gdb/tcg: new helper to dump tcg state
>   cputlb: remove tlb_flush_count
>   cputlb: add trace events
>   new script/analyse-tlb-flushes-simpletrace.py
> 
>  cputlb.c                                   |  38 +++-
>  include/exec/cputlb.h                      |   1 -
>  scripts/analyse-tlb-flushes-simpletrace.py | 144 +++++++++++++++
>  scripts/qemu-gdb.py                        |   4 +-
>  scripts/qemugdb/tcg.py                     |  46 +++++
>  scripts/qemugdb/timers.py                  |  54 ++++++
>  scripts/replay-dump.py                     | 272 +++++++++++++++++++++++++++++
>  trace-events                               |   7 +
>  translate-all.c                            |   1 -
>  9 files changed, 559 insertions(+), 8 deletions(-)
>  create mode 100755 scripts/analyse-tlb-flushes-simpletrace.py
>  create mode 100644 scripts/qemugdb/tcg.py
>  create mode 100644 scripts/qemugdb/timers.py
>  create mode 100755 scripts/replay-dump.py
> 
> -- 
> 2.11.0
> 

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>