mbox series

[v2,0/6] gdb updates and cputlb traces

Message ID 20170517145259.28979-1-alex.bennee@linaro.org
Headers show
Series gdb updates and cputlb traces | expand

Message

Alex Bennée May 17, 2017, 2:52 p.m. UTC
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

Comments

Stefan Hajnoczi May 18, 2017, 9:42 a.m. UTC | #1
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>