Searched refs:regex (Results 1 – 2 of 2) sorted by relevance
/kernel/trace/ |
D | trace_events_filter.c | 710 cmp = pred->regex.match(addr, &pred->regex, pred->regex.field_len); in filter_pred_string() 723 cmp = pred->regex.match(str, &pred->regex, len); in filter_pchar() 773 cmp = pred->regex.match(addr, &pred->regex, str_len); in filter_pred_strloc() 811 cmp = pred->regex.match(current->comm, &pred->regex, in filter_pred_comm() 833 static int regex_match_full(char *str, struct regex *r, int len) in regex_match_full() 842 static int regex_match_front(char *str, struct regex *r, int len) in regex_match_front() 850 static int regex_match_middle(char *str, struct regex *r, int len) in regex_match_middle() 858 static int regex_match_end(char *str, struct regex *r, int len) in regex_match_end() 868 static int regex_match_glob(char *str, struct regex *r, int len __maybe_unused) in regex_match_glob() 935 struct regex *r = &pred->regex; in filter_build_regex() [all …]
|
D | trace.h | 1440 struct regex; 1444 typedef int (*regex_match_func)(char *str, struct regex *r, int len); 1455 struct regex { struct 1465 struct regex regex; argument
|