]> git.proxmox.com Git - qemu.git/commit
qom: allow turning cast debugging off
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2013 12:16:40 +0000 (14:16 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 13 May 2013 14:52:06 +0000 (09:52 -0500)
commit3556c233d931ad5ffa46a35cb25cfc057732ebb8
treebd7e58516cec0d8567112f1afef447ba58a44bca
parentfa131d94a5c00c6bbea39358d4bca7bf98f6c1f5
qom: allow turning cast debugging off

Cast debugging can have a substantial cost (20% or more).  Instead of adding
special-cased "fast casts" in the hot paths, we can just disable it in
releases.  The tracing facilities we just added make it easier to analyze
those problems that cast debugging would reveal.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1368188203-3407-7-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure
include/qom/object.h
qom/object.c