diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-06-10 16:54:29 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-06-10 16:56:37 -0400 |
commit | d57671d335d788aa3a738f7f284bfee30151c86c (patch) | |
tree | c5bafe2246fdb50a60b00a453abf936db2a92012 /NEWS | |
parent | 3f847830da8905e8d8d2a9f939c8c8274fc0f19b (diff) | |
download | systemtap-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-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |