Bug 737763

Summary: [Fedora FEAT] QEMU static tracing framework
Product: [Fedora] Fedora Reporter: William Cohen <wcohen>
Component: qemuAssignee: Daniel Berrangé <berrange>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 15CC: amit.shah, bcao, berrange, bugproxy, dougsland, dwmw2, ehabkost, fche, gcosta, itamar, jaswinder, jforbes, jjarvis, juzhang, knoel, lihuang, michen, mkenneth, nobody+PNT0273897, sbest, scottt.tw, stefanha, tburke, virt-maint, virt-maint
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: other   
OS: All   
Whiteboard:
Fixed In Version: qemu-0.15.0-4.fc16 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 632722 Environment:
Last Closed: 2011-09-30 19:20:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 632722    
Bug Blocks: 538808, 580566, 580954, 633393, 655920    

Comment 1 Daniel Berrangé 2011-09-13 09:09:49 UTC
Thanks for the specfile patch. It'll need a small tweak to make sure each tapset gets put into the appropriate sub-RPM for that arch, but I'll do that when I apply it to GIT

Comment 2 Daniel Berrangé 2011-09-13 10:19:02 UTC
*** Bug 714755 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2011-09-13 11:55:56 UTC
qemu-0.15.0-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/qemu-0.15.0-4.fc16

Comment 4 William Cohen 2011-09-13 13:59:18 UTC
One deficiency in the currently patch for the qemu.spec is there is no qemu-kvm.stp being generated. Given that /usr/bin/qemu-kvm is the binary being used by default, the qemu.spec should also have tracetool generate a matching qemu-kvm.stp.

Comment 5 Daniel Berrangé 2011-09-13 14:11:40 UTC
I fixed that with this addition to the specfile

+./scripts/tracetool --dtrace --binary %{_bindir}/qemu-kvm \
+  --target-arch x86_64 --target-type system --stap \
+  --probe-prefix qemu.kvm < ./trace-events > qemu-kvm.stp

Comment 6 Daniel Berrangé 2011-09-13 14:12:05 UTC
The full addition can be seen in Fedora GIT for qemu:

commit 7b1d66018c7c7cbb5a1305a46a9672cb1125436b
Author: Daniel P. Berrange <berrange>
Date:   Tue Sep 13 11:24:38 2011 +0100

    Enable DTrace tracing backend for SystemTAP (rhbz #737763)

Comment 7 Fedora Update System 2011-09-13 22:23:16 UTC
Package qemu-0.15.0-4.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing qemu-0.15.0-4.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/qemu-0.15.0-4.fc16
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2011-09-30 19:19:55 UTC
qemu-0.15.0-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.