Home
last modified time | relevance | path

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

/tools/lib/traceevent/
Dparse-filter.c247 regex_t *sreg, regex_t *ereg) in event_match() argument
251 !regexec(ereg, event->name, 0, NULL, 0); in event_match()
254 return !regexec(ereg, event->system, 0, NULL, 0) || in event_match()
255 !regexec(ereg, event->name, 0, NULL, 0); in event_match()
263 regex_t ereg; in find_event() local
281 ret = regcomp(&ereg, reg, REG_ICASE|REG_NOSUB); in find_event()
290 regfree(&ereg); in find_event()
297 regfree(&ereg); in find_event()
304 if (event_match(event, sys_name ? &sreg : NULL, &ereg)) { in find_event()
313 regfree(&ereg); in find_event()