Re: [Qemu-devel] [PATCH qemu] profiler: Reenable built-in profiler

2015-03-17 Thread Paolo Bonzini
On 16/03/2015 04:57, Alexey Kardashevskiy wrote: > 2ed1ebcf6 "timer: replace time() with QEMU_CLOCK_HOST" broke compile > when configured with --enable-profiler. Turned out the profiler has been > broken for a while. > > This does s/qemu_time/tcg_time/ as the profiler only works in a TCG mode. >

[Qemu-devel] [PATCH qemu] profiler: Reenable built-in profiler

2015-03-15 Thread Alexey Kardashevskiy
2ed1ebcf6 "timer: replace time() with QEMU_CLOCK_HOST" broke compile when configured with --enable-profiler. Turned out the profiler has been broken for a while. This does s/qemu_time/tcg_time/ as the profiler only works in a TCG mode. This also fixes the compile error. This changes profile_getcl