1ffd272
From 7d065557153bd8fdcb6c97aed8554bb1f2c39496 Mon Sep 17 00:00:00 2001
1ffd272
From: Cole Robinson <crobinso@redhat.com>
1ffd272
Date: Wed, 6 Feb 2013 16:48:17 -0500
1ffd272
Subject: [PATCH] Fix systemtap keyword collisions
1ffd272
1ffd272
This is all upstream, this is just a manual backport
1ffd272
---
1ffd272
 scripts/tracetool | 9 +++++++++
1ffd272
 1 file changed, 9 insertions(+)
1ffd272
1ffd272
diff --git a/scripts/tracetool b/scripts/tracetool
1ffd272
index 4c9951d..3b4e39b 100755
1ffd272
--- a/scripts/tracetool
1ffd272
+++ b/scripts/tracetool
8e54b56
@@ -500,6 +500,15 @@ EOF
8452a89
         if [ "$arg" = "limit" ]; then
8452a89
           arg="_limit"
8e54b56
         fi
8452a89
+        if [ "$arg" = "in" ]; then
8452a89
+          arg="_in"
8e54b56
+        fi
8452a89
+        if [ "$arg" = "next" ]; then
8452a89
+          arg="_next"
8e54b56
+        fi
8452a89
+        if [ "$arg" = "self" ]; then
8452a89
+          arg="_self"
8e54b56
+        fi
8452a89
         cat <
8452a89
   $arg = \$arg$i;
8e54b56
 EOF