Home
last modified time | relevance | path

Searched refs:callstack (Results 1 – 12 of 12) sorted by relevance

/linux/tools/perf/util/
H A Dlock-contention.c102 bool match_callstack_filter(struct machine *machine, u64 *callstack, int max_stack_depth) in match_callstack_filter() argument
124 * The below check will continue to look into callstack, in match_callstack_filter()
125 * incase first or second callstack index entry has 0 in match_callstack_filter()
128 if (!callstack || (!callstack[i] && (strcmp(arch, "powerpc") || in match_callstack_filter()
132 ip = callstack[i]; in match_callstack_filter()
H A Dlock-contention.h33 u64 *callstack; member
170 bool match_callstack_filter(struct machine *machine, u64 *callstack, int max_stack_depth);
H A Dthread-stack.c138 bool callstack, unsigned int br_stack_sz) in thread_stack__init() argument
142 if (callstack) { in thread_stack__init()
175 bool callstack, in thread_stack__new() argument
202 thread_stack__init(ts, thread, crp, callstack, br_stack_sz)) in thread_stack__new()
407 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack, in thread_stack__event() argument
416 ts = thread_stack__new(thread, cpu, NULL, callstack, br_stack_sz); in thread_stack__event()
443 if (ts->crp || !callstack) in thread_stack__event()
H A Dthread-stack.h83 u64 to_ip, u16 insn_len, u64 trace_nr, bool callstack,
H A Dbpf_lock_contention.c695 st->callstack = stack_trace; in pop_owner_stack_trace()
816 st->callstack = memdup(stack_trace, stack_size); in lock_contention_read()
817 if (st->callstack == NULL) in lock_contention_read()
H A Dsession.c811 * LBR callstack can only get user call chain, in callchain__lbr_callstack_printf()
863 bool callstack = evsel__has_branch_callstack(evsel); in branch_stack__printf() local
867 if (!callstack) { in branch_stack__printf()
871 * branch stack it generates nr + 1 callstack records. e.g., in branch_stack__printf()
874 * the final callstack should be: in branch_stack__printf()
879 printf("%s: nr:%" PRIu64 "\n", "... branch callstack", sample->branch_stack->nr+1); in branch_stack__printf()
885 if (!callstack) { in branch_stack__printf()
H A Dintel-pt.c81 bool callstack; member
2898 state->trace_nr, pt->callstack, in intel_pt_sample()
4683 pt->callstack = pt->synth_opts.callchain || in intel_pt_process_auxtrace_info()
/linux/tools/perf/
H A Dbuiltin-lock.c947 u64 *callstack; in get_callstack() local
951 callstack = calloc(max_stack, sizeof(*callstack)); in get_callstack()
952 if (callstack == NULL) in get_callstack()
961 callstack[c++] = ip; in get_callstack()
963 return callstack; in get_callstack()
1071 u64 *callstack = get_callstack(sample, max_stack_depth); in report_lock_contention_begin_event() local
1072 if (callstack == NULL) in report_lock_contention_begin_event()
1075 if (!match_callstack_filter(machine, callstack, max_stack_depth)) { in report_lock_contention_begin_event()
1076 free(callstack); in report_lock_contention_begin_event()
[all...]
/linux/tools/perf/Documentation/
H A Dperf-lock.txt202 --callstack-filter=<value>::
203 Show lock contention only if the callstack contains the given string.
H A Dperf-top.txt262 Add the addresses of sampled taken branches to the callstack.
H A Dperf-report.txt409 Add the addresses of sampled taken branches to the callstack.
/linux/lib/
H A DKconfig.debug1114 be on the callstack. To detect this case, it is necessary to report