From 0740de696b19a870c7208bd97f3194988281c282 Mon Sep 17 00:00:00 2001 From: Joey Jiao Date: Tue, 1 Jun 2021 09:08:19 +0800 Subject: all: support exclude globs in descriptor --- docs/syscall_descriptions_syntax.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/syscall_descriptions_syntax.md') 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) -- cgit mrf-deployment