Searched refs:expected_config (Results 1 – 2 of 2) sorted by relevance
10 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config() argument12 return (evsel->core.attr.config & PERF_HW_EVENT_MASK) == expected_config; in test_config()15 static bool test_perf_config(const struct perf_evsel *evsel, __u64 expected_config) in test_perf_config() argument17 return (evsel->attr.config & PERF_HW_EVENT_MASK) == expected_config; in test_perf_config()20 static bool test_hybrid_type(const struct evsel *evsel, __u64 expected_config) in test_hybrid_type() argument22 return (evsel->core.attr.config >> PERF_PMU_TYPE_SHIFT) == expected_config; in test_hybrid_type()
37 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config() argument49 return config == expected_config; in test_config()52 static bool test_perf_config(const struct perf_evsel *evsel, __u64 expected_config) in test_perf_config() argument54 return (evsel->attr.config & PERF_HW_EVENT_MASK) == expected_config; in test_perf_config()