summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-03-25 13:34:04 +0100
committerMark Wielaard <mjw@redhat.com>2009-03-25 13:34:04 +0100
commit83dd1a8e273f5a30a94fd6438fe0567c5fd1aee7 (patch)
tree7b6cc4fc30fb5c86c49319b022d725f21a7bd6df /NEWS
parent6a25ac4c75c33272af96fb3217a0e27b8e847a9a (diff)
downloadsystemtap-steved-83dd1a8e273f5a30a94fd6438fe0567c5fd1aee7.tar.gz
systemtap-steved-83dd1a8e273f5a30a94fd6438fe0567c5fd1aee7.tar.xz
systemtap-steved-83dd1a8e273f5a30a94fd6438fe0567c5fd1aee7.zip
NEWS: Add description of probe process().insn and process().insn.block.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c169c5e2..795d73c1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,14 @@
* What's new
+ - New probes process().insn and process().insn.block that allows
+ inspection of the process after each instruction or block of
+ instructions executed. So to count the total number of instructions
+ a process executes during a run do something like:
+ $ stap -e 'global steps; probe process("/bin/ls").insn {steps++}
+ probe end {printf("Total instructions: %d\n", steps);}' \
+ -c /bin/ls
+ This feature can slow down execution of a process somewhat.
+
- Systemtap probes and function man pages extracted from the tapsets
are now available in a separate man section 3stap.
To look at the page for probe vm.pagefault: