Home
last modified time | relevance | path

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

/tools/perf/util/
Dunwind.h23 struct perf_sample *data, int max_stack);
29 struct perf_sample *data, int max_stack);
66 int max_stack __maybe_unused) in unwind__get_entries()
Dunwind-libdw.c188 return entry(pc, ui) || !(--ui->max_stack) ? in frame_callback()
195 int max_stack) in unwind__get_entries() argument
203 .max_stack = max_stack, in unwind__get_entries()
211 ui = zalloc(sizeof(ui_buf) + sizeof(ui_buf.entries[0]) * max_stack); in unwind__get_entries()
234 if (err && !ui->max_stack) in unwind__get_entries()
Dunwind-libunwind-local.c617 void *arg, int max_stack) in get_entries() argument
620 unw_word_t ips[max_stack]; in get_entries()
636 if (max_stack - 1 > 0) { in get_entries()
647 while (!ret && (unw_step(&c) > 0) && i < max_stack) { in get_entries()
663 max_stack = i; in get_entries()
669 for (i = 0; i < max_stack && !ret; i++) { in get_entries()
673 j = max_stack - i - 1; in get_entries()
682 struct perf_sample *data, int max_stack) in _unwind__get_entries() argument
693 if (max_stack <= 0) in _unwind__get_entries()
696 return get_entries(&ui, cb, arg, max_stack); in _unwind__get_entries()
Dunwind-libunwind.c78 struct perf_sample *data, int max_stack) in unwind__get_entries() argument
81 return thread->unwind_libunwind_ops->get_entries(cb, arg, thread, data, max_stack); in unwind__get_entries()
Dunwind-libdw.h18 int max_stack; member
Dtop.h27 int max_stack; member
Dcallchain.h94 u16 max_stack; member
228 int max_stack);
Dmachine.c1745 int max_stack) in resolve_lbr_callchain_sample() argument
1748 int chain_nr = min(max_stack, (int)chain->nr), i; in resolve_lbr_callchain_sample()
1807 int max_stack) in thread__resolve_callchain_sample() argument
1819 root_al, max_stack); in thread__resolve_callchain_sample()
1843 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
1889 i < chain_nr && nr_entries < max_stack; i++) { in thread__resolve_callchain_sample()
1929 int max_stack) in thread__resolve_callchain_unwind() argument
1942 thread, sample, max_stack); in thread__resolve_callchain_unwind()
1951 int max_stack) in thread__resolve_callchain() argument
1961 max_stack); in thread__resolve_callchain()
[all …]
Devsel.c621 attr->sample_max_stack = param->max_stack; in perf_evsel__config_callchain()
686 int max_stack = 0; in apply_config_terms() local
715 max_stack = term->val.max_stack; in apply_config_terms()
735 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in apply_config_terms()
736 if (max_stack) { in apply_config_terms()
737 param.max_stack = max_stack; in apply_config_terms()
Dmachine.h151 int max_stack);
Devsel.h63 int max_stack; member
Dcallchain.c797 int max_stack) in sample__resolve_callchain() argument
805 parent, al, max_stack); in sample__resolve_callchain()
Dhist.h105 int max_stack; member
Dhist.c868 he_cache = malloc(sizeof(*he_cache) * (iter->max_stack + 1)); in iter_prepare_cumulative_entry()
1033 iter->max_stack = max_stack_depth; in hist_entry_iter__add()
Dparse-events.c1133 ADD_CONFIG_TERM(MAX_STACK, max_stack, term->val.num); in get_config_terms()
/tools/perf/
Dbuiltin-report.c57 int max_stack; member
192 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event()
699 .max_stack = PERF_MAX_STACK_DEPTH, in cmd_report()
749 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
875 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
876 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
Dbuiltin-top.c778 err = hist_entry_iter__add(&iter, &al, top->max_stack, top); in perf_event__process_sample()
1103 .max_stack = sysctl_perf_event_max_stack, in cmd_top()
1169 OPT_INTEGER(0, "max-stack", &top.max_stack, in cmd_top()
Dbuiltin-trace.c89 unsigned int max_stack; member
1555 thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, trace->max_stack)) in trace__resolve_callchain()
2788 .max_stack = UINT_MAX, in cmd_trace()
2842 OPT_UINTEGER(0, "max-stack", &trace.max_stack, in cmd_trace()
2888 if (trace.max_stack == UINT_MAX) { in cmd_trace()
2889 trace.max_stack = input_name ? PERF_MAX_STACK_DEPTH : sysctl_perf_event_max_stack; in cmd_trace()