On 01/25/2010 06:18 PM, Mark Cave-Ayland wrote:
Avi Kivity wrote:
I've had a quick look at this, and I can't work out how to enable
kvm trace in Kconfig. Is there any documentation on how to build
with kvm trace enabled for debugging?
CONFIG_FTRACE, CONFIG_TRACEPOINTS should be sufficient, I think.
2.6.32 or later IIRC.
Hmmm these already look as if they have been enabled. Does the output
go to syslog or does it appear on a device somewhere in /proc?
echo kvm > /sys/kernel/debug/tracing/set_event
(you can also enable just the msr and cpuid events, see
/sys/kernel/debug/tracing/events)
cat /sys/kernel/debug/trace
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html