diff options
| author | Joey Jiao <joeyjiaojg@gmail.com> | 2021-06-01 09:08:19 +0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-06-02 09:01:34 +0200 |
| commit | 0740de696b19a870c7208bd97f3194988281c282 (patch) | |
| tree | b9440713aa3d1e24b2862402cc4c3d4106d16e8c /docs/syscall_descriptions_syntax.md | |
| parent | 032639db52e37f547ea03f03fce37eb8568eb482 (diff) | |
all: support exclude globs in descriptor
Diffstat (limited to 'docs/syscall_descriptions_syntax.md')
| -rw-r--r-- | docs/syscall_descriptions_syntax.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/syscall_descriptions_syntax.md b/docs/syscall_descriptions_syntax.md index 0d750c8e3..68abd1f71 100644 --- a/docs/syscall_descriptions_syntax.md +++ b/docs/syscall_descriptions_syntax.md @@ -44,7 +44,8 @@ rest of the type-options are type-specific: or a reference to string flags, "glob": glob pattern to match on the target files, type-options: a pattern string in quotes (syntax: https://golang.org/pkg/path/filepath/#Match) - (e.g. "/sys/" or "/sys/**/*") + (e.g. "/sys/" or "/sys/**/*"), + or include exclude glob too (e.g. "/sys/**/*:-/sys/power/state") "fmt": a string representation of an integer (not zero-terminated), type-options: format (one of "dec", "hex", "oct") and the value (a resource, int, flags, const or proc) the resulting data is always fixed-size (formatted as "%020llu", "0x%016llx" or "%023llo", respectively) |
