Home
last modified time | relevance | path

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

123

/linux-6.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
260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, 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
290 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
296 def skb__consume_skb(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
H 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-6.15/tools/perf/tests/
H A Dsample-parsing.c102 COMP(callchain->nr); in samples_same()
103 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
104 COMP(callchain->ips[i]); in samples_same()
213 struct ip_callchain callchain; in do_test() member
215 } callchain = { in do_test() local
255 .callchain = &callchain.callchain, in do_test()
H A Dhists_cumulate.c104 sample.callchain = (struct ip_callchain *)fake_callchains[i]; in add_hist_entries()
170 #define DEPTH(he) (he->callchain->max_depth)
235 root = &he->callchain->node.rb_root; in do_test()
/linux-6.15/kernel/events/
H A DMakefile2 obj-y := core.o ring_buffer.o callchain.o
/linux-6.15/tools/perf/util/
H A Drecord.c95 … evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain) in evlist__config() argument
108 evsel__config(evsel, opts, callchain); in evlist__config()
H A Ddata-convert-json.c188 if (sample->callchain) { in process_sample_event()
193 for (i = 0; i < sample->callchain->nr; ++i) { in process_sample_event()
194 u64 ip = sample->callchain->ips[i]; in process_sample_event()
H A Darm64-frame-pointer-unwind-support.c55 regs->cache_regs[PERF_REG_ARM64_PC] = sample->callchain->ips[usr_idx+1]; in get_leaf_frame_caller_aarch64()
H A Dsample.h114 struct ip_callchain *callchain; member
H A Ddlfilter.c555 if (sample->callchain) { in dlfilter__do_filter_event()
556 d_sample.raw_callchain_nr = sample->callchain->nr; in dlfilter__do_filter_event()
557 d_sample.raw_callchain = (__u64 *)sample->callchain->ips; in dlfilter__do_filter_event()
H A Dsession.c792 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
795 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
799 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
828 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
842 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
847 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
849 for (i = 0; i < callchain->nr; i++) in callchain__printf()
851 i, callchain->ips[i]); in callchain__printf()
H A Devsel.h276 struct callchain_param *callchain);
278 struct callchain_param *callchain);
H A Dhist.c352 decay_callchain(he->callchain); in hists__decay_entry()
504 callchain_init(he->callchain); in hist_entry__init()
1218 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1423 free_callchain(he->callchain); in hist_entry__delete()
1660 new_he->callchain, in hists__hierarchy_insert_entry()
1661 he->callchain) < 0) in hists__hierarchy_insert_entry()
1704 if (callchain_merge(cursor, iter->callchain, he->callchain) < 0) in hists__collapse_insert_entry()
1936 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1961 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
/linux-6.15/tools/perf/arch/powerpc/util/
H A DBuild10 perf-util-$(CONFIG_LIBDW) += skip-callchain-idx.o
/linux-6.15/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c402 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
835 PyObject *callchain) in get_perf_sample_dict() argument
887 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict()
937 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
991 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
993 Py_INCREF(callchain); in python_process_tracepoint()
1001 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
1048 callchain); in python_process_tracepoint()
1051 Py_DECREF(callchain); in python_process_tracepoint()
1465 PyObject *handler, *t, *dict, *callchain; in python_process_general_event() local
[all …]
/linux-6.15/arch/powerpc/perf/
H A DMakefile3 obj-y += callchain.o callchain_$(BITS).o perf_regs.o
/linux-6.15/tools/perf/Documentation/
H A Dperf-report.txt238 function and searched through the callchain, thus it requires callchain
307 Accumulate callchain of children to parent entry so that then can
314 Set the stack depth limit when parsing the callchain, anything
317 workloads that can have a very long callchain stack.
318 Note that when using the --itrace option the synthesized callchain size
319 will override this value if the synthesized callchain size is bigger.
418 - iterations: display the average number of iterations in callchain list.
458 of callchains. However the default value of callchain threshold is
650 include::callchain-overhead-calculation.txt[]
H A Dperf-top.txt196 Accumulate callchain of children to parent entry so that then can
203 Set the stack depth limit when parsing the callchain, anything
206 workloads that can have a very long callchain stack.
435 include::callchain-overhead-calculation.txt[]
/linux-6.15/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DCore.py110 self.callchain = common_callchain
/linux-6.15/tools/perf/
H A Dbuiltin-top.c1077 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type() argument
1079 if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type()
1080 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type()
1393 struct callchain_param *callchain = opt->value; in parse_callchain_opt() local
1395 callchain->enabled = !unset; in parse_callchain_opt()
1396 callchain->record_mode = CALLCHAIN_FP; in parse_callchain_opt()
1403 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt()
H A Dbuiltin-record.c2904 if (callchain->record_mode == CALLCHAIN_DWARF) in callchain_debug()
2906 callchain->dump_size); in callchain_debug()
2910 struct callchain_param *callchain, in record_opts__parse_callchain() argument
2914 callchain->enabled = !unset; in record_opts__parse_callchain()
2918 callchain->record_mode = CALLCHAIN_NONE; in record_opts__parse_callchain()
2926 if (callchain->record_mode == CALLCHAIN_DWARF) in record_opts__parse_callchain()
2928 callchain_debug(callchain); in record_opts__parse_callchain()
2947 callchain->enabled = true; in record_callchain_opt()
2949 if (callchain->record_mode == CALLCHAIN_NONE) in record_callchain_opt()
2950 callchain->record_mode = CALLCHAIN_FP; in record_callchain_opt()
[all …]
H A Dbuiltin-report.c377 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
1172 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt() local
1174 callchain->enabled = !unset; in report_parse_callchain_opt()
1180 callchain->mode = CHAIN_NONE; in report_parse_callchain_opt()
1562 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
/linux-6.15/Documentation/fb/
H A Dcmap_xfbdev.rst38 Somewhere in X's callchain, this results in a call to X code that handles the

123