Re: [RFC v3 04/10] vfio: simplifed DPRINTF calls using device name

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

 




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 <eric.auger@xxxxxxxxxx>

Just convert them to trace points?


Alex

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux