Home
last modified time | relevance | path

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

/tools/perf/util/
Dunwind.h28 struct perf_sample *data, int max_stack);
34 struct perf_sample *data, int max_stack);
71 int max_stack __maybe_unused) in unwind__get_entries()
Dunwind-libdw.c217 return entry(pc, ui) || !(--ui->max_stack) ? in frame_callback()
224 int max_stack) in unwind__get_entries() argument
232 .max_stack = max_stack, in unwind__get_entries()
240 ui = zalloc(sizeof(ui_buf) + sizeof(ui_buf.entries[0]) * max_stack); in unwind__get_entries()
264 if (err && ui->max_stack != max_stack) in unwind__get_entries()
Dunwind-libunwind-local.c641 void *arg, int max_stack) in get_entries() argument
644 unw_word_t ips[max_stack]; in get_entries()
660 if (max_stack - 1 > 0) { in get_entries()
671 while (!ret && (unw_step(&c) > 0) && i < max_stack) { in get_entries()
687 max_stack = i; in get_entries()
693 for (i = 0; i < max_stack && !ret; i++) { in get_entries()
697 j = max_stack - i - 1; in get_entries()
706 struct perf_sample *data, int max_stack) in _unwind__get_entries() argument
717 if (max_stack <= 0) in _unwind__get_entries()
720 return get_entries(&ui, cb, arg, max_stack); in _unwind__get_entries()
Dunwind-libunwind.c85 struct perf_sample *data, int max_stack) in unwind__get_entries() argument
88 return thread->mg->unwind_libunwind_ops->get_entries(cb, arg, thread, data, max_stack); in unwind__get_entries()
Dunwind-libdw.h21 int max_stack; member
Devsel_config.h40 int max_stack; member
Dtop.h34 int max_stack; member
Dcallchain.h103 u16 max_stack; member
244 int max_stack);
Dmachine.c2174 int max_stack) in resolve_lbr_callchain_sample() argument
2177 int chain_nr = min(max_stack, (int)chain->nr), i; in resolve_lbr_callchain_sample()
2282 int max_stack) in thread__resolve_callchain_sample() argument
2297 root_al, max_stack); in thread__resolve_callchain_sample()
2321 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
2389 i < chain_nr && nr_entries < max_stack; i++) { in thread__resolve_callchain_sample()
2486 int max_stack) in thread__resolve_callchain_unwind() argument
2499 thread, sample, max_stack); in thread__resolve_callchain_unwind()
2508 int max_stack) in thread__resolve_callchain() argument
2518 max_stack); in thread__resolve_callchain()
[all …]
Devsel.c698 attr->sample_max_stack = param->max_stack; in __perf_evsel__config_callchain()
785 int max_stack = 0; in apply_config_terms() local
825 max_stack = term->val.max_stack; in apply_config_terms()
855 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in apply_config_terms()
858 if (max_stack) { in apply_config_terms()
859 param.max_stack = max_stack; in apply_config_terms()
Dmachine.h183 int max_stack);
Dcallchain.c1086 int max_stack) in sample__resolve_callchain() argument
1094 parent, al, max_stack); in sample__resolve_callchain()
Dparse-events.c1216 ADD_CONFIG_TERM(MAX_STACK, max_stack, term->val.num); in get_config_terms()
/tools/perf/
Dbuiltin-report.c86 int max_stack; member
297 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event()
1068 .max_stack = PERF_MAX_STACK_DEPTH, in cmd_report()
1124 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
1266 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1267 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
Dbuiltin-top.c831 err = hist_entry_iter__add(&iter, &al, top->max_stack, top); in perf_event__process_sample()
1419 .max_stack = sysctl__max_stack(), in cmd_top()
1490 OPT_INTEGER(0, "max-stack", &top.max_stack, in cmd_top()
Dbuiltin-trace.c165 unsigned int max_stack; member
2110 int max_stack = evsel->core.attr.sample_max_stack ? in trace__resolve_callchain() local
2112 trace->max_stack; in trace__resolve_callchain()
2118 err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack); in trace__resolve_callchain()
3492 evsel->core.attr.sample_max_stack = trace->max_stack; in trace__run()
4149 .max_stack = UINT_MAX, in cmd_trace()
4212 OPT_UINTEGER(0, "max-stack", &trace.max_stack, in cmd_trace()
4323 if (trace.max_stack == UINT_MAX) { in cmd_trace()
4324 trace.max_stack = input_name ? PERF_MAX_STACK_DEPTH : sysctl__max_stack(); in cmd_trace()
Dbuiltin-sched.c234 unsigned int max_stack; member
2158 NULL, NULL, sched->max_stack + 2) != 0) { in save_task_callchain()
3368 .max_stack = 5, in cmd_sched()
3412 OPT_UINTEGER(0, "max-stack", &sched.max_stack, in cmd_sched()