Home
last modified time | relevance | path

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

/linux-3.4.99/scripts/
Dtags.sh132 --regex-asm='/^(ENTRY|_GLOBAL)\(([^)]*)\).*/\2/' \
133 --regex-c='/^SYSCALL_DEFINE[[:digit:]]?\(([^,)]*).*/sys_\1/' \
134 --regex-c++='/^TRACE_EVENT\(([^,)]*).*/trace_\1/' \
135 --regex-c++='/^DEFINE_EVENT\([^,)]*, *([^,)]*).*/trace_\1/' \
136 --regex-c++='/PAGEFLAG\(([^,)]*).*/Page\1/' \
137 --regex-c++='/PAGEFLAG\(([^,)]*).*/SetPage\1/' \
138 --regex-c++='/PAGEFLAG\(([^,)]*).*/ClearPage\1/' \
139 --regex-c++='/TESTSETFLAG\(([^,)]*).*/TestSetPage\1/' \
140 --regex-c++='/TESTPAGEFLAG\(([^,)]*).*/Page\1/' \
141 --regex-c++='/SETPAGEFLAG\(([^,)]*).*/SetPage\1/' \
[all …]
/linux-3.4.99/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.pl133 my $regex;
145 $regex = $1;
146 $regex =~ s/%s/\([0-9a-zA-Z|_]*\)/g;
147 $regex =~ s/%p/\([0-9a-f]*\)/g;
148 $regex =~ s/%d/\([-0-9]*\)/g;
149 $regex =~ s/%ld/\([-0-9]*\)/g;
150 $regex =~ s/%lu/\([0-9]*\)/g;
157 $regex =~ s/\(REC.*\) \? __print_flags.*//;
161 foreach $tuple (split /\s/, $regex) {
166 $regex =~ s/$key=\((.*)\)/$key=$1/;
[all …]
/linux-3.4.99/kernel/trace/
Dtrace_events_filter.c198 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string()
212 cmp = pred->regex.match(*addr, &pred->regex, len); in filter_pred_pchar()
237 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc()
261 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full()
268 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front()
275 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle()
282 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end()
344 struct regex *r = &pred->regex; in filter_build_regex()
995 pred->regex.field_len = field->size; in init_pred()
1007 ret = strict_strtoll(pred->regex.pattern, 0, &val); in init_pred()
[all …]
Dtrace.h759 struct regex;
763 typedef int (*regex_match_func)(char *str, struct regex *r, int len);
772 struct regex { struct
782 struct regex regex; argument
Dftrace.c2738 static int ftrace_match(char *str, char *regex, int len, int type) in ftrace_match() argument
2745 if (strcmp(str, regex) == 0) in ftrace_match()
2749 if (strncmp(str, regex, len) == 0) in ftrace_match()
2753 if (strstr(str, regex)) in ftrace_match()
2758 if (slen >= len && memcmp(str + slen - len, regex, len) == 0) in ftrace_match()
2791 char *regex, int len, int type) in ftrace_match_record() argument
2808 return ftrace_match(str, regex, len, type); in ftrace_match_record()
/linux-3.4.99/tools/perf/Documentation/
Dperf-report.txt63 --parent=<regex>::
64 regex filter to identify parent, see: '--sort parent'
/linux-3.4.99/
DMAINTAINERS99 K: Keyword perl extended regex pattern to match content in a
106 One regex pattern per line. Multiple K: lines acceptable.