[libvirt] [PATCH] examples: add systemtap script to ease lock debugging

Michal Privoznik mprivozn at redhat.com
Mon Nov 3 14:50:19 UTC 2014


On 29.10.2014 14:44, Martin Kletzander wrote:
> As discussed before, this simple script should help with debugging
> deadlocks, although there are still some caveats.  RWLocks are not
> handled by this and if your deadlock if very racy, it may not lock
> up when running with this script due to the slowdown.
>
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>   examples/systemtap/lock-debug.stp | 118 ++++++++++++++++++++++++++++++++++++++
>   1 file changed, 118 insertions(+)
>   create mode 100644 examples/systemtap/lock-debug.stp

ACK. Cool idea.

Michal




More information about the libvir-list mailing list