Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/tools/perf/trace/beauty/
Dvhost_virtio_ioctl.sh6 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?\([[:space:]]*VHOST_VIRTIO[[:spa…
7 egrep $regex ${header_dir}/vhost.h | \
8 sed -r "s/$regex/\2 \1/g" | \
13 regex='^#[[:space:]]*define[[:space:]]+VHOST_(\w+)[[:space:]]+_IOW?R\([[:space:]]*VHOST_VIRTIO[[:sp…
14 egrep $regex ${header_dir}/vhost.h | \
15 sed -r "s/$regex/\2 \1/g" | \
Dprctl_option.sh6 regex='^#define[[:space:]]+PR_([GS]ET\w+)[[:space:]]*([[:xdigit:]]+).*'
7 egrep $regex ${header_dir}/prctl.h | grep -v PR_SET_PTRACER | \
8 sed -r "s/$regex/\2 \1/g" | \
13 regex='^#[[:space:]]+define[[:space:]]+PR_SET_MM_(\w+)[[:space:]]*([[:digit:]]+).*'
14 egrep $regex ${header_dir}/prctl.h | \
15 sed -r "s/$regex/\2 \1/g" | \
Dsocket_ipproto.sh6 regex='^[[:space:]]+IPPROTO_(\w+)[[:space:]]+=[[:space:]]+([[:digit:]]+),.*'
8 egrep $regex ${header_dir}/in.h | \
9 sed -r "s/$regex/\2 \1/g" | \
Dperf_ioctl.sh6 regex='^#[[:space:]]*define[[:space:]]+PERF_EVENT_IOC_(\w+)[[:space:]]+_IO[RW]*[[:space:]]*\([[:spa…
7 egrep $regex ${header_dir}/perf_event.h | \
8 sed -r "s/$regex/\2 \1/g" | \
Dkcmp_type.sh6 regex='^[[:space:]]+(KCMP_(\w+)),'
7 egrep $regex ${header_dir}/kcmp.h | grep -v KCMP_TYPES, | \
8 sed -r "s/$regex/\1 \2/g" | \
Dkvm_ioctl.sh6 regex='^#[[:space:]]*define[[:space:]]+KVM_(\w+)[[:space:]]+_IO[RW]*\([[:space:]]*KVMIO[[:space:]]*…
7 egrep $regex ${header_dir}/kvm.h | \
8 sed -r "s/$regex/\2 \1/g" | \
Dmadvise_behavior.sh6 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+MADV_([[:alnum:]_]+)[[:space:]]+([[:digit:]]+)[[…
7 egrep $regex ${header_dir}/mman-common.h | \
8 sed -r "s/$regex/\2 \1/g" | \
Dpkey_alloc_access_rights.sh6 regex='^[[:space:]]*#[[:space:]]*define[[:space:]]+PKEY_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+…
7 egrep $regex ${header_dir}/mman-common.h | \
8 sed -r "s/$regex/\2 \2 \1/g" | \
/Linux-v4.19/Documentation/trace/postprocess/
Dtrace-pagealloc-postprocess.pl94 my $regex;
98 $regex = $default;
104 $regex = $1;
105 $regex =~ s/%p/\([0-9a-f]*\)/g;
106 $regex =~ s/%d/\([-0-9]*\)/g;
107 $regex =~ s/%lu/\([0-9]*\)/g;
114 foreach $tuple (split /\s/, $regex) {
119 $regex =~ s/$key=\((.*)\)/$key=$1/;
127 return $regex;
Dtrace-vmscan-postprocess.pl140 my $regex;
152 $regex = $1;
153 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g;
154 $regex =~ s/%p/\([0-9a-f]*\)/g;
155 $regex =~ s/%d/\([-0-9]*\)/g;
156 $regex =~ s/%ld/\([-0-9]*\)/g;
157 $regex =~ s/%lu/\([0-9]*\)/g;
164 $regex =~ s/\(REC.*\) \? __print_flags.*//;
168 foreach $tuple (split /\s/, $regex) {
173 $regex =~ s/$key=\((.*)\)/$key=$1/;
[all …]
/Linux-v4.19/kernel/trace/
Dtrace_events_filter.c652 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string()
666 cmp = pred->regex.match(*addr, &pred->regex, len); in filter_pred_pchar()
691 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc()
729 cmp = pred->regex.match(current->comm, &pred->regex, in filter_pred_comm()
751 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full()
760 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front()
768 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle()
776 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end()
786 static int regex_match_glob(char *str, struct regex *r, int len __maybe_unused) in regex_match_glob()
850 struct regex *r = &pred->regex; in filter_build_regex()
[all …]
Dtrace.h1385 struct regex;
1389 typedef int (*regex_match_func)(char *str, struct regex *r, int len);
1399 struct regex { struct
1409 struct regex regex; argument
/Linux-v4.19/tools/bpf/
Dbpf_jit_disasm.c179 regex_t regex; in get_last_jit_image() local
185 ret = regcomp(&regex, "flen=[[:alnum:]]+ proglen=[[:digit:]]+ " in get_last_jit_image()
193 ret = regexec(&regex, ptr, 1, pmatch, 0); in get_last_jit_image()
206 regfree(&regex); in get_last_jit_image()
247 regfree(&regex); in get_last_jit_image()
/Linux-v4.19/scripts/
Dtags.sh217 regex=()
226 regex[${#regex[@]}]="--regex-$lang=${r}b"
239 regex[${#regex[@]}]="--regex=$r"
/Linux-v4.19/tools/lib/lockdep/
DMakefile132 --regex-c++='/_PE\(([^,)]*).*/TEP_ERRNO__\1/'
137 --regex='/_PE(\([^,)]*\).*/TEP_ERRNO__\1/'
/Linux-v4.19/tools/kvm/kvm_stat/
Dkvm_stat1117 regex = self.stats.fields_filter
1118 if len(regex) > MAX_REGEX_LEN:
1119 regex = regex[:MAX_REGEX_LEN] + '...'
1120 self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex))
1308 regex = self.screen.getstr().decode(ENCODING)
1310 if len(regex) == 0:
1315 re.compile(regex)
1316 self.stats.fields_filter = regex
1320 msg = '"' + regex + '": Not a valid regular expression'
Dkvm_stat.txt91 fields to display (regex), "-f help" for a list of available events
/Linux-v4.19/tools/lib/traceevent/
DMakefile236 --regex-c++='/_PE\(([^,)]*).*/TEP_ERRNO__\1/'
241 --regex='/_PE(\([^,)]*\).*/TEP_ERRNO__\1/'
/Linux-v4.19/tools/perf/Documentation/
Dperf-report.txt86 - parent: name of function matched to the parent regex filter. Unmatched
184 --parent=<regex>::
185 A regex filter to identify parent. The parent is a caller of this
187 information recorded. The pattern is in the extended regex format and
272 --ignore-callees=<regex>::
273 Ignore callees of the function(s) matching the given regex.
Dtips.txt10 Use parent filter to see specific call path: perf report -p <regex>
Dperf-top.txt188 --ignore-callees=<regex>::
189 Ignore callees of the function(s) matching the given regex.
/Linux-v4.19/tools/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt57 matchCount: How many times the regex in matchPattern should match. A value
/Linux-v4.19/Documentation/kbuild/
Dkconfig.txt231 given string or regular expression (regex).
/Linux-v4.19/tools/perf/util/
Dmachine.c1806 static bool symbol__match_regex(struct symbol *sym, regex_t *regex) in symbol__match_regex() argument
1808 if (!regexec(regex, sym->name, 0, NULL, 0)) in symbol__match_regex()
/Linux-v4.19/
DMAINTAINERS108 N: Files and directories with regex patterns.
122 K: Keyword perl extended regex pattern to match content in a
129 One regex pattern per line. Multiple K: lines acceptable.