Il 02/05/2014 17:57, Ulrich Obergfell ha scritto:
This patch moves the 'kvm_pio' tracepoint to emulator_pio_in_emulated()
and emulator_pio_out_emulated(), and it adds an argument (a pointer to
the 'pio_data'). A single 8-bit or 16-bit or 32-bit data item is fetched
from 'pio_data' (depending on 'size'), and the value is included in the
trace record ('val'). If 'count' is greater than one, this is indicated
by the string "(...)" in the trace output.
A difference is that the tracepoint will be reported after an exit to
userspace in the case of "in", rather than before.
The improvement however is noticeable; especially for "out" it allows to
obtain much more information about the state of a device from a long
trace. Applying to kvm/queue, thanks.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html