qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH 0/4] simpletrace : support var num/size of args,


From: Harsh Prateek Bora
Subject: [Qemu-devel] [RFC PATCH 0/4] simpletrace : support var num/size of args, strings.
Date: Mon, 2 Jan 2012 12:20:18 +0530

Existing simple trace can log upto 6 args per trace event and does not
support strings in trace record format. Introducing new trace format as
discussed earlier on list to support variable number/size of arguments.
(Ref: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg03426.html)

Basic testing of this patch is successful. Stress testing not yet done.

Apply patches, then run:

make distclean
./configure with --enable-trace-backend=simple
make
sudo make install

TODO: Add suppport for other backends in tracetool.py

Harsh Prateek Bora (4):
  Converting tracetool.sh to tracetool.py
  Makefile and configure changes for tracetool.py
  simpletrace-v2: Handle variable number/size of elements per trace record.
  simpletrace.py: updated log reader script to handle new log format

 Makefile.objs          |    4 +-
 configure              |    4 +-
 monitor.c              |    2 +-
 scripts/simpletrace.py |  110 ++++++++++++++++--
 scripts/tracetool.py   |  299 ++++++++++++++++++++++++++++++++++++++++++++++++
 trace/simple.c         |  178 ++++++++++------------------
 trace/simple.h         |   31 ++++-
 7 files changed, 490 insertions(+), 138 deletions(-)
 create mode 100755 scripts/tracetool.py




reply via email to

[Prev in Thread] Current Thread [Next in Thread]