All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Simpletrace v2: Support multiple args, strings.
@ 2012-05-03 17:56 Harsh Prateek Bora
  2012-05-03 17:56 ` [Qemu-devel] [PATCH 1/3] monitor: remove unused do_info_trace Harsh Prateek Bora
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Harsh Prateek Bora @ 2012-05-03 17:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Harsh Prateek Bora, aneesh.kumar, stefanha

Existing simpletrace backend allows to trace at max 6 args and does not
support strings. This newer tracelog format gets rid of fixed size records
and therefore allows to trace variable number of args including strings.

Sample trace:
v9fs_version 0.000 tag=0xffff id=0x64 msize=0x2000 version=9P2000.L
v9fs_version_return 6.705 tag=0xffff id=0x64 msize=0x2000 version=9P2000.L
v9fs_attach 174.467 tag=0x1 id=0x68 fid=0x0 afid=0xffffffffffffffff uname=nobody aname=
v9fs_attach_return 4720.454 tag=0x1 id=0x68 type=0xffffffffffffff80 version=0x4f2a4dd0  path=0x220ea6


Harsh Prateek Bora (3):
  monitor: remove unused do_info_trace
  simpletrace v2: Support var number of args, strings.
  Update simpletrace.py to support new v2 log format

 monitor.c                           |   16 ---
 scripts/simpletrace.py              |  138 ++++++++++++++------
 scripts/tracetool/backend/simple.py |   84 +++++++++---
 trace/simple.c                      |  246 ++++++++++++++++++++---------------
 trace/simple.h                      |   39 +++++-
 5 files changed, 335 insertions(+), 188 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-08  5:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-03 17:56 [Qemu-devel] [PATCH 0/3] Simpletrace v2: Support multiple args, strings Harsh Prateek Bora
2012-05-03 17:56 ` [Qemu-devel] [PATCH 1/3] monitor: remove unused do_info_trace Harsh Prateek Bora
2012-05-07 13:46   ` Lluís Vilanova
2012-05-08  5:11     ` Harsh Bora
2012-05-03 17:56 ` [Qemu-devel] [PATCH 2/3] simpletrace v2: Support var number of args, strings Harsh Prateek Bora
2012-05-03 17:56 ` [Qemu-devel] [PATCH 3/3] Update simpletrace.py to support new v2 log format Harsh Prateek Bora

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.