mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
cb764d0665
The BQL is acquired via qemu_mutex_lock_iothread(), which makes the profiler assign the associated wait time (i.e. most of BQL wait time) entirely to that function. This loses the original call site information, which does not help diagnose BQL contention. Fix it by tracking the callers explicitly. Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
17 lines
248 B
C
17 lines
248 B
C
#include "qemu/osdep.h"
|
|
#include "qemu-common.h"
|
|
#include "qemu/main-loop.h"
|
|
|
|
bool qemu_mutex_iothread_locked(void)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void qemu_mutex_lock_iothread_impl(const char *file, int line)
|
|
{
|
|
}
|
|
|
|
void qemu_mutex_unlock_iothread(void)
|
|
{
|
|
}
|