Home
last modified time | relevance | path

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

/tools/perf/util/
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-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-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.c2607 int max_stack, in resolve_lbr_callchain_sample() argument
2612 int chain_nr = min(max_stack, (int)chain->nr), i; in resolve_lbr_callchain_sample()
2712 int max_stack) in thread__resolve_callchain_sample() argument
2730 root_al, max_stack, in thread__resolve_callchain_sample()
2755 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
2823 i < chain_nr && nr_entries < max_stack; i++) { in thread__resolve_callchain_sample()
2924 int max_stack) in thread__resolve_callchain_unwind() argument
2937 thread, sample, max_stack); in thread__resolve_callchain_unwind()
2946 int max_stack) in thread__resolve_callchain() argument
2956 max_stack); in thread__resolve_callchain()
[all …]
Devsel.c825 attr->sample_max_stack = param->max_stack; in __evsel__config_callchain()
911 int max_stack = 0; in evsel__apply_config_terms() local
951 max_stack = term->val.max_stack; in evsel__apply_config_terms()
986 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in evsel__apply_config_terms()
989 if (max_stack) { in evsel__apply_config_terms()
990 param.max_stack = max_stack; in evsel__apply_config_terms()
Dmachine.h192 int max_stack);
Dcallchain.c1085 int max_stack) in sample__resolve_callchain() argument
1093 parent, al, max_stack); in sample__resolve_callchain()
Dparse-events.c1355 ADD_CONFIG_TERM_VAL(MAX_STACK, max_stack, in get_config_terms()
/tools/perf/
Dbuiltin-report.c89 int max_stack; member
315 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event()
1189 .max_stack = PERF_MAX_STACK_DEPTH, in cmd_report()
1249 OPT_INTEGER(0, "max-stack", &report.max_stack, in cmd_report()
1417 (int)itrace_synth_opts.callchain_sz > report.max_stack) in cmd_report()
1418 report.max_stack = itrace_synth_opts.callchain_sz; in cmd_report()
Dbuiltin-top.c842 err = hist_entry_iter__add(&iter, &al, top->max_stack, top); in perf_event__process_sample()
1438 .max_stack = sysctl__max_stack(), in cmd_top()
1508 OPT_INTEGER(0, "max-stack", &top.max_stack, in cmd_top()
Dbuiltin-trace.c169 unsigned int max_stack; member
2410 int max_stack = evsel->core.attr.sample_max_stack ? local
2412 trace->max_stack;
2418 err = thread__resolve_callchain(al.thread, cursor, evsel, sample, NULL, NULL, max_stack);
4095 evsel->core.attr.sample_max_stack = trace->max_stack;
4784 .max_stack = UINT_MAX,
4852 OPT_UINTEGER(0, "max-stack", &trace.max_stack,
5033 if (trace.max_stack == UINT_MAX) {
5034 trace.max_stack = input_name ? PERF_MAX_STACK_DEPTH : sysctl__max_stack();
Dbuiltin-sched.c238 unsigned int max_stack; member
2166 NULL, NULL, sched->max_stack + 2) != 0) { in save_task_callchain()
3435 .max_stack = 5, in cmd_sched()
3479 OPT_UINTEGER(0, "max-stack", &sched.max_stack, in cmd_sched()