Home
last modified time | relevance | path

Searched refs:max_stack (Results 1 – 25 of 32) sorted by relevance

12

/linux/tools/perf/util/
A Dunwind-libdw.c218 return entry(pc, ui) || !(--ui->max_stack) ? in frame_callback()
225 int max_stack) in unwind__get_entries() argument
233 .max_stack = max_stack, in unwind__get_entries()
241 ui = zalloc(sizeof(ui_buf) + sizeof(ui_buf.entries[0]) * max_stack); in unwind__get_entries()
265 if (err && ui->max_stack != max_stack) in unwind__get_entries()
A Dunwind-libunwind-local.c642 void *arg, int max_stack) in get_entries() argument
645 unw_word_t ips[max_stack]; in get_entries()
661 if (max_stack - 1 > 0) { in get_entries()
672 while (!ret && (unw_step(&c) > 0) && i < max_stack) { in get_entries()
688 max_stack = i; in get_entries()
694 for (i = 0; i < max_stack && !ret; i++) { in get_entries()
698 j = max_stack - i - 1; in get_entries()
707 struct perf_sample *data, int max_stack) in _unwind__get_entries() argument
718 if (max_stack <= 0) in _unwind__get_entries()
721 return get_entries(&ui, cb, arg, max_stack); in _unwind__get_entries()
A Dunwind.h26 struct perf_sample *data, int max_stack);
32 struct perf_sample *data, int max_stack);
68 int max_stack __maybe_unused) in unwind__get_entries()
A Dunwind-libunwind.c83 struct perf_sample *data, int max_stack) in unwind__get_entries() argument
86 return thread->maps->unwind_libunwind_ops->get_entries(cb, arg, thread, data, max_stack); in unwind__get_entries()
A Dunwind-libdw.h21 int max_stack; member
A Devsel_config.h41 int max_stack; member
A Dcallchain.h104 u16 max_stack; member
252 int max_stack);
A Dtop.h34 int max_stack; member
A Dmachine.c2614 int max_stack, in resolve_lbr_callchain_sample() argument
2719 int max_stack) in thread__resolve_callchain_sample() argument
2737 root_al, max_stack, in thread__resolve_callchain_sample()
2762 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
2931 int max_stack) in thread__resolve_callchain_unwind() argument
2944 thread, sample, max_stack); in thread__resolve_callchain_unwind()
2953 int max_stack) in thread__resolve_callchain() argument
2963 max_stack); in thread__resolve_callchain()
2968 max_stack); in thread__resolve_callchain()
2972 max_stack); in thread__resolve_callchain()
[all …]
A Devsel.c838 attr->sample_max_stack = param->max_stack; in __evsel__config_callchain()
924 int max_stack = 0; in evsel__apply_config_terms() local
964 max_stack = term->val.max_stack; in evsel__apply_config_terms()
999 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in evsel__apply_config_terms()
1002 if (max_stack) { in evsel__apply_config_terms()
1003 param.max_stack = max_stack; in evsel__apply_config_terms()
A Dmachine.h194 int max_stack);
/linux/arch/mips/kernel/
A Dperf_event.c36 if (entry->nr >= entry->max_stack) in save_raw_perf_callchain()
60 if (entry->nr >= entry->max_stack) in perf_callchain_kernel()
/linux/kernel/events/
A Dcallchain.c181 u32 max_stack, bool crosstask, bool add_mark) in get_perf_callchain() argument
192 ctx.max_stack = max_stack; in get_perf_callchain()
/linux/arch/arm64/kernel/
A Dperf_callchain.c118 while (entry->nr < entry->max_stack && in perf_callchain_user()
128 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
/linux/arch/riscv/kernel/
A Dperf_callchain.c69 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
/linux/arch/arm/kernel/
A Dperf_callchain.c79 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
/linux/arch/csky/kernel/
A Dperf_callchain.c106 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Dverifier.c767 unsigned int max_stack; in nfp_bpf_finalize() local
795 max_stack = nn_readb(nn, NFP_NET_CFG_BPF_STACK_SZ) * 64; in nfp_bpf_finalize()
797 if (nfp_prog->stack_size > max_stack) { in nfp_bpf_finalize()
799 nfp_prog->stack_size, max_stack); in nfp_bpf_finalize()
A Doffload.c500 unsigned int max_stack, max_prog_len; in nfp_net_bpf_load() local
510 max_stack = nn_readb(nn, NFP_NET_CFG_BPF_STACK_SZ) * 64; in nfp_net_bpf_load()
511 if (nfp_prog->stack_size > max_stack) { in nfp_net_bpf_load()
/linux/tools/perf/
A Dbuiltin-report.c89 int max_stack; member
315 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event()
1175 .max_stack = PERF_MAX_STACK_DEPTH, in cmd_report()
1235 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
1394 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1395 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
A Dbuiltin-trace.c165 unsigned int max_stack; member
2406 int max_stack = evsel->core.attr.sample_max_stack ? local
2408 trace->max_stack;
2414 err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack);
4093 evsel->core.attr.sample_max_stack = trace->max_stack;
4782 .max_stack = UINT_MAX,
4850 OPT_UINTEGER(0, "max-stack", &trace.max_stack,
5031 if (trace.max_stack == UINT_MAX) {
5032 trace.max_stack = input_name ? PERF_MAX_STACK_DEPTH : sysctl__max_stack();
/linux/arch/powerpc/perf/
A Dcallchain_64.c109 while (entry->nr < entry->max_stack) { in perf_callchain_user_64()
A Dcallchain_32.c147 while (entry->nr < entry->max_stack) { in perf_callchain_user_32()
/linux/arch/xtensa/kernel/
A Dperf_event.c332 xtensa_backtrace_kernel(regs, entry->max_stack, in perf_callchain_kernel()
339 xtensa_backtrace_user(regs, entry->max_stack, in perf_callchain_user()
/linux/include/linux/
A Dperf_event.h70 u32 max_stack; member
1262 u32 max_stack, bool crosstask, bool add_mark);
1264 extern int get_callchain_buffers(int max_stack);
1287 if (ctx->nr < ctx->max_stack && !ctx->contexts_maxed) { in perf_callchain_store()

Completed in 64 milliseconds

12