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

2017-05-18 Thread Stefan Hajnoczi
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 


signature.asc
Description: PGP signature


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

2017-05-17 Thread Alex Bennée
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