Home
last modified time | relevance | path

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

/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c143 unsigned long long native, filter1, filter2, bitmap1, bitmap2; in main() local
188 filter1 = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
189 printf("getpid RET_ALLOW 3 filters (full): %llu ns\n", filter1); in main()
211 filter1 - native); in main()
217 filter2 - filter1); in main()
223 bits = compare("native", "≤", "1 filter", native, le, filter1); in main()
/tools/lib/traceevent/Documentation/
Dlibtraceevent-filter.txt117 struct tep_event_filter *filter1 = tep_filter_alloc(tep);
123 if (tep_filter_copy(filter1, filter) != 0) {
124 /* Failed to copy filter in filter1 */
127 if (tep_filter_compare(filter, filter1) != 1) {
174 tep_filter_free(filter1);
/tools/lib/traceevent/
Dparse-filter.c2234 int tep_filter_compare(struct tep_event_filter *filter1, struct tep_event_filter *filter2) in tep_filter_compare() argument
2243 if (filter1->filters != filter2->filters) in tep_filter_compare()
2245 if (!filter1->filters && !filter2->filters) in tep_filter_compare()
2252 for (i = 0; i < filter1->filters; i++) { in tep_filter_compare()
2253 filter_type1 = &filter1->event_filters[i]; in tep_filter_compare()
2260 str1 = arg_to_str(filter1, filter_type1->filter); in tep_filter_compare()
2274 if (i < filter1->filters) in tep_filter_compare()
Devent-parse.h747 int tep_filter_compare(struct tep_event_filter *filter1, struct tep_event_filter *filter2);