[qemu/f17] Fix systemtap backport

Cole Robinson crobinso at fedoraproject.org
Mon Jul 30 01:15:51 UTC 2012


commit 8e54b56c40f5ec63b746a29ce44259997b98690b
Author: Cole Robinson <crobinso at redhat.com>
Date:   Sun Jul 29 21:14:20 2012 -0400

    Fix systemtap backport

 qemu-fix-systemtap.patch |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/qemu-fix-systemtap.patch b/qemu-fix-systemtap.patch
index 1ea1fc0..3191eec 100644
--- a/qemu-fix-systemtap.patch
+++ b/qemu-fix-systemtap.patch
@@ -1,16 +1,19 @@
-diff -rup qemu-kvm-1.0.1/scripts/tracetool foo/scripts/tracetool
+diff -rup qemu-kvm-1.0.1/scripts/tracetool z/scripts/tracetool
 --- qemu-kvm-1.0.1/scripts/tracetool	2012-04-16 22:15:17.000000000 -0400
-+++ foo/scripts/tracetool	2012-07-29 20:46:52.628797169 -0400
-@@ -499,6 +499,12 @@ EOF
-         # 'limit' is a reserved keyword
++++ z/scripts/tracetool	2012-07-29 21:10:51.326868987 -0400
+@@ -500,6 +500,15 @@ EOF
          if [ "$arg" = "limit" ]; then
            arg="_limit"
+         fi
 +        if [ "$arg" = "in" ]; then
 +          arg="_in"
++        fi
 +        if [ "$arg" = "next" ]; then
 +          arg="_next"
++        fi
 +        if [ "$arg" = "self" ]; then
 +          arg="_self"
-         fi
++        fi
          cat <<EOF
    $arg = \$arg$i;
+ EOF


More information about the scm-commits mailing list