Bug 737763 - [Fedora FEAT] QEMU static tracing framework
Summary: [Fedora FEAT] QEMU static tracing framework
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 15
Hardware: other
OS: All
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
: 714755 (view as bug list)
Depends On: 632722
Blocks: 655920 538808 580566 580954 LibvirtQEMUTrace
TreeView+ depends on / blocked
Reported: 2011-09-13 03:28 UTC by William Cohen
Modified: 2013-01-10 00:18 UTC (History)
25 users (show)

Fixed In Version: qemu-0.15.0-4.fc16
Doc Type: Enhancement
Doc Text:
Clone Of: 632722
Last Closed: 2011-09-30 19:20:29 UTC

Attachments (Terms of Use)

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.

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@redhat.com>
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:
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.

Note You need to log in before you can comment on or make changes to this bug.