Home
last modified time | relevance | path

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

123

/linux-6.6.21/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
/linux-6.6.21/tools/perf/tests/
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()
209 struct ip_callchain callchain; in do_test() member
211 } callchain = { in do_test() local
241 .callchain = &callchain.callchain, in do_test()
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.6.21/kernel/events/
DMakefile2 obj-y := core.o ring_buffer.o callchain.o
/linux-6.6.21/tools/perf/arch/powerpc/util/
DBuild10 perf-$(CONFIG_DWARF) += skip-callchain-idx.o
/linux-6.6.21/tools/perf/util/
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()
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()
Darm64-frame-pointer-unwind-support.c48 sample->user_regs.cache_regs[PERF_REG_ARM64_PC] = sample->callchain->ips[usr_idx+1]; in get_leaf_frame_caller_aarch64()
Dsample.h114 struct ip_callchain *callchain; member
Ddlfilter.c552 if (sample->callchain) { in dlfilter__do_filter_event()
553 d_sample.raw_callchain_nr = sample->callchain->nr; in dlfilter__do_filter_event()
554 d_sample.raw_callchain = (__u64 *)sample->callchain->ips; in dlfilter__do_filter_event()
Dhist.c334 decay_callchain(he->callchain); in hists__decay_entry()
479 callchain_init(he->callchain); in hist_entry__init()
1177 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1348 free_callchain(he->callchain); in hist_entry__delete()
1585 new_he->callchain, in hists__hierarchy_insert_entry()
1586 he->callchain) < 0) in hists__hierarchy_insert_entry()
1629 if (callchain_merge(cursor, iter->callchain, he->callchain) < 0) in hists__collapse_insert_entry()
1869 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1894 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
Dsession.c1091 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
1094 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
1098 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
1127 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
1141 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
1146 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
1148 for (i = 0; i < callchain->nr; i++) in callchain__printf()
1150 i, callchain->ips[i]); in callchain__printf()
Devsel.h258 struct callchain_param *callchain);
260 struct callchain_param *callchain);
/linux-6.6.21/tools/perf/util/scripting-engines/
Dtrace-event-python.c426 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
840 PyObject *callchain) in get_perf_sample_dict() argument
886 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict()
935 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
988 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
990 Py_INCREF(callchain); in python_process_tracepoint()
998 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
1005 pydict_set_item_string_decref(dict, "common_callchain", callchain); in python_process_tracepoint()
1045 callchain); in python_process_tracepoint()
1048 Py_DECREF(callchain); in python_process_tracepoint()
[all …]
/linux-6.6.21/arch/powerpc/perf/
DMakefile3 obj-y += callchain.o callchain_$(BITS).o perf_regs.o
/linux-6.6.21/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py110 self.callchain = common_callchain
/linux-6.6.21/tools/perf/Documentation/
Dperf-report.txt210 function and searched through the callchain, thus it requires callchain
279 Accumulate callchain of children to parent entry so that then can
286 Set the stack depth limit when parsing the callchain, anything
289 workloads that can have a very long callchain stack.
290 Note that when using the --itrace option the synthesized callchain size
291 will override this value if the synthesized callchain size is bigger.
422 of callchains. However the default value of callchain threshold is
584 include::callchain-overhead-calculation.txt[]
Dperf-top.txt192 Accumulate callchain of children to parent entry so that then can
199 Set the stack depth limit when parsing the callchain, anything
202 workloads that can have a very long callchain stack.
401 include::callchain-overhead-calculation.txt[]
/linux-6.6.21/tools/perf/
Dbuiltin-top.c1071 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type() argument
1073 if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type()
1074 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type()
1382 struct callchain_param *callchain = opt->value; in parse_callchain_opt() local
1384 callchain->enabled = !unset; in parse_callchain_opt()
1385 callchain->record_mode = CALLCHAIN_FP; in parse_callchain_opt()
1392 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt()
Dbuiltin-record.c2853 static void callchain_debug(struct callchain_param *callchain) in callchain_debug() argument
2857 pr_debug("callchain: type %s\n", str[callchain->record_mode]); in callchain_debug()
2859 if (callchain->record_mode == CALLCHAIN_DWARF) in callchain_debug()
2861 callchain->dump_size); in callchain_debug()
2865 struct callchain_param *callchain, in record_opts__parse_callchain() argument
2869 callchain->enabled = !unset; in record_opts__parse_callchain()
2873 callchain->record_mode = CALLCHAIN_NONE; in record_opts__parse_callchain()
2878 ret = parse_callchain_record_opt(arg, callchain); in record_opts__parse_callchain()
2881 if (callchain->record_mode == CALLCHAIN_DWARF) in record_opts__parse_callchain()
2883 callchain_debug(callchain); in record_opts__parse_callchain()
[all …]
Dbuiltin-report.c371 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
1075 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt() local
1077 callchain->enabled = !unset; in report_parse_callchain_opt()
1083 callchain->mode = CHAIN_NONE; in report_parse_callchain_opt()
1471 if ((itrace_synth_opts.callchain || itrace_synth_opts.add_callchain) && in cmd_report()
/linux-6.6.21/Documentation/fb/
Dcmap_xfbdev.rst38 Somewhere in X's callchain, this results in a call to X code that handles the

123