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__);
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