Lines Matching refs:callstack
524 bool match_callstack_filter(struct machine *machine, u64 *callstack) in match_callstack_filter() argument
550 if (!callstack || (!callstack[i] && (strcmp(arch, "powerpc") || in match_callstack_filter()
554 ip = callstack[i]; in match_callstack_filter()
1040 u64 *callstack; in get_callstack() local
1044 callstack = calloc(max_stack, sizeof(*callstack)); in get_callstack()
1045 if (callstack == NULL) in get_callstack()
1054 callstack[c++] = ip; in get_callstack()
1056 return callstack; in get_callstack()
1164 u64 *callstack = get_callstack(sample, max_stack_depth); in report_lock_contention_begin_event() local
1165 if (callstack == NULL) in report_lock_contention_begin_event()
1168 if (!match_callstack_filter(machine, callstack)) { in report_lock_contention_begin_event()
1169 free(callstack); in report_lock_contention_begin_event()
1173 if (ls->callstack == NULL) in report_lock_contention_begin_event()
1174 ls->callstack = callstack; in report_lock_contention_begin_event()
1176 free(callstack); in report_lock_contention_begin_event()
1761 if (!st->callstack || !st->callstack[i]) in print_lock_stat_stdio()
1764 ip = st->callstack[i]; in print_lock_stat_stdio()
1814 if (!st->callstack || !st->callstack[i]) in print_lock_stat_csv()
1817 ip = st->callstack[i]; in print_lock_stat_csv()