Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/perf/util/
Dunwind-libdw.c253 return entry(pc, ui) || !(--ui->max_stack) ? in frame_callback()
260 int max_stack, in unwind__get_entries() argument
269 .max_stack = max_stack, in unwind__get_entries()
279 ui = zalloc(sizeof(ui_buf) + sizeof(ui_buf.entries[0]) * max_stack); in unwind__get_entries()
303 if (err && ui->max_stack != max_stack) in unwind__get_entries()
Dunwind.h26 struct perf_sample *data, int max_stack, bool best_effort);
37 struct perf_sample *data, int max_stack,
66 int max_stack __maybe_unused, in unwind__get_entries()
Dunwind-libunwind-local.c716 void *arg, int max_stack) in get_entries() argument
720 unw_word_t ips[max_stack]; in get_entries()
736 if (max_stack - 1 > 0) { in get_entries()
747 while (!ret && (unw_step(&c) > 0) && i < max_stack) { in get_entries()
763 max_stack = i; in get_entries()
769 for (i = 0; i < max_stack && !ret; i++) { in get_entries()
773 j = max_stack - i - 1; in get_entries()
782 struct perf_sample *data, int max_stack, in _unwind__get_entries() argument
795 if (max_stack <= 0) in _unwind__get_entries()
798 return get_entries(&ui, cb, arg, max_stack); in _unwind__get_entries()
Dunwind-libunwind.c89 struct perf_sample *data, int max_stack, in unwind__get_entries() argument
95 return ops->get_entries(cb, arg, thread, data, max_stack, best_effort); in unwind__get_entries()
Dunwind-libdw.h21 int max_stack; member
Devsel_config.h41 int max_stack; member
Dbpf_lock_contention.c33 bpf_map__set_value_size(skel->maps.stacks, con->max_stack * sizeof(u64)); in lock_contention_prepare()
227 idx < con->max_stack - 1) in lock_contention_get_name()
257 size_t stack_size = con->max_stack * sizeof(*stack_trace); in lock_contention_read()
Dtop.h35 int max_stack; member
Dcallchain.h104 u16 max_stack; member
254 int max_stack);
Dlock-contention.h140 int max_stack; member
Dkwork.h205 unsigned int max_stack; member
Dmachine.c2796 int max_stack, in resolve_lbr_callchain_sample() argument
2801 int chain_nr = min(max_stack, (int)chain->nr), i; in resolve_lbr_callchain_sample()
2910 int max_stack) in thread__resolve_callchain_sample() argument
2929 root_al, max_stack, in thread__resolve_callchain_sample()
2954 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
3022 i < chain_nr && nr_entries < max_stack; i++) { in thread__resolve_callchain_sample()
3156 int max_stack) in thread__resolve_callchain_unwind() argument
3169 thread, sample, max_stack, false); in thread__resolve_callchain_unwind()
3178 int max_stack) in thread__resolve_callchain() argument
3191 max_stack); in thread__resolve_callchain()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/arch/arm64/kernel/
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-6.6.21/arch/riscv/kernel/
Dperf_callchain.c65 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
/linux-6.6.21/arch/arm/kernel/
Dperf_callchain.c74 while ((entry->nr < entry->max_stack) && in perf_callchain_user()
/linux-6.6.21/arch/csky/kernel/
Dperf_callchain.c102 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user()
/linux-6.6.21/arch/powerpc/perf/
Dcallchain_64.c82 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()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/
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()
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-6.6.21/arch/xtensa/kernel/
Dperf_event.c341 xtensa_backtrace_kernel(regs, entry->max_stack, in perf_callchain_kernel()
348 xtensa_backtrace_user(regs, entry->max_stack, in perf_callchain_user()
/linux-6.6.21/tools/perf/
Dbuiltin-report.c99 int max_stack; member
332 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event()
1229 .max_stack = PERF_MAX_STACK_DEPTH, in cmd_report()
1293 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
1472 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1473 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
/linux-6.6.21/include/linux/
Dperf_event.h74 u32 max_stack; member
1540 u32 max_stack, bool crosstask, bool add_mark);
1541 extern int get_callchain_buffers(int max_stack);
1564 if (ctx->nr < ctx->max_stack && !ctx->contexts_maxed) { in perf_callchain_store()

12