Home
last modified time | relevance | path

Searched refs:dl (Results 1 – 6 of 6) sorted by relevance

/tools/perf/util/
Dannotate.c1113 static void disasm_line__init_ins(struct disasm_line *dl, struct arch *arch, struct map_symbol *ms) in disasm_line__init_ins() argument
1115 dl->ins.ops = ins__find(arch, dl->ins.name); in disasm_line__init_ins()
1117 if (!dl->ins.ops) in disasm_line__init_ins()
1120 if (dl->ins.ops->parse && dl->ins.ops->parse(arch, &dl->ops, ms) < 0) in disasm_line__init_ins()
1121 dl->ins.ops = NULL; in disasm_line__init_ins()
1198 struct disasm_line *dl = NULL; in disasm_line__new() local
1204 dl = zalloc(disasm_line_size(nr)); in disasm_line__new()
1205 if (!dl) in disasm_line__new()
1208 annotation_line__init(&dl->al, args, nr); in disasm_line__new()
1209 if (dl->al.line == NULL) in disasm_line__new()
[all …]
Dgenelf_debug.c464 struct buffer_ext *dl, in jit_process_debug_info() argument
475 add_compilation_unit(di, buffer_ext_size(dl)); in jit_process_debug_info()
476 add_debug_line(dl, debug, nr_debug_entries, GEN_ELF_TEXT_OFFSET); in jit_process_debug_info()
489 struct buffer_ext dl, di, da; in jit_add_debug_info() local
492 buffer_ext_init(&dl); in jit_add_debug_info()
496 ret = jit_process_debug_info(code_addr, debug, nr_debug_entries, &dl, &da, &di); in jit_add_debug_info()
516 d->d_buf = buffer_ext_addr(&dl); in jit_add_debug_info()
518 d->d_size = buffer_ext_size(&dl); in jit_add_debug_info()
Dannotate.h189 static inline bool disasm_line__has_local_offset(const struct disasm_line *dl) in disasm_line__has_local_offset() argument
191 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
198 bool disasm_line__is_valid_local_jump(struct disasm_line *dl, struct symbol *sym);
200 void disasm_line__free(struct disasm_line *dl);
224 int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw, int max_ins_nam…
/tools/perf/ui/gtk/
Dannotate.c29 struct disasm_line *dl, int evidx) in perf_gtk__get_percent() argument
38 if (dl->al.offset == (s64) -1) in perf_gtk__get_percent()
42 if (!symbol_conf.event_group && !symhist->addr[dl->al.offset].nr_samples) in perf_gtk__get_percent()
45 percent = 100.0 * symhist->addr[dl->al.offset].nr_samples / symhist->nr_samples; in perf_gtk__get_percent()
58 struct disasm_line *dl) in perf_gtk__get_offset() argument
64 if (dl->al.offset == (s64) -1) in perf_gtk__get_offset()
67 return scnprintf(buf, size, "%"PRIx64, start + dl->al.offset); in perf_gtk__get_offset()
70 static int perf_gtk__get_line(char *buf, size_t size, struct disasm_line *dl) in perf_gtk__get_line() argument
73 char *line = g_markup_escape_text(dl->al.line, -1); in perf_gtk__get_line()
81 if (dl->al.offset != (s64) -1) in perf_gtk__get_line()
/tools/perf/ui/browsers/
Dannotate.c414 struct disasm_line *dl = disasm_line(browser->selection); in annotate_browser__callq() local
418 if (!dl->ops.target.sym) { in annotate_browser__callq()
423 notes = symbol__annotation(dl->ops.target.sym); in annotate_browser__callq()
426 if (!symbol__hists(dl->ops.target.sym, evsel->evlist->core.nr_entries)) { in annotate_browser__callq()
429 dl->ops.target.sym->name); in annotate_browser__callq()
435 target_ms.sym = dl->ops.target.sym; in annotate_browser__callq()
465 struct disasm_line *dl = disasm_line(browser->selection); in annotate_browser__jump() local
469 if (!ins__is_jump(&dl->ins)) in annotate_browser__jump()
472 if (dl->ops.target.outside) { in annotate_browser__jump()
477 offset = dl->ops.target.offset; in annotate_browser__jump()
[all …]
/tools/perf/arch/x86/util/
Dperf_regs.c77 SDT_NAME_REG(dl, dx),