Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/util/
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()
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()
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()
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()
Dunwind-libdw.h21 int max_stack; member
Devsel_config.h41 int max_stack; member
Dtop.h34 int max_stack; member
Dcallchain.h104 u16 max_stack; member
252 int max_stack);
Dmachine.c2555 int max_stack, in resolve_lbr_callchain_sample() argument
2560 int chain_nr = min(max_stack, (int)chain->nr), i; in resolve_lbr_callchain_sample()
2660 int max_stack) in thread__resolve_callchain_sample() argument
2678 root_al, max_stack, in thread__resolve_callchain_sample()
2703 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
2771 i < chain_nr && nr_entries < max_stack; i++) { in thread__resolve_callchain_sample()
2872 int max_stack) in thread__resolve_callchain_unwind() argument
2885 thread, sample, max_stack); in thread__resolve_callchain_unwind()
2894 int max_stack) in thread__resolve_callchain() argument
2904 max_stack); in thread__resolve_callchain()
[all …]
Devsel.c795 attr->sample_max_stack = param->max_stack; in __evsel__config_callchain()
883 int max_stack = 0; in evsel__apply_config_terms() local
923 max_stack = term->val.max_stack; in evsel__apply_config_terms()
958 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in evsel__apply_config_terms()
961 if (max_stack) { in evsel__apply_config_terms()
962 param.max_stack = max_stack; in evsel__apply_config_terms()
Dmachine.h190 int max_stack);
/kernel/linux/linux-5.10/arch/mips/kernel/
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()
/kernel/linux/linux-5.10/kernel/events/
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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dperf_callchain.c120 while (entry->nr < entry->max_stack && in perf_callchain_user()
130 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dperf_callchain.c74 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dperf_callchain.c107 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dperf_callchain.c80 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dcallchain_64.c108 while (entry->nr < entry->max_stack) { in perf_callchain_user_64()
Dcallchain_32.c147 while (entry->nr < entry->max_stack) { in perf_callchain_user_32()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c762 unsigned int max_stack; in nfp_bpf_finalize() local
790 max_stack = nn_readb(nn, NFP_NET_CFG_BPF_STACK_SZ) * 64; in nfp_bpf_finalize()
792 if (nfp_prog->stack_size > max_stack) { in nfp_bpf_finalize()
794 nfp_prog->stack_size, max_stack); in nfp_bpf_finalize()
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()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-report.c87 int max_stack; member
306 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event()
1158 .max_stack = PERF_MAX_STACK_DEPTH, in cmd_report()
1217 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
1381 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1382 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
Dbuiltin-top.c844 err = hist_entry_iter__add(&iter, &al, top->max_stack, top); in perf_event__process_sample()
1444 .max_stack = sysctl__max_stack(), in cmd_top()
1515 OPT_INTEGER(0, "max-stack", &top.max_stack, in cmd_top()
/kernel/linux/linux-5.10/arch/xtensa/kernel/
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()
/kernel/linux/linux-5.10/include/linux/
Dperf_event.h69 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()

12