Lines Matching refs:callstack
522 bool match_callstack_filter(struct machine *machine, u64 *callstack) in match_callstack_filter() argument
548 if (!callstack || (!callstack[i] && (strcmp(arch, "powerpc") || in match_callstack_filter()
552 ip = callstack[i]; in match_callstack_filter()
1037 u64 *callstack; in get_callstack() local
1041 callstack = calloc(max_stack, sizeof(*callstack)); in get_callstack()
1042 if (callstack == NULL) in get_callstack()
1051 callstack[c++] = ip; in get_callstack()
1053 return callstack; in get_callstack()
1160 u64 *callstack = get_callstack(sample, max_stack_depth); in report_lock_contention_begin_event() local
1161 if (callstack == NULL) in report_lock_contention_begin_event()
1164 if (!match_callstack_filter(machine, callstack)) { in report_lock_contention_begin_event()
1165 free(callstack); in report_lock_contention_begin_event()
1169 if (ls->callstack == NULL) in report_lock_contention_begin_event()
1170 ls->callstack = callstack; in report_lock_contention_begin_event()
1172 free(callstack); in report_lock_contention_begin_event()
1749 if (!st->callstack || !st->callstack[i]) in print_lock_stat_stdio()
1752 ip = st->callstack[i]; in print_lock_stat_stdio()
1799 if (!st->callstack || !st->callstack[i]) in print_lock_stat_csv()
1802 ip = st->callstack[i]; in print_lock_stat_csv()