Lines Matching refs:callstack
522 bool match_callstack_filter(struct machine *machine, u64 *callstack) in match_callstack_filter() argument
534 if (!callstack || !callstack[i]) in match_callstack_filter()
537 ip = callstack[i]; in match_callstack_filter()
1022 u64 *callstack; in get_callstack() local
1026 callstack = calloc(max_stack, sizeof(*callstack)); in get_callstack()
1027 if (callstack == NULL) in get_callstack()
1036 callstack[c++] = ip; in get_callstack()
1038 return callstack; in get_callstack()
1145 u64 *callstack = get_callstack(sample, max_stack_depth); in report_lock_contention_begin_event() local
1146 if (callstack == NULL) in report_lock_contention_begin_event()
1149 if (!match_callstack_filter(machine, callstack)) { in report_lock_contention_begin_event()
1150 free(callstack); in report_lock_contention_begin_event()
1154 if (ls->callstack == NULL) in report_lock_contention_begin_event()
1155 ls->callstack = callstack; in report_lock_contention_begin_event()
1157 free(callstack); in report_lock_contention_begin_event()
1734 if (!st->callstack || !st->callstack[i]) in print_lock_stat_stdio()
1737 ip = st->callstack[i]; in print_lock_stat_stdio()
1784 if (!st->callstack || !st->callstack[i]) in print_lock_stat_csv()
1787 ip = st->callstack[i]; in print_lock_stat_csv()