Commit a2a689b4 authored by Alastair Robertson's avatar Alastair Robertson

README: Add predicates

parent d9d1f691
......@@ -176,6 +176,11 @@ Some probe types allow wildcards to be used when attaching a probe:
`kprobe:SyS_* { ... }`
### Predicates
Define conditions for which a probe should be executed:
`kprobe:sys_open / uid == 0 / { ... }`
## Builtins
The following variables and functions are available for use in bpftrace scripts:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment