diff options
-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) |