/tools/perf/util/ |
D | unwind.h | 28 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()
|
D | unwind-libdw.c | 217 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()
|
D | unwind-libunwind-local.c | 641 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()
|
D | unwind-libunwind.c | 85 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()
|
D | unwind-libdw.h | 21 int max_stack; member
|
D | evsel_config.h | 40 int max_stack; member
|
D | top.h | 34 int max_stack; member
|
D | callchain.h | 103 u16 max_stack; member 244 int max_stack);
|
D | machine.c | 2174 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 …]
|
D | evsel.c | 698 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()
|
D | machine.h | 183 int max_stack);
|
D | callchain.c | 1086 int max_stack) in sample__resolve_callchain() argument 1094 parent, al, max_stack); in sample__resolve_callchain()
|
D | parse-events.c | 1216 ADD_CONFIG_TERM(MAX_STACK, max_stack, term->val.num); in get_config_terms()
|
/tools/perf/ |
D | builtin-report.c | 86 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()
|
D | builtin-top.c | 831 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()
|
D | builtin-trace.c | 165 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()
|
D | builtin-sched.c | 234 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()
|