Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 20 of 20) sorted by relevance

/tools/perf/util/
Dbpf-prologue.c249 struct probe_trace_arg_ref *ref = NULL; in gen_prologue_slowpath() local
278 ref = arg->ref; in gen_prologue_slowpath()
279 while (ref) { in gen_prologue_slowpath()
281 i, ref->offset); in gen_prologue_slowpath()
283 ref->offset); in gen_prologue_slowpath()
289 ref = ref->next; in gen_prologue_slowpath()
295 if (ref) in gen_prologue_slowpath()
303 int insn_sz = (args[i].ref) ? argtype_to_ldx_size(args[i].type) : BPF_DW; in gen_prologue_slowpath()
398 struct probe_trace_arg_ref *ref = args[i].ref; in bpf__gen_prologue() local
403 args[i].value, ref ? ref->offset : 0); in bpf__gen_prologue()
[all …]
Dthread-stack.c43 u64 ref; member
163 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return() argument
178 cr.call_ref = tse->ref; in thread_stack__call_return()
179 cr.return_ref = ref; in thread_stack__call_return()
334 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument
349 tse->ref = ref; in thread_stack__push_cp()
358 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument
371 timestamp, ref, false); in thread_stack__pop_cp()
376 timestamp, ref, false); in thread_stack__pop_cp()
387 timestamp, ref, in thread_stack__pop_cp()
[all …]
Dprobe-finder.c162 struct probe_trace_arg_ref *ref; in alloc_trace_arg_ref() local
163 ref = zalloc(sizeof(struct probe_trace_arg_ref)); in alloc_trace_arg_ref()
164 if (ref != NULL) in alloc_trace_arg_ref()
165 ref->offset = offs; in alloc_trace_arg_ref()
166 return ref; in alloc_trace_arg_ref()
186 bool ref = false; in convert_variable_location() local
238 tvar->ref = alloc_trace_arg_ref((long)offs); in convert_variable_location()
239 if (tvar->ref == NULL) in convert_variable_location()
248 ref = true; in convert_variable_location()
256 ref = true; in convert_variable_location()
[all …]
Dprobe-event.h45 struct probe_trace_arg_ref *ref; /* Referencing offset */ member
74 bool ref; /* Referencing flag */ member
Dprobe-event.c1617 (*fieldp)->ref = true; in parse_perf_probe_arg()
1629 (*fieldp)->ref = false; in parse_perf_probe_arg()
1632 (*fieldp)->ref = true; in parse_perf_probe_arg()
1646 pr_debug("%s(%d), ", (*fieldp)->name, (*fieldp)->ref); in parse_perf_probe_arg()
1655 pr_debug("%s(%d)\n", (*fieldp)->name, (*fieldp)->ref); in parse_perf_probe_arg()
1882 err = strbuf_addf(&buf, "%s%s", field->ref ? "->" : ".", in synthesize_perf_probe_arg()
1970 static int __synthesize_probe_trace_arg_ref(struct probe_trace_arg_ref *ref, in __synthesize_probe_trace_arg_ref() argument
1974 if (ref->next) { in __synthesize_probe_trace_arg_ref()
1975 depth = __synthesize_probe_trace_arg_ref(ref->next, buf, in __synthesize_probe_trace_arg_ref()
1980 err = strbuf_addf(buf, "%+ld(", ref->offset); in __synthesize_probe_trace_arg_ref()
[all …]
Dthread-stack.h99 struct addr_location *to_al, u64 ref,
Dsession.c1986 struct ref_reloc_sym *ref; in maps__set_kallsyms_ref_reloc_sym() local
1988 ref = zalloc(sizeof(struct ref_reloc_sym)); in maps__set_kallsyms_ref_reloc_sym()
1989 if (ref == NULL) in maps__set_kallsyms_ref_reloc_sym()
1992 ref->name = strdup(symbol_name); in maps__set_kallsyms_ref_reloc_sym()
1993 if (ref->name == NULL) { in maps__set_kallsyms_ref_reloc_sym()
1994 free(ref); in maps__set_kallsyms_ref_reloc_sym()
1998 bracket = strchr(ref->name, ']'); in maps__set_kallsyms_ref_reloc_sym()
2002 ref->addr = addr; in maps__set_kallsyms_ref_reloc_sym()
2009 kmap->ref_reloc_sym = ref; in maps__set_kallsyms_ref_reloc_sym()
Dparse-events.l298 ref-cycles { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_REF_CPU_CYCLES); }
Dauxtrace.c1195 u64 head, old = mm->prev, offset, ref; in __auxtrace_mmap__read() local
1232 ref = auxtrace_record__reference(itr); in __auxtrace_mmap__read()
1276 ev.auxtrace.reference = ref; in __auxtrace_mmap__read()
Dbpf-loader.c515 ref1 = arg1->ref; in compare_tev_args()
516 ref2 = arg2->ref; in compare_tev_args()
/tools/perf/util/intel-pt-decoder/
Dgen-insn-attr-x86.awk131 ref = ""
133 ref = ref $i
134 eid = escape[ref]
272 ref = ""
274 ref = ref $i
275 if (ref in escape)
276 semantic_error("Redefine escape (" ref ")")
277 escape[ref] = geid
279 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")"
/tools/objtool/arch/x86/tools/
Dgen-insn-attr-x86.awk131 ref = ""
133 ref = ref $i
134 eid = escape[ref]
272 ref = ""
274 ref = ref $i
275 if (ref in escape)
276 semantic_error("Redefine escape (" ref ")")
277 escape[ref] = geid
279 table[idx] = "INAT_MAKE_ESCAPE(" escape[ref] ")"
/tools/vm/
Dslabinfo.c53 char *ref; member
1070 n1 = a1->ref; in sort_aliases()
1071 n2 = a2->ref; in sort_aliases()
1092 if (strcmp(a->ref, s->name) == 0) { in link_slabs()
1098 fatal("Unresolved alias %s\n", a->ref); in link_slabs()
1191 alias->ref = strdup(p); in read_slab_dir()
/tools/testing/nvdimm/test/
Diomap.c108 struct percpu_ref *ref, struct vmem_altmap *altmap) in __wrap_devm_memremap_pages() argument
115 return devm_memremap_pages(dev, res, ref, altmap); in __wrap_devm_memremap_pages()
/tools/perf/arch/x86/util/
Dintel-pt.c977 struct intel_pt_snapshot_ref *ref = &ptr->snapshot_refs[idx]; in intel_pt_wrapped() local
980 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, in intel_pt_wrapped()
984 intel_pt_copy_ref(ref->ref_buf, ptr->snapshot_ref_buf_size, mm->len, in intel_pt_wrapped()
/tools/perf/Documentation/
Dperf-config.txt452 per event in the group, ref-cycles and cycles:
454 # group: {ref-cycles,cycles}
457 # Samples: 7K of event 'anon group { ref-cycles, cycles }'
Dperf-list.txt202 ref-cycles. Some special events have restrictions on which counter they
Dperf-report.txt415 --show-ref-call-graph::
/tools/lib/traceevent/
Devent-parse.c2162 char *ref; in eval_type_str() local
2174 ref = malloc(len); in eval_type_str()
2175 if (!ref) { in eval_type_str()
2179 memcpy(ref, type, len); in eval_type_str()
2182 ref[len - 2] = 0; in eval_type_str()
2184 val = eval_type_str(val, ref, 0); in eval_type_str()
2185 free(ref); in eval_type_str()
/tools/perf/ui/browsers/
Dhists.c2382 char ref[30] = " show reference callgraph, "; in perf_evsel_browser_title() local
2415 nr_samples, unit, ev_name, enable_ref ? ref : " ", nr_events); in perf_evsel_browser_title()