qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/2] add tracing of scsi requests


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 2/2] add tracing of scsi requests
Date: Fri, 15 Apr 2011 15:15:31 +0100

On Fri, Apr 15, 2011 at 2:24 PM, Paolo Bonzini <address@hidden> wrote:
> +disable scsi_req_parsed(int target, int lun, int tag, int cmd, const char 
> *cmdname, int mode, int xfer, uint64_t lba) "target %d lun %d tag %d command 
> %d (%s) dir %d length %d lba %"PRIu64""

Tracing strings isn't possible with all trace backends, so we should
avoid it.  It works fine with stderr but other trace backends may not
be in the same address space (they are unable to dereference pointers
to strings) or simply not have the ability to record variable-length
data.

For more info see the trace patches I posted earlier today.

Stefan



reply via email to

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