Home
last modified time | relevance | path

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

/tools/perf/util/
Dannotate.c1100 static void disasm_line__init_ins(struct disasm_line *dl, struct arch *arch, struct map_symbol *ms) in disasm_line__init_ins() argument
1102 dl->ins.ops = ins__find(arch, dl->ins.name); in disasm_line__init_ins()
1104 if (!dl->ins.ops) in disasm_line__init_ins()
1107 if (dl->ins.ops->parse && dl->ins.ops->parse(arch, &dl->ops, ms) < 0) in disasm_line__init_ins()
1108 dl->ins.ops = NULL; in disasm_line__init_ins()
1210 struct disasm_line *dl = NULL; in disasm_line__new() local
1216 dl = disasm_line(al); in disasm_line__new()
1218 if (dl->al.line == NULL) in disasm_line__new()
1222 if (disasm_line__parse(dl->al.line, &dl->ins.name, &dl->ops.raw) < 0) in disasm_line__new()
1225 disasm_line__init_ins(dl, args->arch, &args->ms); 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, 0); 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.h187 static inline bool disasm_line__has_local_offset(const struct disasm_line *dl) in disasm_line__has_local_offset() argument
189 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
196 bool disasm_line__is_valid_local_jump(struct disasm_line *dl, struct symbol *sym);
198 void disasm_line__free(struct disasm_line *dl);
222 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 map *map, 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()
434 symbol__tui_annotate(dl->ops.target.sym, ms->map, evsel, hbt, browser->opts); in annotate_browser__callq()
462 struct disasm_line *dl = disasm_line(browser->selection); in annotate_browser__jump() local
466 if (!ins__is_jump(&dl->ins)) in annotate_browser__jump()
469 if (dl->ops.target.outside) { in annotate_browser__jump()
474 offset = dl->ops.target.offset; in annotate_browser__jump()
[all …]
/tools/perf/arch/x86/util/
Dperf_regs.c77 SDT_NAME_REG(dl, dx),