Home
last modified time | relevance | path

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

12

/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()
169 struct ip_callchain callchain; in do_test() member
171 } callchain = { in do_test() local
200 .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.py26 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
36 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/
Dbuiltin-record.c1749 static void callchain_debug(struct callchain_param *callchain) in callchain_debug() argument
1753 pr_debug("callchain: type %s\n", str[callchain->record_mode]); in callchain_debug()
1755 if (callchain->record_mode == CALLCHAIN_DWARF) in callchain_debug()
1757 callchain->dump_size); in callchain_debug()
1761 struct callchain_param *callchain, in record_opts__parse_callchain() argument
1765 callchain->enabled = !unset; in record_opts__parse_callchain()
1769 callchain->record_mode = CALLCHAIN_NONE; in record_opts__parse_callchain()
1774 ret = parse_callchain_record_opt(arg, callchain); in record_opts__parse_callchain()
1777 if (callchain->record_mode == CALLCHAIN_DWARF) in record_opts__parse_callchain()
1779 callchain_debug(callchain); in record_opts__parse_callchain()
[all …]
Dbuiltin-top.c1061 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type() argument
1063 if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type()
1064 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type()
1350 struct callchain_param *callchain = opt->value; in parse_callchain_opt() local
1352 callchain->enabled = !unset; in parse_callchain_opt()
1353 callchain->record_mode = CALLCHAIN_FP; in parse_callchain_opt()
1360 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt()
Dbuiltin-report.c335 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
937 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt() local
939 callchain->enabled = !unset; in report_parse_callchain_opt()
945 callchain->mode = CHAIN_NONE; in report_parse_callchain_opt()
1265 if (itrace_synth_opts.callchain && in cmd_report()
/tools/perf/util/
Drecord.c140 struct callchain_param *callchain) in perf_evlist__config() argument
160 perf_evsel__config(evsel, opts, callchain); in perf_evlist__config()
Devsel.h176 struct callchain_param *callchain);
179 struct callchain_param *callchain);
Dsession.c1004 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
1006 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
1010 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
1039 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
1053 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
1058 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
1060 for (i = 0; i < callchain->nr; i++) in callchain__printf()
1062 i, callchain->ips[i]); in callchain__printf()
Dsort.h155 struct callchain_root callchain[0]; /* must be last member */ member
Dhist.c309 decay_callchain(he->callchain); in hists__decay_entry()
453 callchain_init(he->callchain); in hist_entry__init()
1101 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1268 free_callchain(he->callchain); in hist_entry__delete()
1500 new_he->callchain, in hists__hierarchy_insert_entry()
1501 he->callchain) < 0) in hists__hierarchy_insert_entry()
1542 iter->callchain, in hists__collapse_insert_entry()
1543 he->callchain) < 0) in hists__collapse_insert_entry()
1780 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1805 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
Devsel_fprintf.c122 if (sample->callchain) { in sample__fprintf_callchain()
Dcallchain.h238 struct callchain_param *callchain,
Devsel.c937 struct callchain_param *callchain) in perf_evsel__config() argument
1028 if (callchain && callchain->enabled && !evsel->no_aux_samples) in perf_evsel__config()
1029 perf_evsel__config_callchain(evsel, opts, callchain); in perf_evsel__config()
2080 data->callchain = (struct ip_callchain *)array++; in perf_evsel__parse_sample()
2081 if (data->callchain->nr > max_callchain_nr) in perf_evsel__parse_sample()
2083 sz = data->callchain->nr * sizeof(u64); in perf_evsel__parse_sample()
Dintel-pt.c862 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
1329 if (pt->synth_opts.callchain) { in intel_pt_prep_sample()
1333 sample->callchain = ptq->chain; in intel_pt_prep_sample()
1759 pt->synth_opts.callchain) { in intel_pt_synth_pebs_sample()
1763 sample.callchain = ptq->chain; in intel_pt_synth_pebs_sample()
1973 if (pt->synth_opts.callchain || pt->synth_opts.thread_stack) in intel_pt_sample()
2797 if (pt->synth_opts.callchain) in intel_pt_synth_events()
3243 pt->synth_opts.callchain = true; in intel_pt_process_auxtrace_info()
3276 if (pt->synth_opts.callchain && !symbol_conf.use_callchain) { in intel_pt_process_auxtrace_info()
3280 pt->synth_opts.callchain = false; in intel_pt_process_auxtrace_info()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c404 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
727 PyObject *callchain) in get_perf_sample_dict() argument
779 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict()
797 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
850 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
852 Py_INCREF(callchain); in python_process_tracepoint()
860 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
867 pydict_set_item_string_decref(dict, "common_callchain", callchain); in python_process_tracepoint()
905 callchain); in python_process_tracepoint()
908 Py_DECREF(callchain); in python_process_tracepoint()
[all …]
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py110 self.callchain = common_callchain
/tools/perf/Documentation/
Dperf-report.txt196 function and searched through the callchain, thus it requires callchain
262 Accumulate callchain of children to parent entry so that then can
269 Set the stack depth limit when parsing the callchain, anything
272 workloads that can have a very long callchain stack.
273 Note that when using the --itrace option the synthesized callchain size
274 will override this value if the synthesized callchain size is bigger.
391 of callchains. However the default value of callchain threshold is
528 include::callchain-overhead-calculation.txt[]
Dperf-inject.txt41 tasks slept. sched_switch contains a callchain where a task slept and
Dperf-top.txt177 Accumulate callchain of children to parent entry so that then can
184 Set the stack depth limit when parsing the callchain, anything
187 workloads that can have a very long callchain stack.
346 include::callchain-overhead-calculation.txt[]
Dperf-script.txt346 Set the stack depth limit when parsing the callchain, anything
349 workloads that can have a very long callchain stack.
350 Note that when using the --itrace option the synthesized callchain size
351 will override this value if the synthesized callchain size is bigger.

12