/external/oprofile/libop/tests/ |
alloc_counter_tests.c | 138 static void show_counter_map(size_t const * counter_map, size_t nr_events) 142 printf("%lu ", (unsigned long)counter_map[i]); 150 size_t * counter_map; local 172 counter_map = map_event_to_counter(event, nr_events, it->cpu_type); 173 if (!counter_map) { 182 if (counter_map[i] != it->alloc_map[i]) { 187 show_counter_map(counter_map, nr_events); 201 free(counter_map);
|
/external/oprofile/libop/ |
op_alloc_counter.c | 105 * @param counter_map array of counter number mapping, returned results go 108 * return non zero on succees, in this case counter_map is set to the counter 117 * counter_map entry will be -1. 127 u32 allocated_mask, size_t * counter_map) 134 /* If ctr_arc is not available, counter_map is -1 */ 136 counter_map[depth] = -1; 139 counter_map)) 148 counter_map[depth] = arc->counter; 152 counter_map)) 201 size_t * counter_map; local [all...] |
/external/oprofile/utils/ |
ophelp.c | 193 size_t * counter_map; local 235 counter_map = map_event_to_counter(selected_events, count, cpu_type); 237 if (!counter_map) { 243 if(counter_map[i] == (size_t)-1) 249 printf("%d ", (unsigned int) counter_map[i]); 252 free(counter_map);
|
/external/iptables/libiptc/ |
libiptc.c | 80 struct counter_map struct 102 struct counter_map counter_map; member in struct:rule_head 104 unsigned int index; /* index (needed for counter_map) */ 123 struct counter_map counter_map; member in struct:chain_head 130 unsigned int foot_index; /* index (needed for counter_map) */ 829 /* save counter and counter_map information */ 830 h->chain_iterator_cur->counter_map.maptype = 832 h->chain_iterator_cur->counter_map.mappos = num-1 [all...] |