Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/tests/
Dsample-parsing.c79 COMP(callchain->nr); in samples_same()
80 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
81 COMP(callchain->ips[i]); in samples_same()
156 struct ip_callchain callchain; in do_test() member
158 } callchain = { in do_test() local
187 .callchain = &callchain.callchain, in do_test()
Dhists_cumulate.c103 sample.callchain = (struct ip_callchain *)fake_callchains[i]; in add_hist_entries()
158 #define DEPTH(he) (he->callchain->max_depth)
223 root = &he->callchain->node.rb_root; in do_test()
/linux-4.4.14/tools/perf/scripts/python/
Dnetdev-times.py227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
239 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument
246 callchain, irq, irq_name): argument
251 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument
255 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, dev_name): argument
260 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
266 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument
272 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument
278 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
Dnet_dropmonitor.py69 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
/linux-4.4.14/tools/perf/arch/powerpc/util/
DBuild5 libperf-$(CONFIG_DWARF) += skip-callchain-idx.o
/linux-4.4.14/kernel/events/
DMakefile5 obj-y := core.o ring_buffer.o callchain.o
Dcore.c5364 if (data->callchain) { in perf_output_sample()
5367 if (data->callchain) in perf_output_sample()
5368 size += data->callchain->nr; in perf_output_sample()
5372 __output_copy(handle, data->callchain, size); in perf_output_sample()
5505 data->callchain = perf_callchain(event, regs); in perf_prepare_sample()
5507 if (data->callchain) in perf_prepare_sample()
5508 size += data->callchain->nr; in perf_prepare_sample()
/linux-4.4.14/tools/perf/Documentation/
Dperf-report.txt149 function and searched through the callchain, thus it requires callchain
208 Accumulate callchain of children to parent entry so that then can
214 Set the stack depth limit when parsing the callchain, anything
217 workloads that can have a very long callchain stack.
218 Note that when using the --itrace option the synthesized callchain size
219 will override this value if the synthesized callchain size is bigger.
368 include::callchain-overhead-calculation.txt[]
Dperf-top.txt169 Accumulate callchain of children to parent entry so that then can
175 Set the stack depth limit when parsing the callchain, anything
178 workloads that can have a very long callchain stack.
265 include::callchain-overhead-calculation.txt[]
Dperf-inject.txt41 tasks slept. sched_switch contains a callchain where a task slept and
Dperf-timechart.txt93 --callchain::
/linux-4.4.14/tools/perf/util/scripting-engines/
Dtrace-event-python.c317 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain()
388 PyObject *handler, *context, *t, *obj, *callchain; in python_process_tracepoint() local
432 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint()
440 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint()
447 pydict_set_item_string_decref(dict, "common_callchain", callchain); in python_process_tracepoint()
771 PyObject *handler, *t, *dict, *callchain, *dict_sample; in python_process_general_event() local
829 callchain = python_process_callchain(sample, evsel, al); in python_process_general_event()
830 pydict_set_item_string_decref(dict, "callchain", callchain); in python_process_general_event()
/linux-4.4.14/arch/powerpc/perf/
DMakefile3 obj-$(CONFIG_PERF_EVENTS) += callchain.o
/linux-4.4.14/tools/perf/util/
Dsession.c705 struct ip_callchain *callchain = sample->callchain; in callchain__lbr_callstack_printf() local
707 u64 kernel_callchain_nr = callchain->nr; in callchain__lbr_callstack_printf()
711 if (callchain->ips[i] == PERF_CONTEXT_USER) in callchain__lbr_callstack_printf()
740 i, callchain->ips[i]); in callchain__lbr_callstack_printf()
754 struct ip_callchain *callchain = sample->callchain; in callchain__printf() local
759 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); in callchain__printf()
761 for (i = 0; i < callchain->nr; i++) in callchain__printf()
763 i, callchain->ips[i]); in callchain__printf()
1798 if (symbol_conf.use_callchain && sample->callchain) { in perf_evsel__print_ip()
Dintel-pt.c674 if (pt->synth_opts.callchain) { in intel_pt_alloc_queue()
1051 if (pt->synth_opts.callchain) { in intel_pt_synth_instruction_sample()
1054 sample.callchain = ptq->chain; in intel_pt_synth_instruction_sample()
1106 if (pt->synth_opts.callchain) { in intel_pt_synth_transaction_sample()
1109 sample.callchain = ptq->chain; in intel_pt_synth_transaction_sample()
1215 if (pt->synth_opts.callchain) in intel_pt_sample()
1876 if (pt->synth_opts.callchain) in intel_pt_synth_events()
1897 if (pt->synth_opts.callchain) in intel_pt_synth_events()
2107 pt->synth_opts.callchain = true; in intel_pt_process_auxtrace_info()
2131 if (pt->synth_opts.callchain && !symbol_conf.use_callchain) { in intel_pt_process_auxtrace_info()
[all …]
Dsort.h125 struct callchain_root callchain[0]; /* must be last member */ member
Dhist.c368 callchain_init(he->callchain); in hist_entry__new()
828 callchain_append(he->callchain, &cursor, sample->period); in iter_add_next_cumulative_entry()
977 free_callchain(he->callchain); in hist_entry__delete()
1008 iter->callchain, in hists__collapse_insert_entry()
1009 he->callchain); in hists__collapse_insert_entry()
1141 callchain_param.sort(&he->sorted_chain, he->callchain, in __hists__insert_output_entry()
Dcallchain.c713 if (sample->callchain == NULL) in sample__resolve_callchain()
726 if (!symbol_conf.use_callchain || sample->callchain == NULL) in hist_entry__append_callchain()
728 return callchain_append(he->callchain, &callchain_cursor, sample->period); in hist_entry__append_callchain()
Devsel.c1733 data->callchain = (struct ip_callchain *)array++; in perf_evsel__parse_sample()
1734 if (data->callchain->nr > max_callchain_nr) in perf_evsel__parse_sample()
1736 sz = data->callchain->nr * sizeof(u64); in perf_evsel__parse_sample()
1900 sz = (sample->callchain->nr + 1) * sizeof(u64); in perf_event__sample_event_size()
2065 sz = (sample->callchain->nr + 1) * sizeof(u64); in perf_event__synthesize_sample()
2066 memcpy(array, sample->callchain, sz); in perf_event__synthesize_sample()
DBuild41 libperf-y += callchain.o
Devent.h196 struct ip_callchain *callchain; member
Dauxtrace.h83 bool callchain; member
Dintel-bts.c504 if (!btsq->bts->synth_opts.callchain && thread && in intel_bts_process_queue()
Dmachine.c1687 struct ip_callchain *chain = sample->callchain; in resolve_lbr_callchain_sample()
1754 struct ip_callchain *chain = sample->callchain; in thread__resolve_callchain_sample()
Dauxtrace.c1034 synth_opts->callchain = true; in itrace_parse_synth_opts()
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py116 self.callchain = common_callchain
/linux-4.4.14/Documentation/fb/
Dcmap_xfbdev.txt34 Somewhere in X's callchain, this results in a call to X code that handles the
/linux-4.4.14/tools/perf/ui/
Dhist.c210 ret = b->callchain->max_depth - a->callchain->max_depth; in __hpp__sort_acc()
/linux-4.4.14/Documentation/infiniband/
Dcore_locking.txt69 same callchain as an ib_device method call. For example, it is not
/linux-4.4.14/tools/perf/
Dbuiltin-report.c224 if (session->itrace_synth_opts->callchain || in report__setup_sample_type()
823 if (itrace_synth_opts.callchain && in cmd_report()
Dbuiltin-script.c545 if (symbol_conf.use_callchain && sample->callchain) { in print_sample_bts()
1834 if (itrace_synth_opts.callchain && in cmd_script()
Dbuiltin-timechart.c481 struct ip_callchain *chain = sample->callchain; in cat_backtrace()
/linux-4.4.14/include/linux/
Dperf_event.h787 struct perf_callchain_entry *callchain; member