Lines Matching defs:start
360 u64 start, end;
395 start = map__unmap_ip(map, sym->start);
398 ops->target.outside = target.addr < start || target.addr > end;
409 * routine that looks for >= current->start and < next_symbol->start,
423 ops->target.offset = target.addr - start;
876 u64 start,
904 ch[offset].start > start)) {
911 ch[offset].start < start)
919 ch[offset].start = start;
935 if ((addr < sym->start || addr >= sym->end) &&
936 (addr != sym->end || sym->start != sym->end)) {
937 pr_debug("%s(%d): ERANGE! sym->name=%s, start=%#" PRIx64 ", addr=%#" PRIx64 ", end=%#" PRIx64 "\n",
938 __func__, __LINE__, sym->name, sym->start, addr, sym->end);
942 offset = addr - sym->start;
945 pr_debug("%s(%d): ENOMEM! sym->name=%s, start=%#" PRIx64 ", addr=%#" PRIx64 ", end=%#" PRIx64 ", func: %d\n",
946 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC);
956 sym->start, sym->name, addr, addr - sym->start, evidx,
1013 static int symbol__account_cycles(u64 addr, u64 start,
1024 if (addr < sym->start || addr >= sym->end)
1027 if (start) {
1028 if (start < sym->start || start >= sym->end)
1030 if (start >= addr)
1031 start = 0;
1033 offset = addr - sym->start;
1035 start ? start - sym->start : 0,
1037 !!start);
1041 struct addr_map_symbol *start,
1051 * Only set start when IPC can be computed. We can only
1055 * it starts on the function start.
1057 if (start &&
1058 (start->ms.sym == ams->ms.sym ||
1060 start->addr == ams->ms.sym->start + map__start(ams->ms.map))))
1061 saddr = start->al_addr;
1063 pr_debug2("BB with bad start: addr %"PRIx64" start %"PRIx64" sym %"PRIx64" saddr %"PRIx64"\n",
1065 start ? start->addr : 0,
1066 ams->ms.sym ? ams->ms.sym->start + map__start(ams->ms.map) : 0,
1074 static unsigned annotation__count_insn(struct annotation *notes, u64 start, u64 end)
1079 for (offset = start; offset <= end; offset++) {
1086 static void annotation__count_and_fill(struct annotation *notes, u64 start, u64 end, struct cyc_hist *ch)
1092 n_insn = annotation__count_insn(notes, start, end);
1100 for (offset = start; offset <= end; offset++) {
1138 annotation__count_and_fill(notes, ch->start, offset, ch);
1410 if (br->is_target && br->start == addr) {
1454 static int disasm_line__print(struct disasm_line *dl, u64 start, int addr_fmt_width)
1457 const u64 addr = start + offset;
1468 annotation_line__print(struct annotation_line *al, struct symbol *sym, u64 start,
1505 annotation_line__print(queue, sym, start, evsel, len,
1532 disasm_line__print(dl, start, addr_fmt_width);
1583 * The offset will be a relative offset from the start of the symbol and -1
1609 u64 start = map__rip_2objdump(map, sym->start),
1612 offset = line_ip - start;
1613 if ((u64)line_ip < start || (u64)line_ip >= end)
1633 map__rip_2objdump(map, sym->start);
1645 target.ms.sym->start == target.al_addr)
1823 int len = sym->end - sym->start;
1843 sym->name, sym->start, sym->end - sym->start);
2081 pr_debug("%s: filename=%s, sym=%s, start=%#" PRIx64 ", end=%#" PRIx64 "\n", __func__,
2082 symfs_filename, sym->name, map__unmap_ip(map, sym->start),
2094 kce.addr = map__rip_2objdump(map, sym->start);
2095 kce.offs = sym->start;
2096 kce.len = sym->end - sym->start;
2114 "%s %s%s --start-address=0x%016" PRIx64
2120 map__rip_2objdump(map, sym->start),
2338 notes->start = map__objdump_2mem(ms->map, ms->sym->start);
2340 notes->start = map__rip_2objdump(ms->map, ms->sym->start);
2479 sym->start + offset, h->addr[offset].nr_samples);
2483 static int annotated_source__addr_fmt_width(struct list_head *lines, u64 start)
2490 return scnprintf(bf, sizeof(bf), "%" PRIx64, start + line->offset);
2508 u64 start = map__rip_2objdump(map, sym->start);
2547 addr_fmt_width = annotated_source__addr_fmt_width(¬es->src->source, start);
2557 err = annotation_line__print(pos, sym, start, evsel, len,
2879 notes->start = map__objdump_2mem(ms->map, ms->sym->start);
2881 notes->start = map__rip_2objdump(ms->map, ms->sym->start);
2910 al->path = get_srcline(map__dso(map), notes->start + al->offset, NULL,
2911 false, true, notes->start + al->offset);
3186 addr += notes->start;