Home
last modified time | relevance | path

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

/tools/lib/traceevent/
Dparse-filter.c255 regex_t *sreg, regex_t *ereg) in event_match() argument
259 !regexec(ereg, event->name, 0, NULL, 0); in event_match()
262 return !regexec(ereg, event->system, 0, NULL, 0) || in event_match()
263 !regexec(ereg, event->name, 0, NULL, 0); in event_match()
271 regex_t ereg; in find_event() local
291 ret = regcomp(&ereg, reg, REG_ICASE|REG_NOSUB); in find_event()
300 regfree(&ereg); in find_event()
308 regfree(&ereg); in find_event()
315 if (event_match(event, sys_name ? &sreg : NULL, &ereg)) { in find_event()
324 regfree(&ereg); in find_event()