callchain 1382 arch/x86/events/intel/ds.c data->callchain = perf_callchain(event, iregs); callchain 1543 arch/x86/events/intel/ds.c data->callchain = perf_callchain(event, iregs); callchain 962 include/linux/perf_event.h struct perf_callchain_entry *callchain; callchain 6401 kernel/events/core.c size += data->callchain->nr; callchain 6403 kernel/events/core.c __output_copy(handle, data->callchain, size); callchain 6569 kernel/events/core.c struct perf_callchain_entry *callchain; callchain 6574 kernel/events/core.c callchain = get_perf_callchain(regs, 0, kernel, user, callchain 6576 kernel/events/core.c return callchain ?: &__empty_callchain; callchain 6601 kernel/events/core.c data->callchain = perf_callchain(event, regs); callchain 6603 kernel/events/core.c size += data->callchain->nr; callchain 2565 tools/perf/builtin-c2c.c struct callchain_param *callchain = opt->value; callchain 2567 tools/perf/builtin-c2c.c callchain->enabled = !unset; callchain 2573 tools/perf/builtin-c2c.c callchain->mode = CHAIN_NONE; callchain 1738 tools/perf/builtin-record.c static void callchain_debug(struct callchain_param *callchain) callchain 1742 tools/perf/builtin-record.c pr_debug("callchain: type %s\n", str[callchain->record_mode]); callchain 1744 tools/perf/builtin-record.c if (callchain->record_mode == CALLCHAIN_DWARF) callchain 1746 tools/perf/builtin-record.c callchain->dump_size); callchain 1750 tools/perf/builtin-record.c struct callchain_param *callchain, callchain 1754 tools/perf/builtin-record.c callchain->enabled = !unset; callchain 1758 tools/perf/builtin-record.c callchain->record_mode = CALLCHAIN_NONE; callchain 1763 tools/perf/builtin-record.c ret = parse_callchain_record_opt(arg, callchain); callchain 1766 tools/perf/builtin-record.c if (callchain->record_mode == CALLCHAIN_DWARF) callchain 1768 tools/perf/builtin-record.c callchain_debug(callchain); callchain 1785 tools/perf/builtin-record.c struct callchain_param *callchain = opt->value; callchain 1787 tools/perf/builtin-record.c callchain->enabled = true; callchain 1789 tools/perf/builtin-record.c if (callchain->record_mode == CALLCHAIN_NONE) callchain 1790 tools/perf/builtin-record.c callchain->record_mode = CALLCHAIN_FP; callchain 1792 tools/perf/builtin-record.c callchain_debug(callchain); callchain 335 tools/perf/builtin-report.c if (session->itrace_synth_opts->callchain || callchain 935 tools/perf/builtin-report.c struct callchain_param *callchain = opt->value; callchain 937 tools/perf/builtin-report.c callchain->enabled = !unset; callchain 943 tools/perf/builtin-report.c callchain->mode = CHAIN_NONE; callchain 1263 tools/perf/builtin-report.c if (itrace_synth_opts.callchain && callchain 282 tools/perf/builtin-sched.c struct callchain_root callchain; callchain 2154 tools/perf/builtin-sched.c if (!sched->show_callchain || sample->callchain == NULL) callchain 2198 tools/perf/builtin-sched.c callchain_init(&itr->callchain); callchain 2286 tools/perf/builtin-sched.c if (!sched->show_callchain || sample->callchain == NULL) callchain 2603 tools/perf/builtin-sched.c callchain_append(&itr->callchain, &itr->cursor, t - tprev); callchain 2879 tools/perf/builtin-sched.c callchain_param.sort(&itr->sorted_root.rb_root, &itr->callchain, callchain 1319 tools/perf/builtin-script.c if (symbol_conf.use_callchain && sample->callchain && callchain 1870 tools/perf/builtin-script.c if (symbol_conf.use_callchain && sample->callchain && callchain 3608 tools/perf/builtin-script.c if (itrace_synth_opts.callchain && callchain 483 tools/perf/builtin-timechart.c struct ip_callchain *chain = sample->callchain; callchain 1059 tools/perf/builtin-top.c static int callchain_param__setup_sample_type(struct callchain_param *callchain) callchain 1061 tools/perf/builtin-top.c if (callchain->mode != CHAIN_NONE) { callchain 1062 tools/perf/builtin-top.c if (callchain_register_param(callchain) < 0) { callchain 1348 tools/perf/builtin-top.c struct callchain_param *callchain = opt->value; callchain 1350 tools/perf/builtin-top.c callchain->enabled = !unset; callchain 1351 tools/perf/builtin-top.c callchain->record_mode = CALLCHAIN_FP; callchain 1358 tools/perf/builtin-top.c callchain->record_mode = CALLCHAIN_NONE; callchain 2134 tools/perf/builtin-trace.c if (sample->callchain) { callchain 2366 tools/perf/builtin-trace.c if (sample->callchain) { callchain 2464 tools/perf/builtin-trace.c if (sample->callchain) { callchain 103 tools/perf/tests/hists_cumulate.c sample.callchain = (struct ip_callchain *)fake_callchains[i]; callchain 157 tools/perf/tests/hists_cumulate.c #define DEPTH(he) (he->callchain->max_depth) callchain 222 tools/perf/tests/hists_cumulate.c root = &he->callchain->node.rb_root; callchain 87 tools/perf/tests/sample-parsing.c COMP(callchain->nr); callchain 88 tools/perf/tests/sample-parsing.c for (i = 0; i < s1->callchain->nr; i++) callchain 89 tools/perf/tests/sample-parsing.c COMP(callchain->ips[i]); callchain 169 tools/perf/tests/sample-parsing.c struct ip_callchain callchain; callchain 171 tools/perf/tests/sample-parsing.c } callchain = { callchain 200 tools/perf/tests/sample-parsing.c .callchain = &callchain.callchain, callchain 2811 tools/perf/ui/browsers/hists.c callchain_param.sort(&he->sorted_chain, he->callchain, callchain 217 tools/perf/ui/hist.c ret = b->callchain->max_depth - a->callchain->max_depth; callchain 1096 tools/perf/util/auxtrace.c synth_opts->callchain = true; callchain 101 tools/perf/util/auxtrace.h bool callchain; callchain 1088 tools/perf/util/callchain.c if (sample->callchain == NULL && !symbol_conf.show_branchflag_count) callchain 1101 tools/perf/util/callchain.c if ((!symbol_conf.use_callchain || sample->callchain == NULL) && callchain 1104 tools/perf/util/callchain.c return callchain_append(he->callchain, &callchain_cursor, sample->period); callchain 238 tools/perf/util/callchain.h struct callchain_param *callchain, callchain 2587 tools/perf/util/cs-etm.c etm->synth_opts.callchain = false; callchain 514 tools/perf/util/data-convert-bt.c struct ip_callchain *callchain) callchain 518 tools/perf/util/data-convert-bt.c unsigned int nr_elements = callchain->nr; callchain 562 tools/perf/util/data-convert-bt.c ((u64 *)(callchain->ips))[i]); callchain 833 tools/perf/util/data-convert-bt.c event, sample->callchain); callchain 220 tools/perf/util/db-export.c if (!symbol_conf.use_callchain || !sample->callchain) callchain 139 tools/perf/util/event.h struct ip_callchain *callchain; callchain 168 tools/perf/util/evlist.h struct callchain_param *callchain); callchain 937 tools/perf/util/evsel.c struct callchain_param *callchain) callchain 1028 tools/perf/util/evsel.c if (callchain && callchain->enabled && !evsel->no_aux_samples) callchain 1029 tools/perf/util/evsel.c perf_evsel__config_callchain(evsel, opts, callchain); callchain 2078 tools/perf/util/evsel.c data->callchain = (struct ip_callchain *)array++; callchain 2079 tools/perf/util/evsel.c if (data->callchain->nr > max_callchain_nr) callchain 2081 tools/perf/util/evsel.c sz = data->callchain->nr * sizeof(u64); callchain 176 tools/perf/util/evsel.h struct callchain_param *callchain); callchain 179 tools/perf/util/evsel.h struct callchain_param *callchain); callchain 122 tools/perf/util/evsel_fprintf.c if (sample->callchain) { callchain 309 tools/perf/util/hist.c decay_callchain(he->callchain); callchain 453 tools/perf/util/hist.c callchain_init(he->callchain); callchain 1101 tools/perf/util/hist.c callchain_append(he->callchain, &cursor, sample->period); callchain 1268 tools/perf/util/hist.c free_callchain(he->callchain); callchain 1500 tools/perf/util/hist.c new_he->callchain, callchain 1501 tools/perf/util/hist.c he->callchain) < 0) callchain 1542 tools/perf/util/hist.c iter->callchain, callchain 1543 tools/perf/util/hist.c he->callchain) < 0) callchain 1780 tools/perf/util/hist.c callchain_param.sort(&he->sorted_chain, he->callchain, callchain 1805 tools/perf/util/hist.c callchain_param.sort(&he->sorted_chain, he->callchain, callchain 499 tools/perf/util/intel-bts.c if (!btsq->bts->synth_opts.callchain && callchain 860 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain) { callchain 1323 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain) { callchain 1327 tools/perf/util/intel-pt.c sample->callchain = ptq->chain; callchain 1751 tools/perf/util/intel-pt.c pt->synth_opts.callchain) { callchain 1755 tools/perf/util/intel-pt.c sample.callchain = ptq->chain; callchain 1971 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain || pt->synth_opts.thread_stack) callchain 2797 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain) callchain 3238 tools/perf/util/intel-pt.c pt->synth_opts.callchain = true; callchain 3271 tools/perf/util/intel-pt.c if (pt->synth_opts.callchain && !symbol_conf.use_callchain) { callchain 3275 tools/perf/util/intel-pt.c pt->synth_opts.callchain = false; callchain 2175 tools/perf/util/machine.c struct ip_callchain *chain = sample->callchain; callchain 2284 tools/perf/util/machine.c struct ip_callchain *chain = sample->callchain; callchain 140 tools/perf/util/record.c struct callchain_param *callchain) callchain 160 tools/perf/util/record.c perf_evsel__config(evsel, opts, callchain); callchain 1073 tools/perf/util/s390-cpumsf.c itops->callchain || itops->thread_stack || callchain 270 tools/perf/util/scripting-engines/trace-event-perl.c if (!symbol_conf.use_callchain || !sample->callchain) callchain 404 tools/perf/util/scripting-engines/trace-event-python.c if (!symbol_conf.use_callchain || !sample->callchain) callchain 727 tools/perf/util/scripting-engines/trace-event-python.c PyObject *callchain) callchain 779 tools/perf/util/scripting-engines/trace-event-python.c pydict_set_item_string_decref(dict, "callchain", callchain); callchain 797 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler, *context, *t, *obj = NULL, *callchain; callchain 850 tools/perf/util/scripting-engines/trace-event-python.c callchain = python_process_callchain(sample, evsel, al); callchain 852 tools/perf/util/scripting-engines/trace-event-python.c Py_INCREF(callchain); callchain 860 tools/perf/util/scripting-engines/trace-event-python.c PyTuple_SetItem(t, n++, callchain); callchain 867 tools/perf/util/scripting-engines/trace-event-python.c pydict_set_item_string_decref(dict, "common_callchain", callchain); callchain 905 tools/perf/util/scripting-engines/trace-event-python.c callchain); callchain 908 tools/perf/util/scripting-engines/trace-event-python.c Py_DECREF(callchain); callchain 1281 tools/perf/util/scripting-engines/trace-event-python.c PyObject *handler, *t, *dict, *callchain; callchain 1300 tools/perf/util/scripting-engines/trace-event-python.c callchain = python_process_callchain(sample, evsel, al); callchain 1301 tools/perf/util/scripting-engines/trace-event-python.c dict = get_perf_sample_dict(sample, evsel, al, callchain); callchain 1003 tools/perf/util/session.c struct ip_callchain *callchain = sample->callchain; callchain 1005 tools/perf/util/session.c u64 kernel_callchain_nr = callchain->nr; callchain 1009 tools/perf/util/session.c if (callchain->ips[i] == PERF_CONTEXT_USER) callchain 1038 tools/perf/util/session.c i, callchain->ips[i]); callchain 1052 tools/perf/util/session.c struct ip_callchain *callchain = sample->callchain; callchain 1057 tools/perf/util/session.c printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); callchain 1059 tools/perf/util/session.c for (i = 0; i < callchain->nr; i++) callchain 1061 tools/perf/util/session.c i, callchain->ips[i]); callchain 155 tools/perf/util/sort.h struct callchain_root callchain[0]; /* must be last member */ callchain 1175 tools/perf/util/synthetic-events.c sz = (sample->callchain->nr + 1) * sizeof(u64); callchain 1326 tools/perf/util/synthetic-events.c sz = (sample->callchain->nr + 1) * sizeof(u64); callchain 1327 tools/perf/util/synthetic-events.c memcpy(array, sample->callchain, sz);