/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 | 79 struct counter_map struct 101 struct counter_map counter_map; member in struct:rule_head 103 unsigned int index; /* index (needed for counter_map) */ 122 struct counter_map counter_map; member in struct:chain_head 129 unsigned int foot_index; /* index (needed for counter_map) */ 831 /* save counter and counter_map information */ 832 h->chain_iterator_cur->counter_map.maptype = 834 h->chain_iterator_cur->counter_map.mappos = num-1 [all...] |