Home
last modified time | relevance | path

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

/linux/tools/perf/util/
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.c708 st->callstack = stack_trace; in pop_owner_stack_trace()
826 st->callstack = memdup(stack_trace, stack_size); in lock_contention_read()
827 if (st->callstack == NULL) in lock_contention_read()
H A Dsession.c1286 * LBR callstack can only get user call chain, in deliver_sample_value()
1364 bool callstack = evsel__has_branch_callstack(evsel); in evlist__deliver_deferred_callchain()
1368 if (!callstack) { in evlist__deliver_deferred_callchain()
1372 * branch stack it generates nr + 1 callstack records. e.g., in evlist__deliver_deferred_callchain()
1375 * the final callstack should be: in evlist__deliver_deferred_callchain()
1380 printf("%s: nr:%" PRIu64 "\n", "... branch callstack", sample->branch_stack->nr+1); in evlist__deliver_deferred_callchain()
1386 if (!callstack) { in evlist__deliver_deferred_callchain()
907 bool callstack = evsel__has_branch_callstack(evsel); branch_stack__printf() local
H A Dintel-pt.c81 bool callstack; member
2919 state->trace_nr, pt->callstack, in intel_pt_sample()
4702 pt->callstack = pt->synth_opts.callchain || in intel_pt_process_auxtrace_info()
/linux/tools/perf/
H A Dbuiltin-lock.c939 u64 *callstack; in callchain_id()
948 callstack = calloc(max_stack, sizeof(*callstack)); in get_callstack()
949 if (callstack == NULL) { in get_callstack()
950 pr_debug("Failed to allocate callstack\n"); in get_callstack()
960 callstack[c++] = ip; in get_callstack()
962 return callstack; in get_callstack()
1069 u64 *callstack = get_callstack(sample, max_stack_depth); in report_lock_contention_begin_event()
1070 if (callstack == NULL) in report_lock_contention_begin_event()
1073 if (!match_callstack_filter(machine, callstack, max_stack_dept in report_lock_contention_begin_event()
947 u64 *callstack; get_callstack() local
1071 u64 *callstack = get_callstack(sample, max_stack_depth); report_lock_contention_begin_event() local
[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.txt416 Add the addresses of sampled taken branches to the callstack.