Searched refs:stack_entries (Results 1 - 1 of 1) sorted by relevance
/macosx-10.10/libmalloc-53.1.1/src/ |
H A D | stack_logging.c | 98 stack_logging_get_unique_stack(unsigned **table, unsigned *table_num_pages, unsigned *stack_entries, unsigned count, unsigned num_hot_to_skip) { argument 102 if (count > 0) { stack_entries++; count--; } 105 unsigned thisPC = stack_entries[count]; 185 unsigned stack_entries[MAX_NUM_PC]; local 199 thread_stack_pcs((vm_address_t *)stack_entries, MAX_NUM_PC - 1, &count); 201 stack_entries[count++] = (int)(uintptr_t)_os_tsd_get_direct(__TSD_THREAD_SELF) + 1; 204 rec->uniqued_stack = stack_logging_get_unique_stack(&stack_logging_the_record_list->uniquing_table, &stack_logging_the_record_list->uniquing_table_num_pages, stack_entries, count, num_hot_to_skip+2); // we additionally skip the warmest 2 entries that are an artefact of the code
|
Completed in 122 milliseconds