Fix systemtap backport
This commit is contained in:
parent
8452a89533
commit
8e54b56c40
@ -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
|
--- 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
|
+++ z/scripts/tracetool 2012-07-29 21:10:51.326868987 -0400
|
||||||
@@ -499,6 +499,12 @@ EOF
|
@@ -500,6 +500,15 @@ EOF
|
||||||
# 'limit' is a reserved keyword
|
|
||||||
if [ "$arg" = "limit" ]; then
|
if [ "$arg" = "limit" ]; then
|
||||||
arg="_limit"
|
arg="_limit"
|
||||||
|
fi
|
||||||
+ if [ "$arg" = "in" ]; then
|
+ if [ "$arg" = "in" ]; then
|
||||||
+ arg="_in"
|
+ arg="_in"
|
||||||
|
+ fi
|
||||||
+ if [ "$arg" = "next" ]; then
|
+ if [ "$arg" = "next" ]; then
|
||||||
+ arg="_next"
|
+ arg="_next"
|
||||||
|
+ fi
|
||||||
+ if [ "$arg" = "self" ]; then
|
+ if [ "$arg" = "self" ]; then
|
||||||
+ arg="_self"
|
+ arg="_self"
|
||||||
fi
|
+ fi
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
$arg = \$arg$i;
|
$arg = \$arg$i;
|
||||||
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user