]> git.proxmox.com Git - mirror_qemu.git/commit
Simpletrace v2: Support multiple arguments, strings.
authorHarsh Prateek Bora <harsh@linux.vnet.ibm.com>
Wed, 18 Jul 2012 09:45:59 +0000 (15:15 +0530)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 19 Jul 2012 10:34:33 +0000 (11:34 +0100)
commit62bab73213ba885426a781eb2741670b9f3cae36
treeb023df9dba3a24be74dd28296e1610e2d9b4e401
parent88affa1c77c9019f3450f851495997897bd14e40
Simpletrace v2: Support multiple arguments, strings.

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 with strings:
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

Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
scripts/tracetool/backend/simple.py
trace/simple.c
trace/simple.h