Searched refs:field_regex (Results 1 – 2 of 2) sorted by relevance
/openbmc/openbmc/poky/meta/recipes-kernel/perf/perf/ |
H A D | sort-pmuevents.py | 40 field_regex = re.compile(r'{.*?},', re.MULTILINE | re.DOTALL ) variable 53 for entry in re.findall( field_regex, struct[3] ):
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 211 static regex_t *field_regex; variable 553 if (regexec(field_regex, pattern, 3, matches, 0) != 0) { in match_pattern() 580 if (regexec(field_regex, pattern, 3, matches, 0) == 0) { in match_pattern() 899 field_regex = compile_regex("^([[:alpha:]_][[:alnum:]_]+)::([[:alpha:]_][[:alnum:]_]+)"); in test_ctx_rewrite() 901 if (!field_regex || !ident_regex) in test_ctx_rewrite() 915 free_regex(field_regex); in test_ctx_rewrite()
|