Lines Matching refs:stack_entries
44 unsigned long stack_entries[NUM_STACK_ENTRIES]; member
277 static int get_stack_skipnr(const unsigned long stack_entries[], int num_entries) in get_stack_skipnr() argument
284 len = scnprintf(buf, sizeof(buf), "%ps", (void *)stack_entries[skip]); in get_stack_skipnr()
315 replace_stack_entry(unsigned long stack_entries[], int num_entries, unsigned long ip, in replace_stack_entry() argument
328 unsigned long func = stack_entries[skip]; in replace_stack_entry()
335 *replaced = stack_entries[skip]; in replace_stack_entry()
336 stack_entries[skip] = ip; in replace_stack_entry()
344 return get_stack_skipnr(stack_entries, num_entries); in replace_stack_entry()
348 sanitize_stack_entries(unsigned long stack_entries[], int num_entries, unsigned long ip, in sanitize_stack_entries() argument
351 return ip ? replace_stack_entry(stack_entries, num_entries, ip, replaced) : in sanitize_stack_entries()
352 get_stack_skipnr(stack_entries, num_entries); in sanitize_stack_entries()
368 print_stack_trace(unsigned long stack_entries[], int num_entries, unsigned long reordered_to) in print_stack_trace() argument
370 stack_trace_print(stack_entries, num_entries, 0); in print_stack_trace()
394 unsigned long stack_entries[NUM_STACK_ENTRIES] = { 0 }; in print_report() local
395 int num_stack_entries = stack_trace_save(stack_entries, NUM_STACK_ENTRIES, 1); in print_report()
396 int skipnr = sanitize_stack_entries(stack_entries, num_stack_entries, ai->ip, &reordered_to); in print_report()
397 unsigned long this_frame = stack_entries[skipnr]; in print_report()
405 if (skip_report(KCSAN_VALUE_CHANGE_TRUE, stack_entries[skipnr])) in print_report()
409 other_skipnr = sanitize_stack_entries(other_info->stack_entries, in print_report()
412 other_frame = other_info->stack_entries[other_skipnr]; in print_report()
451 print_stack_trace(other_info->stack_entries + other_skipnr, in print_report()
467 print_stack_trace(stack_entries + skipnr, num_stack_entries - skipnr, reordered_to); in print_report()
594 other_info->num_stack_entries = stack_trace_save(other_info->stack_entries, NUM_STACK_ENTRIES, 2); in prepare_report_producer()