Searched refs:nr_counters (Results 1 – 5 of 5) sorted by relevance
202 int i, nr_counters, nr_pmc_events; in map_event_to_counter() local213 nr_counters = op_get_nr_counters(cpu_type); in map_event_to_counter()215 nr_counters = op_get_counter_mask(&unavailable_counters); in map_event_to_counter()218 if (nr_counters <= 0) { in map_event_to_counter()219 nr_counters = op_get_nr_counters(cpu_type); in map_event_to_counter()220 unavailable_counters = (~0) << nr_counters; in map_event_to_counter()226 if (++nr_pmc_events > nr_counters) in map_event_to_counter()
23 unsigned int nr_counters; member210 return cpu_descrs[cpu_type].nr_counters; in op_get_nr_counters()
62 int nr_counters; in xml_help_for_event() local71 nr_counters = op_get_nr_counters(cpu_type); in xml_help_for_event()
92 size_t nr_counters; in help_for_event() local96 nr_counters = op_get_nr_counters(cpu_type); in help_for_event()108 if (hweight(mask) == nr_counters) { in help_for_event()194 size_t nr_counters = op_get_nr_counters(cpu_type); in resolve_events() local227 if (count_events > nr_counters) { in resolve_events()231 (unsigned long) nr_counters); in resolve_events()
2853 * libop/op_cpu_type.c: fix nr_counters cpu type check