/linux-master/kernel/events/ |
H A D | Makefile | 2 obj-y := core.o ring_buffer.o callchain.o
|
/linux-master/tools/perf/scripts/python/ |
H A D | powerpc-hcalls.py | 173 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, 198 callchain, opcode):
|
H A D | futex-contention.py | 29 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm, callchain, 40 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm, callchain,
|
H A D | netdev-times.py | 232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): 238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): 244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): 251 callchain, irq, irq_name): 256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): 260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, 266 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, 272 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, 278 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, 284 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, [all...] |
H A D | net_dropmonitor.py | 72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain,
|
/linux-master/arch/powerpc/perf/ |
H A D | Makefile | 3 obj-y += callchain.o callchain_$(BITS).o perf_regs.o
|
/linux-master/tools/perf/tests/ |
H A D | sample-parsing.c | 102 COMP(callchain->nr); 103 for (i = 0; i < s1->callchain->nr; i++) 104 COMP(callchain->ips[i]); 209 struct ip_callchain callchain; member in union:__anon1487 211 } callchain = { local 241 .callchain = &callchain.callchain,
|
H A D | hists_cumulate.c | 104 sample.callchain = (struct ip_callchain *)fake_callchains[i]; 170 #define DEPTH(he) (he->callchain->max_depth) 209 pr_info("use callchain: %d, cumulate callchain: %d\n", 234 /* check callchain entries */ 235 root = &he->callchain->node.rb_root; 242 scnprintf(buf, sizeof(buf), "Invalid callchain entry #%zd/%zd", i, c); 244 TEST_ASSERT_VAL("Incorrect number of callchain entry", 252 TEST_ASSERT_VAL("Incorrect number of callchain entry", 257 TEST_ASSERT_VAL("Incorrect number of callchain entr [all...] |
/linux-master/tools/perf/util/ |
H A D | arm64-frame-pointer-unwind-support.c | 3 #include "callchain.h" 48 sample->user_regs.cache_regs[PERF_REG_ARM64_PC] = sample->callchain->ips[usr_idx+1];
|
H A D | sample.h | 114 struct ip_callchain *callchain; member in struct:perf_sample
|
H A D | record.c | 95 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain) argument 108 evsel__config(evsel, opts, callchain);
|
H A D | data-convert-json.c | 187 output_json_key_format(out, true, 3, "callchain", "["); 188 if (sample->callchain) { 193 for (i = 0; i < sample->callchain->nr; ++i) { 194 u64 ip = sample->callchain->ips[i]; 209 pr_debug("invalid callchain context: %"
|
H A D | dlfilter.c | 554 if (sample->callchain) { 555 d_sample.raw_callchain_nr = sample->callchain->nr; 556 d_sample.raw_callchain = (__u64 *)sample->callchain->ips;
|
H A D | evsel_fprintf.c | 9 #include "callchain.h" 131 return fprintf(fp, "<not enough memory for the callchain cursor>%s", print_oneline ? "" : "\n"); 133 if (sample->callchain) {
|
H A D | callchain.h | 138 * A callchain cursor is a single linked list that 139 * let one feed a callchain progressively. 248 struct callchain_param *callchain,
|
H A D | sort.h | 10 #include "callchain.h" 89 * @row_offset - offset from the first callchain expanded to appear on screen 90 * @nr_rows - rows expanded in callchain, recalculated on folding/unfolding 169 struct callchain_root callchain[0]; /* must be last member */ member in struct:hist_entry
|
H A D | hist.c | 2 #include "callchain.h" 334 decay_callchain(he->callchain); 479 callchain_init(he->callchain); 1148 * Check if there's duplicate entries in the callchain. 1153 * For most cases, there are no duplicate entries in callchain. 1176 callchain_append(he->callchain, &cursor, sample->period); 1346 free_callchain(he->callchain); 1583 new_he->callchain, 1584 he->callchain) < 0) 1627 if (callchain_merge(cursor, iter->callchain, h [all...] |
H A D | intel-pt.c | 30 #include "callchain.h" 1212 /* Add 1 to callchain_sz for callchain context */ 1244 sample->callchain = pt->chain; 1300 if (pt->synth_opts.callchain) { 1818 if (pt->synth_opts.callchain) { 1822 sample->callchain = ptq->chain; 2280 pt->synth_opts.callchain) { 2284 sample.callchain = ptq->chain; 3495 if (pt->synth_opts.add_callchain && !sample->callchain) 3778 if (pt->synth_opts.callchain) [all...] |
H A D | evsel.h | 142 * For reporting purposes, an evsel sample can have a callchain 259 struct callchain_param *callchain); 261 struct callchain_param *callchain); 507 * For reporting purposes, an evsel sample can have a recorded callchain 508 * or a callchain synthesized from AUX area data.
|
H A D | data-convert-bt.c | 523 struct ip_callchain *callchain) 527 unsigned int nr_elements = callchain->nr; 535 pr_err("failed to create 'perf_callchain_size' for callchain output event\n"); 555 pr_err("failed to create 'perf_callchain' for callchain output event\n"); 571 ((u64 *)(callchain->ips))[i]); 575 pr_err("failed to set callchain[%d]\n", i); 842 event, sample->callchain); 521 add_callchain_output_values(struct bt_ctf_event_class *event_class, struct bt_ctf_event *event, struct ip_callchain *callchain) argument
|
/linux-master/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | Core.py | 110 self.callchain = common_callchain
|
/linux-master/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 41 #include "../callchain.h" 428 if (!symbol_conf.use_callchain || !sample->callchain) 435 pr_err("Failed to resolve callchain. Skipping\n"); 846 PyObject *callchain) 896 pydict_set_item_string_decref(dict, "callchain", callchain); 946 PyObject *handler, *context, *t, *obj = NULL, *callchain; local 999 callchain = python_process_callchain(sample, evsel, al); 1001 Py_INCREF(callchain); 1009 PyTuple_SetItem(t, n++, callchain); 842 get_perf_sample_dict(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al, PyObject *callchain) argument 1472 PyObject *handler, *t, *dict, *callchain; local [all...] |
/linux-master/tools/perf/ |
H A D | builtin-top.c | 45 #include "util/callchain.h" 1070 static int callchain_param__setup_sample_type(struct callchain_param *callchain) argument 1072 if (callchain->mode != CHAIN_NONE) { 1073 if (callchain_register_param(callchain) < 0) { 1074 ui__error("Can't register callchain params.\n"); 1382 struct callchain_param *callchain = opt->value; local 1384 callchain->enabled = !unset; 1385 callchain->record_mode = CALLCHAIN_FP; 1392 callchain->record_mode = CALLCHAIN_NONE; 1526 "Set the maximum stack depth when parsing the callchain [all...] |
H A D | builtin-record.c | 17 #include "util/callchain.h" 2891 static void callchain_debug(struct callchain_param *callchain) argument 2895 pr_debug("callchain: type %s\n", str[callchain->record_mode]); 2897 if (callchain->record_mode == CALLCHAIN_DWARF) 2898 pr_debug("callchain: stack dump size %d\n", 2899 callchain->dump_size); 2903 struct callchain_param *callchain, 2907 callchain->enabled = !unset; 2911 callchain 2902 record_opts__parse_callchain(struct record_opts *record, struct callchain_param *callchain, const char *arg, bool unset) argument 2938 struct callchain_param *callchain = opt->value; local [all...] |
/linux-master/kernel/bpf/ |
H A D | stackmap.c | 340 /* perf_sample_data doesn't have callchain, use bpf_get_stackid */ 352 trace = ctx->data->callchain; 529 trace = ctx->data->callchain;
|