Statistics
| Branch: | Revision:

root / trace-events @ 7a39fe58

History | View | Annotate | Download (15.7 kB)

# Date Author Comment
9363ee31 02/01/2011 11:22 pm Anthony Liguori

Merge remote branch 'spice/spice.v29.pull' into staging

Conflicts:
trace-events

3f10bcbb 01/24/2011 10:54 pm Fabien Chouteau

SPARC: Emulation of GRLIB IRQMP

This device exposes two parameters:
- set_pil_in (ptr) : A function to set the pil_in of the SPARC CPU
- set_pil_in_opaque (ptr) : Opaque argument of the set_pil_in function

Emulation of GrLib devices is base on the GRLIB IP Core User's Manual:...

8b1e1320 01/24/2011 10:54 pm Fabien Chouteau

SPARC: Emulation of GRLIB APB UART

This device exposes one parameter:
- chardev (ptr) : Pointer to a qemu character device

Emulation of GrLib devices is base on the GRLIB IP Core User's Manual:
http://www.gaisler.com/products/grlib/grip.pdf

Signed-off-by: Fabien Chouteau <>...

b04d9890 01/24/2011 10:54 pm Fabien Chouteau

SPARC: Emulation of Leon3

Leon3 is an open-source VHDL System-On-Chip, well known in space industry (more
information on http://www.gaisler.com).

Leon3 is made of multiple components available in the GrLib VHDL library.
Three devices are implemented: uart, timers and IRQ manager....

0f3a4a01 01/24/2011 10:54 pm Fabien Chouteau

SPARC: Emulation of GRLIB GPTimer

This device exposes three parameters:
- frequency (uint32) : The system frequency
- irq-line (uint32) : IRQ line number for the first timer
(others use irq-line + 1, irq-line + 2...)
- nr-timers (uint32) : Number of timers...

cbcc6336 01/24/2011 04:41 pm Alon Levy

spice: add chardev (v5)

Adding a chardev backend for spice, where spice determines what
to do with it based on the name attribute given during chardev creation.
For usage by spice vdagent in conjunction with a properly named
virtio-serial device, and future smartcard channel usage....

25620cba 01/11/2011 06:15 pm Gerd Hoffmann

usb: add device qualifier support

Add support for device_qualifier and other_speed_config descriptors.
These are used to query the "other speed" configuration of usb 2.0
devices, i.e. in high-speed mode they return the full-speed
configuration and visa versa....

41c6abbd 01/11/2011 04:56 pm Gerd Hoffmann

usb: move USB_REQ_SET_ADDRESS handling to common code

USB_REQ_SET_ADDRESS handling is identical in all emulated devices.
Move it to common code.

Signed-off-by: Gerd Hoffmann <>

a980a065 01/11/2011 04:56 pm Gerd Hoffmann

usb: move USB_REQ_{GET,SET}_CONFIGURATION handling to common code

This patch adds fields to the USBDevice struct for the current
speed (hard-wired to full speed for now) and current device
configuration. Also a init function is added which inializes
these fields. This allows USB_REQ_{GET,SET}_CONFIGURATION...

ed5a83dd 01/11/2011 04:56 pm Gerd Hoffmann

usb: move remote wakeup handling to common code

This patch moves setting and clearing the remote_wakeup feature
bit (via USB_REQ_{SET,CLEAR}_FEATURE) to common code. Also
USB_REQ_GET_STATUS handling is moved to common code.

Signed-off-by: Gerd Hoffmann <>

37fb59d3 01/11/2011 04:56 pm Gerd Hoffmann

usb: data structs and helpers for usb descriptors.

This patch adds hw/usb-desc.[ch] files. They carry data structures
for various usb descriptors and helper functions to generate usb
packets from the structures.

The intention is to have a internal representation of the device...

298800ca 12/17/2010 05:11 pm Stefan Hajnoczi

qed: Table, L2 cache, and cluster functions

This patch adds code to look up data cluster offsets in the image via
the L1/L2 tables. The L2 tables are writethrough cached in memory for
performance (each read/write requires a lookup so it is essential to
cache the tables)....

eabba580 12/17/2010 05:11 pm Stefan Hajnoczi

qed: Read/write support

This patch implements the read/write state machine. Operations are
fully asynchronous and multiple operations may be active at any time.

Allocating writes lock tables to ensure metadata updates do not
interfere with each other. If two allocating writes need to update the...

94b0b5ff 11/21/2010 05:16 pm Stefan Hajnoczi

trace: Trace vm_start()/vm_stop()

VM state change notifications are invoked from vm_start()/vm_stop().
Trace these state changes so we can reason about the state of the VM
from trace output.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Anthony Liguori <>

97bf4851 10/31/2010 11:24 am Blue Swirl

sparc32: convert debug printf statements to tracepoints

Replace debug printf statements with tracepoints.

Signed-off-by: Blue Swirl <>

d8023f31 10/20/2010 07:41 pm Blue Swirl

apic: convert debug printf statements to tracepoints

Replace debug printf statements with tracepoints.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Blue Swirl <>

bbf0a440 10/09/2010 11:17 am Stefan Hajnoczi

trace: Trace bdrv_aio_{readv,writev}

Observing block layer aio readv/writev operations is useful for
debugging image formats or understanding guest disk I/O patterns.

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Blue Swirl <>

9a85d394 10/09/2010 11:16 am Stefan Hajnoczi

trace: Use portable format strings

It is not portable to use "%ld" for int64_t because int64_t may have
type long on 64-bit platforms and long long on 32-bit platforms. Use
the standard library PRId64 macros to keep format strings portable.

Signed-off-by: Stefan Hajnoczi <>...

dda85211 09/10/2010 11:54 pm Blue Swirl

trace: fix a typo

There is no qemu_valloc() but qemu_vmalloc().

Signed-off-by: Blue Swirl <>

cd245a19 09/10/2010 12:22 am Stefan Hajnoczi

trace: Trace qemu_malloc() and qemu_vmalloc()

It is often useful to instrument memory management functions in order to
find leaks or performance problems. This patch adds trace events for
the memory allocation primitives.

Signed-off-by: Stefan Hajnoczi <>

6d519a5f 09/10/2010 12:22 am Stefan Hajnoczi

trace: Trace virtio-blk, multiwrite, and paio_submit

This patch adds trace events that make it possible to observe
virtio-blk.

Signed-off-by: Stefan Hajnoczi <>

64979a4d 09/10/2010 12:22 am Stefan Hajnoczi

trace: Trace virtqueue operations

This patch adds trace events for virtqueue operations including
adding/removing buffers, notifying the guest, and receiving a notify
from the guest.

Signed-off-by: Stefan Hajnoczi <>

bd3c9aa5 09/10/2010 12:22 am Prerna Saxena

trace: Trace port IO

Signed-off-by: Prerna Saxena

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

62dd89de 09/10/2010 12:22 am Prerna Saxena

trace: Trace entry point of balloon request handler

Signed-off-by: Prerna Saxena

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>

94a420b1 09/10/2010 12:22 am Stefan Hajnoczi

trace: Add trace-events file for declaring trace events

This patch introduces the trace-events file where trace events can be
declared like so:

qemu_malloc(size_t size) "size %zu"
qemu_free(void *ptr) "ptr %p"

These trace event declarations are processed by a new tool called...

1e2cf2bc 09/10/2010 12:22 am Stefan Hajnoczi

trace: Support disabled events in trace-events

Sometimes it is useful to disable a trace event. Removing the event
from trace-events is not enough since source code will call the
trace_*() function for the event.

This patch makes it easy to build without specific trace events by...