Home
last modified time | relevance | path

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

123

/Linux-v4.19/tools/perf/tests/
Dsample-parsing.c82 COMP(callchain->nr); in samples_same()
83 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
84 COMP(callchain->ips[i]); in samples_same()
162 struct ip_callchain callchain; in do_test() member
164 } callchain = { in do_test() local
193 .callchain = &callchain.callchain, in do_test()
Dhists_cumulate.c102 sample.callchain = (struct ip_callchain *)fake_callchains[i]; in add_hist_entries()
156 #define DEPTH(he) (he->callchain->max_depth)
221 root = &he->callchain->node.rb_root; in do_test()
/Linux-v4.19/tools/perf/scripts/python/
Dnetdev-times.py228 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
234 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
240 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
247 callchain, irq, irq_name): argument
252 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument
256 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument
262 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
268 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
274 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument
280 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
[all …]
Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, argument
Dpowerpc-hcalls.py171 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, argument
196 callchain, opcode): argument
Dnet_dropmonitor.py70 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
/Linux-v4.19/tools/perf/
Dbuiltin-record.c1213 static void callchain_debug(struct callchain_param *callchain) in callchain_debug() argument
1217 pr_debug("callchain: type %s\n", str[callchain->record_mode]); in callchain_debug()
1219 if (callchain->record_mode == CALLCHAIN_DWARF) in callchain_debug()
1221 callchain->dump_size); in callchain_debug()
1225 struct callchain_param *callchain, in record_opts__parse_callchain() argument
1229 callchain->enabled = !unset; in record_opts__parse_callchain()
1233 callchain->record_mode = CALLCHAIN_NONE; in record_opts__parse_callchain()
1238 ret = parse_callchain_record_opt(arg, callchain); in record_opts__parse_callchain()
1241 if (callchain->record_mode == CALLCHAIN_DWARF) in record_opts__parse_callchain()
1243 callchain_debug(callchain); in record_opts__parse_callchain()
[all …]
Dbuiltin-top.c1049 static int callchain_param__setup_sample_type(struct callchain_param *callchain) in callchain_param__setup_sample_type() argument
1052 if (callchain->enabled) { in callchain_param__setup_sample_type()
1056 } else if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type()
1057 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type()
1201 struct callchain_param *callchain = opt->value; in parse_callchain_opt() local
1203 callchain->enabled = !unset; in parse_callchain_opt()
1204 callchain->record_mode = CALLCHAIN_FP; in parse_callchain_opt()
1211 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt()
Dbuiltin-report.c320 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
895 struct callchain_param *callchain = opt->value; in report_parse_callchain_opt() local
897 callchain->enabled = !unset; in report_parse_callchain_opt()
903 callchain->mode = CHAIN_NONE; in report_parse_callchain_opt()
1179 if (itrace_synth_opts.callchain && in cmd_report()
/Linux-v4.19/kernel/events/
DMakefile6 obj-y := core.o ring_buffer.o callchain.o
/Linux-v4.19/tools/perf/util/scripting-engines/
Dtrace-event-python.c400 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
723 PyObject *callchain) in get_perf_sample_dict() argument
776 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict()
794 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() local
847 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
849 Py_INCREF(callchain); in python_process_tracepoint()
857 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
864 pydict_set_item_string_decref(dict, "common_callchain", callchain); in python_process_tracepoint()
902 callchain); in python_process_tracepoint()
905 Py_DECREF(callchain); in python_process_tracepoint()
[all …]
/Linux-v4.19/tools/perf/arch/powerpc/util/
DBuild7 libperf-$(CONFIG_DWARF) += skip-callchain-idx.o
/Linux-v4.19/tools/perf/util/
Drecord.c136 struct callchain_param *callchain) in perf_evlist__config() argument
156 perf_evsel__config(evsel, opts, callchain); in perf_evlist__config()
Dsession.c875 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
877 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
881 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
910 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
924 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
929 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
931 for (i = 0; i < callchain->nr; i++) in callchain__printf()
933 i, callchain->ips[i]); in callchain__printf()
Dhist.c287 decay_callchain(he->callchain); in hists__decay_entry()
416 callchain_init(he->callchain); in hist_entry__init()
994 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
1155 free_callchain(he->callchain); in hist_entry__delete()
1384 new_he->callchain, in hists__hierarchy_insert_entry()
1385 he->callchain) < 0) in hists__hierarchy_insert_entry()
1425 iter->callchain, in hists__collapse_insert_entry()
1426 he->callchain) < 0) in hists__collapse_insert_entry()
1658 callchain_param.sort(&he->sorted_chain, he->callchain, in hists__hierarchy_output_resort()
1682 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
Devsel.h225 struct callchain_param *callchain);
228 struct callchain_param *callchain);
Devsel.c898 struct callchain_param *callchain) in perf_evsel__config() argument
982 if (callchain && callchain->enabled && !evsel->no_aux_samples) in perf_evsel__config()
983 perf_evsel__config_callchain(evsel, opts, callchain); in perf_evsel__config()
2233 data->callchain = (struct ip_callchain *)array++; in perf_evsel__parse_sample()
2234 if (data->callchain->nr > max_callchain_nr) in perf_evsel__parse_sample()
2236 sz = data->callchain->nr * sizeof(u64); in perf_evsel__parse_sample()
2460 sz = (sample->callchain->nr + 1) * sizeof(u64); in perf_event__sample_event_size()
2612 sz = (sample->callchain->nr + 1) * sizeof(u64); in perf_event__synthesize_sample()
2613 memcpy(array, sample->callchain, sz); in perf_event__synthesize_sample()
Dsort.h153 struct callchain_root callchain[0]; /* must be last member */ member
/Linux-v4.19/arch/powerpc/perf/
DMakefile4 obj-$(CONFIG_PERF_EVENTS) += callchain.o perf_regs.o
/Linux-v4.19/tools/perf/Documentation/
Dperf-report.txt186 function and searched through the callchain, thus it requires callchain
252 Accumulate callchain of children to parent entry so that then can
259 Set the stack depth limit when parsing the callchain, anything
262 workloads that can have a very long callchain stack.
263 Note that when using the --itrace option the synthesized callchain size
264 will override this value if the synthesized callchain size is bigger.
381 of callchains. However the default value of callchain threshold is
489 include::callchain-overhead-calculation.txt[]
Dperf-top.txt174 Accumulate callchain of children to parent entry so that then can
181 Set the stack depth limit when parsing the callchain, anything
184 workloads that can have a very long callchain stack.
290 include::callchain-overhead-calculation.txt[]
Dperf-inject.txt41 tasks slept. sched_switch contains a callchain where a task slept and
Dperf-script.txt334 Set the stack depth limit when parsing the callchain, anything
337 workloads that can have a very long callchain stack.
338 Note that when using the --itrace option the synthesized callchain size
339 will override this value if the synthesized callchain size is bigger.
/Linux-v4.19/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py110 self.callchain = common_callchain
/Linux-v4.19/Documentation/fb/
Dcmap_xfbdev.txt34 Somewhere in X's callchain, this results in a call to X code that handles the

123