[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 52/52] scripts/analyse-locks-simpletrace.py: scri
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PULL 52/52] scripts/analyse-locks-simpletrace.py: script to analyse lock times |
Date: |
Fri, 12 Jan 2018 12:38:37 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 |
On 01/12/2018 05:31 AM, Paolo Bonzini wrote:
> From: Alex Bennée <address@hidden>
>
> This script allows analysis of mutex acquisition and hold times based
> on a trace file. Given a trace control file of:
>
> qemu_mutex_lock
> qemu_mutex_locked
> qemu_mutex_unlock
>
> And running with:
>
> $QEMU $QEMU_ARGS -trace events=./lock-trace
>
> You can analyse the results with:
>
> ./scripts/analyse-locks-simpletrace.py trace-events-all ./trace-21812
>
> Signed-off-by: Alex Bennée <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> scripts/analyse-locks-simpletrace.py | 99
> ++++++++++++++++++++++++++++++++++++
> 1 file changed, 99 insertions(+)
> create mode 100755 scripts/analyse-locks-simpletrace.py
>
> diff --git a/scripts/analyse-locks-simpletrace.py
> b/scripts/analyse-locks-simpletrace.py
> new file mode 100755
> index 0000000..a69ed5c
> --- /dev/null
> +++ b/scripts/analyse-locks-simpletrace.py
> @@ -0,0 +1,99 @@
> +#!/usr/bin/env python
> +# -*- coding: utf-8 -*-
> +#
> +# Analyse lock events and
> +#
Truncated sentence?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PULL 41/52] mips: Tweak location of ';' in macros, (continued)
- [Qemu-devel] [PULL 41/52] mips: Tweak location of ';' in macros, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 42/52] chardev: Use goto/label instead of do/break/while(0), Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 44/52] tests: Avoid 'do/while(false); ' in vhost-user-bridge, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 46/52] checkpatch: Enforce proper do/while (0) style, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 45/52] maint: Fix macros with broken 'do/while(0); ' usage, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 40/52] net: Drop unusual use of do { } while (0);, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 48/52] find_ram_offset: Align ram_addr_t allocation on long boundaries, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 49/52] block/iscsi: fix initialization of iTask in iscsi_co_get_block_status, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 50/52] cpu: flush TB cache when loading VMState, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 52/52] scripts/analyse-locks-simpletrace.py: script to analyse lock times, Paolo Bonzini, 2018/01/12
- Re: [Qemu-devel] [PULL 52/52] scripts/analyse-locks-simpletrace.py: script to analyse lock times,
Eric Blake <=
- [Qemu-devel] [PULL 51/52] util/qemu-thread-*: add qemu_lock, locked and unlock trace events, Paolo Bonzini, 2018/01/12
- [Qemu-devel] [PULL 47/52] find_ram_offset: Add comments and tracing, Paolo Bonzini, 2018/01/12