qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v3 04/10] vfio: simplifed DPRINTF calls using devi


From: Alexander Graf
Subject: Re: [Qemu-devel] [RFC v3 04/10] vfio: simplifed DPRINTF calls using device name
Date: Wed, 25 Jun 2014 23:22:00 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0


On 02.06.14 09:49, Eric Auger wrote:
This patch gets benefit from the new VFIODevice name field.

Occurences of
DPRINTF("%s(%04x:%02x:%02x.%x) ...", __func__, vdev->host.domain,
         vdev->host.bus, vdev->host.slot, vdev->host.function, ...)
are replaced by
DPRINTF("%s(%s ...", __func__, vdev->vdev.name, ...).

name is built using "%04x:%02x:%02x.%01x" format string.

Signed-off-by: Eric Auger <address@hidden>

Just convert them to trace points?


Alex




reply via email to

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