summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-08-28 11:59:26 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-08-28 11:59:26 -0400
commit5d9541658a8598f9430a7285ea04cafdb849e7d7 (patch)
tree13cd6d6e87a7856a3cb86f5210ea714ae0bdb30c
parentcd221ed4afd8d5e0f24f3f9d6ed4216f3181b1ca (diff)
downloadsystemtap-steved-5d9541658a8598f9430a7285ea04cafdb849e7d7.tar.gz
systemtap-steved-5d9541658a8598f9430a7285ea04cafdb849e7d7.tar.xz
systemtap-steved-5d9541658a8598f9430a7285ea04cafdb849e7d7.zip
fix NEWS to refer to simpler context.stp tapset functions in auto-printing blurb
-rw-r--r--NEWS8
1 files changed, 4 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 969f736f..398964d9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,10 +2,10 @@
- Global variables which are written to but never read are now
automatically displayed when the session does a shutdown. For example:
- global running_tasks
- probe timer.profile {tc=task_current();
- running_tasks[task_pid(tc),task_tid(tc)] = execname()}
- probe timer.ms(8000) {exit()}
+
+ global running_tasks
+ probe timer.profile {running_tasks[pid(),tid()] = execname()}
+ probe timer.ms(8000) {exit()}
- A formatted string representation of the variables, parameters, or local
variables at a probe point is now supported via the special $$vars,