summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-06-10 16:54:29 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-06-10 16:56:37 -0400
commitd57671d335d788aa3a738f7f284bfee30151c86c (patch)
treec5bafe2246fdb50a60b00a453abf936db2a92012 /NEWS
parent3f847830da8905e8d8d2a9f939c8c8274fc0f19b (diff)
downloadsystemtap-steved-d57671d335d788aa3a738f7f284bfee30151c86c.tar.gz
systemtap-steved-d57671d335d788aa3a738f7f284bfee30151c86c.tar.xz
systemtap-steved-d57671d335d788aa3a738f7f284bfee30151c86c.zip
PR6470: new argv[] tapset, docs, test cases
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e8ddb69c..c78052c9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,13 @@
* What's new in version 0.7
+- The vector of script command line arguments is available in a
+ tapset-provided global array argv[]. It is indexed 1 ... argc,
+ another global. This can substitute for of preprocessor
+ directives @NNN that fail at parse time if there are not
+ enough arguments.
+
+ printf("argv: %s %s %s", argv[1], argv[2], argv[3])
+
- .statement("func@file+line") probes are now supported to allow a
match relative to the entry of the function incremented by line
number. This allows using the same systemtap script if the rest