| /linux/kernel/bpf/ |
| H A D | states.c | 76 struct bpf_scc_callchain *callchain) in compute_scc_callchain() argument 80 memset(callchain, 0, sizeof(*callchain)); in compute_scc_callchain() 85 callchain->scc = scc; in compute_scc_callchain() 88 callchain->callsites[i] = insn_idx; in compute_scc_callchain() 98 struct bpf_scc_callchain *callchain) in scc_visit_lookup() argument 100 struct bpf_scc_info *info = env->scc_info[callchain->scc]; in scc_visit_lookup() 107 if (memcmp(callchain, &visits[i].callchain, sizeof(*callchain)) == 0) in scc_visit_lookup() 117 struct bpf_scc_callchain *callchain) in scc_visit_alloc() argument 124 scc = callchain->scc; in scc_visit_alloc() 135 memcpy(&visit->callchain, callchain, sizeof(*callchain)); in scc_visit_alloc() [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | netdev-times.py | 232 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 …]
|
| H A D | futex-contention.py | 29 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 D | powerpc-hcalls.py | 306 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, 331 callchain, opcode): 173 powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, opcode, retval) global() argument 198 powerpc__hcall_entry(event_name, context, cpu, sec, nsec, pid, comm, callchain, opcode) global() argument
|
| H A D | net_dropmonitor.py | 72 def skb__kfree_skb(name, context, cpu, sec, nsec, pid, comm, callchain, argument
|
| /linux/tools/perf/tests/ |
| H A D | sample-parsing.c | 119 COMP(callchain->nr); in samples_same() 120 for (i = 0; i < s1->callchain->nr; i++) in samples_same() 121 COMP(callchain->ips[i]); in samples_same() 232 struct ip_callchain callchain; in do_test() 234 } callchain = { in do_test() 274 .callchain = &callchain.callchain, in do_test() 219 struct ip_callchain callchain; do_test() member 221 } callchain = { do_test() local
|
| H A D | hists_cumulate.c | 103 sample.callchain = (struct ip_callchain *)fake_callchains[i]; in add_hist_entries() 169 #define DEPTH(he) (he->callchain->max_depth) 208 pr_info("use callchain: %d, cumulate callchain: %d\n", in do_test() 233 /* check callchain entries */ in do_test() 234 root = &he->callchain->node.rb_root; in do_test() 241 scnprintf(buf, sizeof(buf), "Invalid callchain entry #%zd/%zd", i, c); in do_test() 243 TEST_ASSERT_VAL("Incorrect number of callchain entry", in do_test() 251 TEST_ASSERT_VAL("Incorrect number of callchain entry", in do_test() 256 TEST_ASSERT_VAL("Incorrect number of callchain entr in do_test() [all...] |
| /linux/tools/perf/util/ |
| H A D | callchain.c | 31 #include "callchain.h" 166 pr_err("callchain: Incorrect stack dump size (max %ld): %s\n", in get_stack_size() 243 pr_err("Can't register callchain params\n"); in parse_callchain_report_opt() 319 pr_err("callchain: No more arguments " in parse_callchain_record() 323 pr_err("callchain: Unknown --call-graph option " in parse_callchain_record() 333 pr_err("callchain: deferred callchain only works with FP\n"); in perf_callchain_config() 340 static void callchain_debug(const struct callchain_param *callchain) in perf_callchain_config() 344 pr_debug("callchain: type %s\n", str[callchain in perf_callchain_config() 1855 struct ip_callchain *callchain; sample__merge_deferred_callchain() local [all...] |
| H A D | record.c | 95 void 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 D | data-convert-json.c | 203 output_json_key_format(out, true, 3, "callchain", "["); in process_sample_event() 204 if (sample->callchain) { in process_sample_event() 209 for (i = 0; i < sample->callchain->nr; ++i) { in process_sample_event() 210 u64 ip = sample->callchain->ips[i]; in process_sample_event() 225 pr_debug("invalid callchain context: %" in process_sample_event()
|
| H A D | arm64-frame-pointer-unwind-support.c | 3 #include "callchain.h" 62 regs->cache_regs[PERF_REG_ARM64_PC] = sample->callchain->ips[usr_idx+1]; in get_leaf_frame_caller_aarch64()
|
| H A D | sample.h | 200 * user callchain marker was encountered. 204 * @merged_callchain: A synthesized merged callchain that is allocated 209 * @deferred_cookie: Identifier of the deferred callchain in the later 218 * @callchain: Pointer into the original event for PERF_SAMPLE_CALLCHAIN 222 struct ip_callchain *callchain; 117 struct ip_callchain *callchain; global() member
|
| H A D | dlfilter.c | 554 if (sample->callchain) { in dlfilter__do_filter_event() 555 d_sample.raw_callchain_nr = sample->callchain->nr; in dlfilter__do_filter_event() 556 d_sample.raw_callchain = (__u64 *)sample->callchain->ips; in dlfilter__do_filter_event()
|
| H A D | evsel.c | 48 #include "callchain.h" 1112 "to get user callchain information. " in evsel__apply_ratio_to_prev() 1576 const struct callchain_param *callchain) in evsel__config() 1660 if (callchain && callchain->enabled && !evsel->no_aux_samples) in evsel__config() 1661 evsel__config_callchain(evsel, opts, callchain); in evsel__config() 1717 attr->defer_output = track && callchain && callchain->defer; in evsel__config() 2801 pr_debug2("switching off deferred callchain support\n"); in evsel__open_cpu() 3382 data->callchain in evsel__parse_sample() 1494 evsel__config(struct evsel * evsel,struct record_opts * opts,struct callchain_param * callchain) evsel__config() argument [all...] |
| H A D | session.c | 1272 struct ip_callchain *callchain = sample->callchain; in deliver_sample_value() 1275 u64 kernel_callchain_nr = callchain->nr; in deliver_sample_value() 1279 if (callchain->ips[i] == PERF_CONTEXT_USER) in deliver_sample_value() 1308 i, callchain->ips[i]); in deliver_sample_group() 1344 struct ip_callchain *callchain = sample->callchain; 1349 printf("... FP chain: nr:%" PRIu64 "\n", callchain->nr); 1351 for (i = 0; i < callchain->nr; i++) in evlist__deliver_deferred_callchain() 1353 i, callchain in evlist__deliver_deferred_callchain() 815 struct ip_callchain *callchain = sample->callchain; callchain__lbr_callstack_printf() local 887 struct ip_callchain *callchain = sample->callchain; callchain__printf() local [all...] |
| /linux/kernel/events/ |
| H A D | Makefile | 2 obj-y := core.o ring_buffer.o callchain.o
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A D | Build | 7 perf-util-$(CONFIG_LIBDW) += skip-callchain-idx.o
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-inject.txt | 52 tasks slept. sched_switch contains a callchain where a task slept and 112 --convert-callchain:: 115 inlined callchain entries.
|
| H A D | perf-report.txt | 243 function and searched through the callchain, thus it requires callchain 312 Accumulate callchain of children to parent entry so that then can 319 Set the stack depth limit when parsing the callchain, anything 322 workloads that can have a very long callchain stack. 323 Note that when using the --itrace option the synthesized callchain size 324 will override this value if the synthesized callchain size is bigger. 426 - iterations: display the average number of iterations in callchain list. 466 of callchains. However the default value of callchain threshold is 658 include::callchain [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | inject-callchain.sh | 32 perf inject -i "${TESTDATA}" --convert-callchain -o "${TESTDATA}.new"
|
| /linux/tools/perf/util/scripting-engines/ |
| H A D | trace-event-python.c | 41 #include "../callchain.h" 402 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain() 409 pr_err("Failed to resolve callchain. Skipping\n"); in python_process_callchain() 832 PyObject *callchain) 887 pydict_set_item_string_decref(dict, "callchain", callchain); in get_perf_sample_dict() 939 PyObject *handler, *context, *t, *obj = NULL, *callchain; in python_process_tracepoint() 994 callchain = python_process_callchain(sample, al); in python_process_tracepoint() 996 Py_INCREF(callchain); in python_process_tracepoint() 1004 PyTuple_SetItem(t, n++, callchain); in python_process_tracepoint() 837 get_perf_sample_dict(struct perf_sample * sample,struct evsel * evsel,struct addr_location * al,struct addr_location * addr_al,PyObject * callchain) get_perf_sample_dict() argument 944 PyObject *handler, *context, *t, *obj = NULL, *callchain; python_process_tracepoint() local 1472 PyObject *handler, *t, *dict, *callchain; python_process_general_event() local [all...] |
| /linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | Core.py | 110 self.callchain = common_callchain
|
| /linux/tools/perf/ |
| H A D | builtin-top.c | 46 #include "util/callchain.h" 1078 static int callchain_param__setup_sample_type(struct callchain_param *callchain) 1080 if (callchain->mode != CHAIN_NONE) { in callchain_param__setup_sample_type() 1081 if (callchain_register_param(callchain) < 0) { in callchain_param__setup_sample_type() 1082 ui__error("Can't register callchain params.\n"); in callchain_param__setup_sample_type() 1393 struct callchain_param *callchain = opt->value; in callchain_opt() 1395 callchain->enabled = !unset; 1396 callchain->record_mode = CALLCHAIN_FP; 1403 callchain->record_mode = CALLCHAIN_NONE; in parse_callchain_opt() 1413 struct callchain_param *callchain in parse_callchain_opt() 1079 callchain_param__setup_sample_type(struct callchain_param * callchain) callchain_param__setup_sample_type() argument 1399 struct callchain_param *callchain = opt->value; parse_callchain_opt() local [all...] |
| H A D | builtin-record.c | 18 #include "util/callchain.h" 3014 * The -g option only sets the callchain if not already configured by in record_opts__parse_callchain() 2979 callchain_debug(struct callchain_param * callchain) callchain_debug() argument 2991 record_opts__parse_callchain(struct record_opts * record,struct callchain_param * callchain,const char * arg,bool unset) record_opts__parse_callchain() argument 3027 struct callchain_param *callchain = opt->value; record_callchain_opt() local
|
| /linux/Documentation/fb/ |
| H A D | cmap_xfbdev.rst | 38 Somewhere in X's callchain, this results in a call to X code that handles the
|