Home
last modified time | relevance | path

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

/linux-4.4.14/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++='/^TRACE_EVENT\(([^,)]*).*/trace_\1_rcuidle/' \
174 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
175 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1_rcuidle/' \
176 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
177 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \
178 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \
[all …]
/linux-4.4.14/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.4.14/tools/net/
Dbpf_jit_disasm.c167 regex_t regex; in get_last_jit_image() local
172 ret = regcomp(&regex, "flen=[[:alnum:]]+ proglen=[[:digit:]]+ " in get_last_jit_image()
180 ret = regexec(&regex, ptr, 1, pmatch, 0); in get_last_jit_image()
193 regfree(&regex); in get_last_jit_image()
221 regfree(&regex); in get_last_jit_image()
/linux-4.4.14/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()
292 cmp = pred->regex.match(current->comm, &pred->regex, in filter_pred_comm()
293 pred->regex.field_len); in filter_pred_comm()
316 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full()
323 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front()
330 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle()
337 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end()
399 struct regex *r = &pred->regex; in filter_build_regex()
[all …]
Dtrace.h1081 struct regex;
1085 typedef int (*regex_match_func)(char *str, struct regex *r, int len);
1094 struct regex { struct
1104 struct regex regex; argument
/linux-4.4.14/tools/lib/lockdep/
DMakefile130 --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/'
135 --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/'
/linux-4.4.14/tools/lib/traceevent/
DMakefile232 --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/'
237 --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/'
/linux-4.4.14/tools/perf/Documentation/
Dperf-report.txt79 - parent: name of function matched to the parent regex filter. Unmatched
147 --parent=<regex>::
148 A regex filter to identify parent. The parent is a caller of this
150 information recorded. The pattern is in the exteneded regex format and
227 --ignore-callees=<regex>::
228 Ignore callees of the function(s) matching the given regex.
Dperf-top.txt182 --ignore-callees=<regex>::
183 Ignore callees of the function(s) matching the given regex.
/linux-4.4.14/scripts/kconfig/
D.zconf.tab.o.cmd100 /usr/include/regex.h \
/linux-4.4.14/tools/perf/util/
Dmachine.c1491 static bool symbol__match_regex(struct symbol *sym, regex_t *regex) in symbol__match_regex() argument
1493 if (sym->name && !regexec(regex, sym->name, 0, NULL, 0)) in symbol__match_regex()
/linux-4.4.14/
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.