diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-03-25 13:34:04 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-03-25 13:34:04 +0100 |
commit | 83dd1a8e273f5a30a94fd6438fe0567c5fd1aee7 (patch) | |
tree | 7b6cc4fc30fb5c86c49319b022d725f21a7bd6df /NEWS | |
parent | 6a25ac4c75c33272af96fb3217a0e27b8e847a9a (diff) | |
download | systemtap-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-- | NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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: |