Home
last modified time | relevance | path

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

123

/linux-5.15/tools/perf/tests/
A 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()
188 struct ip_callchain callchain; in do_test() member
190 } callchain = { in do_test() local
220 .callchain = &callchain.callchain, in do_test()
A 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()
/linux-5.15/tools/perf/scripts/python/
H A 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 …]
H A 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
A Dpowerpc-hcalls.py173 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
198 callchain, opcode): argument
H A Dnet_dropmonitor.py72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
/linux-5.15/kernel/events/
H A DMakefile6 obj-y := core.o ring_buffer.o callchain.o
/linux-5.15/tools/perf/util/
A Ddata-convert-json.c177 if (sample->callchain) { in process_sample_event()
182 for (i = 0; i < sample->callchain->nr; ++i) { in process_sample_event()
183 u64 ip = sample->callchain->ips[i]; in process_sample_event()
A Drecord.c95 … evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain) in evlist__config() argument
115 evsel__config(evsel, opts, callchain); in evlist__config()
A Ddlfilter.c507 if (sample->callchain) { in dlfilter__do_filter_event()
508 d_sample.raw_callchain_nr = sample->callchain->nr; in dlfilter__do_filter_event()
509 d_sample.raw_callchain = (__u64 *)sample->callchain->ips; in dlfilter__do_filter_event()
H A Devsel.h238 struct callchain_param *callchain);
240 struct callchain_param *callchain);
H A Dhist.c336 decay_callchain(he->callchain); in hists__decay_entry()
480 callchain_init(he->callchain); in hist_entry__init()
1165 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1332 free_callchain(he->callchain); in hist_entry__delete()
1564 new_he->callchain, in hists__hierarchy_insert_entry()
1565 he->callchain) < 0) in hists__hierarchy_insert_entry()
1606 iter->callchain, in hists__collapse_insert_entry()
1607 he->callchain) < 0) in hists__collapse_insert_entry()
1844 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1869 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
H A Dsession.c1077 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
1080 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
1084 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
1113 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
1127 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
1132 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
1134 for (i = 0; i < callchain->nr; i++) in callchain__printf()
1136 i, callchain->ips[i]); in callchain__printf()
A Dintel-pt.c1107 sample->callchain = pt->chain; in intel_pt_add_callchain()
1162 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
1593 if (pt->synth_opts.callchain) { in intel_pt_prep_sample()
1597 sample->callchain = ptq->chain; in intel_pt_prep_sample()
2030 pt->synth_opts.callchain) { in intel_pt_synth_pebs_sample()
2034 sample.callchain = ptq->chain; in intel_pt_synth_pebs_sample()
2994 if (pt->synth_opts.add_callchain && !sample->callchain) in intel_pt_process_event()
3271 if (pt->synth_opts.callchain) in intel_pt_synth_events()
3664 pt->synth_opts.callchain = true; in intel_pt_process_auxtrace_info()
3849 if ((pt->synth_opts.callchain || pt->synth_opts.add_callchain) && in intel_pt_process_auxtrace_info()
[all …]
/linux-5.15/tools/perf/arch/powerpc/util/
A DBuild11 perf-$(CONFIG_DWARF) += skip-callchain-idx.o
/linux-5.15/tools/perf/
H A Dbuiltin-record.c2085 static void callchain_debug(struct callchain_param *callchain) in callchain_debug() argument
2089 pr_debug("callchain: type %s\n", str[callchain->record_mode]); in callchain_debug()
2091 if (callchain->record_mode == CALLCHAIN_DWARF) in callchain_debug()
2093 callchain->dump_size); in callchain_debug()
2097 struct callchain_param *callchain, in record_opts__parse_callchain() argument
2101 callchain->enabled = !unset; in record_opts__parse_callchain()
2105 callchain->record_mode = CALLCHAIN_NONE; in record_opts__parse_callchain()
2110 ret = parse_callchain_record_opt(arg, callchain); in record_opts__parse_callchain()
2113 if (callchain->record_mode == CALLCHAIN_DWARF) in record_opts__parse_callchain()
2115 callchain_debug(callchain); in record_opts__parse_callchain()
[all …]
H A Dbuiltin-top.c1067 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type() argument
1069 if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type()
1070 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type()
1369 struct callchain_param *callchain = opt->value; in parse_callchain_opt() local
1371 callchain->enabled = !unset; in parse_callchain_opt()
1372 callchain->record_mode = CALLCHAIN_FP; in parse_callchain_opt()
1379 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt()
H A Dbuiltin-report.c353 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
1020 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt() local
1022 callchain->enabled = !unset; in report_parse_callchain_opt()
1028 callchain->mode = CHAIN_NONE; in report_parse_callchain_opt()
1399 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
/linux-5.15/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c404 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
779 PyObject *callchain) in get_perf_sample_dict() argument
824 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict()
863 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
913 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
915 Py_INCREF(callchain); in python_process_tracepoint()
923 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
930 pydict_set_item_string_decref(dict, "common_callchain", callchain); in python_process_tracepoint()
968 callchain); in python_process_tracepoint()
971 Py_DECREF(callchain); in python_process_tracepoint()
[all …]
/linux-5.15/arch/powerpc/perf/
H A DMakefile3 obj-y += callchain.o callchain_$(BITS).o perf_regs.o
/linux-5.15/tools/perf/Documentation/
H A Dperf-report.txt206 function and searched through the callchain, thus it requires callchain
275 Accumulate callchain of children to parent entry so that then can
282 Set the stack depth limit when parsing the callchain, anything
285 workloads that can have a very long callchain stack.
286 Note that when using the --itrace option the synthesized callchain size
287 will override this value if the synthesized callchain size is bigger.
415 of callchains. However the default value of callchain threshold is
577 include::callchain-overhead-calculation.txt[]
H A 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.
393 include::callchain-overhead-calculation.txt[]
H A Dperf-inject.txt45 tasks slept. sched_switch contains a callchain where a task slept and
/linux-5.15/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py110 self.callchain = common_callchain
/linux-5.15/Documentation/fb/
A Dcmap_xfbdev.rst38 Somewhere in X's callchain, this results in a call to X code that handles the

123