summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-03 16:22:36 -0500
committerDave Brolley <brolley@redhat.com>2009-11-03 16:22:36 -0500
commit899b66209b0146560f0efc33efe58a4be3577df3 (patch)
tree7b64764b917c359a99d0adcf6c68a2d73cd52be7 /NEWS
parentd4ad7984018ff769cbb662342be7e501632c0bea (diff)
parent89651893a8ec51ee4d77ddfd57019e350ad7b169 (diff)
downloadsystemtap-steved-899b66209b0146560f0efc33efe58a4be3577df3.tar.gz
systemtap-steved-899b66209b0146560f0efc33efe58a4be3577df3.tar.xz
systemtap-steved-899b66209b0146560f0efc33efe58a4be3577df3.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: Makefile.in configure doc/Makefile.in doc/SystemTap_Tapset_Reference/Makefile.in grapher/Makefile.in testsuite/configure
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS16
1 files changed, 16 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d13e81af..21ab8e41 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,21 @@
* What's new
+- Any output line that starts with "ERROR", as in error("foo"), will
+ promote a "Pass 5: run failed", and the return code is 1.
+
+- Systemtap now warns about global variables being referenced from other
+ script files. This aims to protect against unintended local-vs-global
+ namespace collisions such as:
+
+ % cat some_tapset.stp
+ probe baz.one = bar { foo = $foo; bar = $bar }
+ % cat end_user_script.stp
+ global foo # intended to be private variable
+ probe timer.s(1) { foo ++ }
+ probe baz.* { println(foo, pp()) }
+ % stap end_user_script.stp
+ WARNING: cross-file global variable reference to foo from some_tapset.stp
+
- Preprocessor conditional for kernel configuration testing:
%( CONFIG_foo == "y" %? ... %)