diff options
author | Josh Stone <jistone@redhat.com> | 2010-03-25 18:50:16 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2010-03-25 18:50:16 -0700 |
commit | 649260f387b644f8cfafe5e992d6c8890c906dd5 (patch) | |
tree | c37ccd1175f18005a369ead86983a8f67f42ec38 | |
parent | 122b4fcd9ca8947ab96c8efdfe4430df8ea6b341 (diff) | |
download | systemtap-steved-649260f387b644f8cfafe5e992d6c8890c906dd5.tar.gz systemtap-steved-649260f387b644f8cfafe5e992d6c8890c906dd5.tar.xz systemtap-steved-649260f387b644f8cfafe5e992d6c8890c906dd5.zip |
Mention ** in NEWS and stapprobes.3stap
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | stapprobes.3stap.in | 4 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,10 @@ +* What's new + +- Probe wildcards can now use '**' to cross the '.' separator. + $ stap -l 'sys**open' + syscall.mq_open + syscall.open + * What's new in version 1.2 - Prototype support for "perf events", where the kernel supports the diff --git a/stapprobes.3stap.in b/stapprobes.3stap.in index 52de6886..14591acb 100644 --- a/stapprobes.3stap.in +++ b/stapprobes.3stap.in @@ -26,7 +26,8 @@ allows a breakdown of the event namespace into parts, somewhat like the Domain Name System does on the Internet. Each component identifier may be parametrized by a string or number literal, with a syntax like a function call. A component may include a "*" character, -to expand to a set of matching probe points. Probe aliases likewise +to expand to a set of matching probe points. It may also include "**" +to match multiple sequential components at once. Probe aliases likewise expand to other probe points. Each and every resulting probe point is normally resolved to some low-level system instrumentation facility (e.g., a kprobe address, marker, or a timer configuration), otherwise @@ -61,6 +62,7 @@ kernel.function("foo").return process("/bin/vi").statement(0x2222) end syscall.* +sys**open kernel.function("no_such_function") ? module("awol").function("no_such_function") ! signal.*? if (switch) |