Home
last modified time | relevance | path

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

/linux-4.1.27/scripts/
Dtags.sh169 --regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \
170 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
171 --regex-c='/^COMPAT_SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/compat_sys_\1/' \
172 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
173 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
174 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
175 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \
176 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \
177 --regex-c++='/TESTSETFLAG\(([^,)]*).*/TestSetPage\1/' \
178 --regex-c++='/TESTPAGEFLAG\(([^,)]*).*/Page\1/' \
[all …]
/linux-4.1.27/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-4.1.27/tools/net/
Dbpf_jit_disasm.c116 regex_t regex; in get_last_jit_image() local
121 ret = regcomp(&regex, "flen=[[:alnum:]]+ proglen=[[:digit:]]+ " in get_last_jit_image()
129 ret = regexec(&regex, ptr, 1, pmatch, 0); in get_last_jit_image()
168 regfree(&regex); in get_last_jit_image()
/linux-4.1.27/kernel/trace/
Dtrace_events_filter.c209 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string()
223 cmp = pred->regex.match(*addr, &pred->regex, len); in filter_pred_pchar()
248 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc()
272 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full()
279 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front()
286 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle()
293 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end()
355 struct regex *r = &pred->regex; in filter_build_regex()
1007 pred->regex.field_len = field->size; in init_pred()
1019 ret = kstrtoll(pred->regex.pattern, 0, &val); in init_pred()
[all …]
Dtrace.h1019 struct regex;
1023 typedef int (*regex_match_func)(char *str, struct regex *r, int len);
1032 struct regex { struct
1042 struct regex regex; argument
Dftrace.c3418 static int ftrace_match(char *str, char *regex, int len, int type) in ftrace_match() argument
3425 if (strcmp(str, regex) == 0) in ftrace_match()
3429 if (strncmp(str, regex, len) == 0) in ftrace_match()
3433 if (strstr(str, regex)) in ftrace_match()
3438 if (slen >= len && memcmp(str + slen - len, regex, len) == 0) in ftrace_match()
3471 char *regex, int len, int type) in ftrace_match_record() argument
3488 return ftrace_match(str, regex, len, type); in ftrace_match_record()
/linux-4.1.27/tools/lib/lockdep/
DMakefile128 --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/'
133 --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/'
/linux-4.1.27/tools/lib/traceevent/
DMakefile221 --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/'
226 --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/'
/linux-4.1.27/tools/perf/Documentation/
Dperf-report.txt78 - parent: name of function matched to the parent regex filter. Unmatched
142 --parent=<regex>::
143 A regex filter to identify parent. The parent is a caller of this
145 information recorded. The pattern is in the exteneded regex format and
209 --ignore-callees=<regex>::
210 Ignore callees of the function(s) matching the given regex.
Dperf-top.txt181 --ignore-callees=<regex>::
182 Ignore callees of the function(s) matching the given regex.
/linux-4.1.27/scripts/kconfig/
D.zconf.tab.o.cmd100 /usr/include/regex.h \
/linux-4.1.27/tools/perf/util/
Dmachine.c1342 static bool symbol__match_regex(struct symbol *sym, regex_t *regex) in symbol__match_regex() argument
1344 if (sym->name && !regexec(regex, sym->name, 0, NULL, 0)) in symbol__match_regex()
/linux-4.1.27/
DMAINTAINERS96 N: Files and directories with regex patterns.
110 K: Keyword perl extended regex pattern to match content in a
117 One regex pattern per line. Multiple K: lines acceptable.