Re: [Qemu-devel] [PATCH 1/9] qsp: QEMU's Synchronization Profiler

2018-08-21 Thread Paolo Bonzini
On 17/08/2018 07:18, Emilio G. Cota wrote: > + > +#define qemu_rec_trymutex_lock(m) ({\ > +QemuRecMutexTrylockFunc _f; \ > +_f = atomic_read(&qemu_rec_mutex_trylock_func); \ > +_f(m, __FILE__, __LINE__);

[Qemu-devel] [PATCH 1/9] qsp: QEMU's Synchronization Profiler

2018-08-16 Thread Emilio G. Cota
The goal of this module is to profile synchronization primitives (i.e. mutexes, recursive mutexes and condition variables) so that scalability issues can be quickly diagnosed. Sync primitives are profiled by QSP based on the vaddr of the object accessed as well as the call site (file:line_nr). Tha