Home
last modified time | relevance | path

Searched refs:callchain (Results 1 – 25 of 51) sorted by relevance

123

/tools/perf/tests/
Dsample-parsing.c87 COMP(callchain->nr); in samples_same()
88 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
89 COMP(callchain->ips[i]); in samples_same()
182 struct ip_callchain callchain; in do_test() member
184 } callchain = { in do_test() local
214 .callchain = &callchain.callchain, in do_test()
Dhists_cumulate.c103 sample.callchain = (struct ip_callchain *)fake_callchains[i]; in add_hist_entries()
157 #define DEPTH(he) (he->callchain->max_depth)
222 root = &he->callchain->node.rb_root; in do_test()
/tools/perf/scripts/python/
Dnetdev-times.py232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
251 callchain, irq, irq_name): argument
256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument
260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument
266 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
272 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
278 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument
284 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
[all …]
Dfutex-contention.py29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
Dpowerpc-hcalls.py173 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
198 callchain, opcode): argument
Dnet_dropmonitor.py72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
/tools/perf/arch/powerpc/util/
DBuild8 perf-$(CONFIG_DWARF) += skip-callchain-idx.o
/tools/perf/util/
Drecord.c93 struct callchain_param *callchain) in perf_evlist__config() argument
113 evsel__config(evsel, opts, callchain); in perf_evlist__config()
Devsel.h208 struct callchain_param *callchain);
210 struct callchain_param *callchain);
Dsession.c1057 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
1060 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
1064 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
1093 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
1107 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
1112 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
1114 for (i = 0; i < callchain->nr; i++) in callchain__printf()
1116 i, callchain->ips[i]); in callchain__printf()
Dhist.c324 decay_callchain(he->callchain); in hists__decay_entry()
468 callchain_init(he->callchain); in hist_entry__init()
1148 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1315 free_callchain(he->callchain); in hist_entry__delete()
1547 new_he->callchain, in hists__hierarchy_insert_entry()
1548 he->callchain) < 0) in hists__hierarchy_insert_entry()
1589 iter->callchain, in hists__collapse_insert_entry()
1590 he->callchain) < 0) in hists__collapse_insert_entry()
1827 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1852 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
Dsort.h160 struct callchain_root callchain[0]; /* must be last member */ member
Dintel-pt.c956 sample->callchain = pt->chain; in intel_pt_add_callchain()
1011 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
1419 if (pt->synth_opts.callchain) { in intel_pt_prep_sample()
1423 sample->callchain = ptq->chain; in intel_pt_prep_sample()
1833 pt->synth_opts.callchain) { in intel_pt_synth_pebs_sample()
1837 sample.callchain = ptq->chain; in intel_pt_synth_pebs_sample()
2755 if (pt->synth_opts.add_callchain && !sample->callchain) in intel_pt_process_event()
3031 if (pt->synth_opts.callchain) in intel_pt_synth_events()
3487 pt->synth_opts.callchain = true; in intel_pt_process_auxtrace_info()
3521 if ((pt->synth_opts.callchain || pt->synth_opts.add_callchain) && in intel_pt_process_auxtrace_info()
[all …]
Dcallchain.h246 struct callchain_param *callchain,
Devsel_fprintf.c121 if (sample->callchain) { in sample__fprintf_callchain()
Devsel.c1057 struct callchain_param *callchain) in evsel__config() argument
1131 if (callchain && callchain->enabled && !evsel->no_aux_samples) in evsel__config()
1132 evsel__config_callchain(evsel, opts, callchain); in evsel__config()
2235 data->callchain = (struct ip_callchain *)array++; in evsel__parse_sample()
2236 if (data->callchain->nr > max_callchain_nr) in evsel__parse_sample()
2238 sz = data->callchain->nr * sizeof(u64); in evsel__parse_sample()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c404 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
732 PyObject *callchain) in get_perf_sample_dict() argument
784 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict()
802 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
855 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
857 Py_INCREF(callchain); in python_process_tracepoint()
865 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
872 pydict_set_item_string_decref(dict, "common_callchain", callchain); in python_process_tracepoint()
910 callchain); in python_process_tracepoint()
913 Py_DECREF(callchain); in python_process_tracepoint()
[all …]
/tools/perf/
Dbuiltin-record.c2073 static void callchain_debug(struct callchain_param *callchain) in callchain_debug() argument
2077 pr_debug("callchain: type %s\n", str[callchain->record_mode]); in callchain_debug()
2079 if (callchain->record_mode == CALLCHAIN_DWARF) in callchain_debug()
2081 callchain->dump_size); in callchain_debug()
2085 struct callchain_param *callchain, in record_opts__parse_callchain() argument
2089 callchain->enabled = !unset; in record_opts__parse_callchain()
2093 callchain->record_mode = CALLCHAIN_NONE; in record_opts__parse_callchain()
2098 ret = parse_callchain_record_opt(arg, callchain); in record_opts__parse_callchain()
2101 if (callchain->record_mode == CALLCHAIN_DWARF) in record_opts__parse_callchain()
2103 callchain_debug(callchain); in record_opts__parse_callchain()
[all …]
Dbuiltin-top.c1073 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type() argument
1075 if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type()
1076 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type()
1375 struct callchain_param *callchain = opt->value; in parse_callchain_opt() local
1377 callchain->enabled = !unset; in parse_callchain_opt()
1378 callchain->record_mode = CALLCHAIN_FP; in parse_callchain_opt()
1385 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt()
Dbuiltin-report.c345 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
1006 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt() local
1008 callchain->enabled = !unset; in report_parse_callchain_opt()
1014 callchain->mode = CHAIN_NONE; in report_parse_callchain_opt()
1380 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py110 self.callchain = common_callchain
/tools/perf/Documentation/
Dperf-report.txt197 function and searched through the callchain, thus it requires callchain
263 Accumulate callchain of children to parent entry so that then can
270 Set the stack depth limit when parsing the callchain, anything
273 workloads that can have a very long callchain stack.
274 Note that when using the --itrace option the synthesized callchain size
275 will override this value if the synthesized callchain size is bigger.
403 of callchains. However the default value of callchain threshold is
562 include::callchain-overhead-calculation.txt[]
Dperf-inject.txt45 tasks slept. sched_switch contains a callchain where a task slept and
Dperf-top.txt188 Accumulate callchain of children to parent entry so that then can
195 Set the stack depth limit when parsing the callchain, anything
198 workloads that can have a very long callchain stack.
381 include::callchain-overhead-calculation.txt[]
Dperf-timechart.txt95 --callchain::

123