/Linux-v4.19/tools/perf/trace/beauty/ |
D | vhost_virtio_ioctl.sh | 6 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" | \
|
D | prctl_option.sh | 6 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" | \
|
D | socket_ipproto.sh | 6 regex='^[[:space:]]+IPPROTO_(\w+)[[:space:]]+=[[:space:]]+([[:digit:]]+),.*' 8 egrep $regex ${header_dir}/in.h | \ 9 sed -r "s/$regex/\2 \1/g" | \
|
D | perf_ioctl.sh | 6 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" | \
|
D | kcmp_type.sh | 6 regex='^[[:space:]]+(KCMP_(\w+)),' 7 egrep $regex ${header_dir}/kcmp.h | grep -v KCMP_TYPES, | \ 8 sed -r "s/$regex/\1 \2/g" | \
|
D | kvm_ioctl.sh | 6 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" | \
|
D | madvise_behavior.sh | 6 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" | \
|
D | pkey_alloc_access_rights.sh | 6 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/ |
D | trace-pagealloc-postprocess.pl | 94 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;
|
D | trace-vmscan-postprocess.pl | 140 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/ |
D | trace_events_filter.c | 652 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 …]
|
D | trace.h | 1385 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/ |
D | bpf_jit_disasm.c | 179 regex_t regex; in get_last_jit_image() local 185 ret = regcomp(®ex, "flen=[[:alnum:]]+ proglen=[[:digit:]]+ " in get_last_jit_image() 193 ret = regexec(®ex, ptr, 1, pmatch, 0); in get_last_jit_image() 206 regfree(®ex); in get_last_jit_image() 247 regfree(®ex); in get_last_jit_image()
|
/Linux-v4.19/scripts/ |
D | tags.sh | 217 regex=() 226 regex[${#regex[@]}]="--regex-$lang=${r}b" 239 regex[${#regex[@]}]="--regex=$r"
|
/Linux-v4.19/tools/lib/lockdep/ |
D | Makefile | 132 --regex-c++='/_PE\(([^,)]*).*/TEP_ERRNO__\1/' 137 --regex='/_PE(\([^,)]*\).*/TEP_ERRNO__\1/'
|
/Linux-v4.19/tools/kvm/kvm_stat/ |
D | kvm_stat | 1117 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'
|
D | kvm_stat.txt | 91 fields to display (regex), "-f help" for a list of available events
|
/Linux-v4.19/tools/lib/traceevent/ |
D | Makefile | 236 --regex-c++='/_PE\(([^,)]*).*/TEP_ERRNO__\1/' 241 --regex='/_PE(\([^,)]*\).*/TEP_ERRNO__\1/'
|
/Linux-v4.19/tools/perf/Documentation/ |
D | perf-report.txt | 86 - 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.
|
D | tips.txt | 10 Use parent filter to see specific call path: perf report -p <regex>
|
D | perf-top.txt | 188 --ignore-callees=<regex>:: 189 Ignore callees of the function(s) matching the given regex.
|
/Linux-v4.19/tools/testing/selftests/tc-testing/creating-testcases/ |
D | AddingTestCases.txt | 57 matchCount: How many times the regex in matchPattern should match. A value
|
/Linux-v4.19/Documentation/kbuild/ |
D | kconfig.txt | 231 given string or regular expression (regex).
|
/Linux-v4.19/tools/perf/util/ |
D | machine.c | 1806 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/ |
D | MAINTAINERS | 108 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.
|