Searched refs:pattern (Results 1 – 2 of 2) sorted by relevance
/kernel/trace/ |
D | trace_events_filter.c | 895 return strcmp(str, r->pattern) == 0; in regex_match_full() 897 return strncmp(str, r->pattern, len) == 0; in regex_match_full() 905 return strncmp(str, r->pattern, r->len) == 0; in regex_match_front() 911 return strstr(str, r->pattern) != NULL; in regex_match_middle() 913 return strnstr(str, r->pattern, len) != NULL; in regex_match_middle() 921 memcmp(str + strlen - r->len, r->pattern, r->len) == 0) in regex_match_end() 928 if (glob_match(r->pattern, str)) in regex_match_glob() 998 type = filter_parse_regex(r->pattern, r->len, &search, &pred->not); in filter_build_regex() 1000 memmove(r->pattern, search, r->len+1); in filter_build_regex() 1466 strncpy(pred->regex.pattern, str + s, len); in parse_pred() [all …]
|
D | trace.h | 1459 char pattern[MAX_FILTER_STR_VAL]; member
|