On 05/05/2017 17:59, Alex Bennée wrote: > I'll re-spin my trace analysis script and the lock trace point once that > pull request is merged. I would be nice if we could associate locks with > names though as the QemuMutex * is basically just an anonymous handle. > Would it be overly extravagant to add a const char * to QemuMutex to can > be init'ed with a human readable name?
Sure, why not. But please do make it a constant (as you suggest) so that qemu_mutex_destroy does not need to g_free. Paolo