Lines Matching defs:start
961 static int grab_bb(u8 *buffer, u64 start, u64 end,
969 if (!start || !end)
972 kernel = machine__kernel_ip(machine, start);
985 pr_debug("\tblock %" PRIx64 "-%" PRIx64 " transfers between kernel and user\n", start, end);
990 if (end - start > MAXBB - MAXINSN) {
992 pr_debug("\tbrstack does not reach to final jump (%" PRIx64 "-%" PRIx64 ")\n", start, end);
994 pr_debug("\tblock %" PRIx64 "-%" PRIx64 " (%" PRIu64 ") too long to dump\n", start, end, end - start);
998 if (!thread__find_map(thread, *cpumode, start, &al) || !al.map->dso) {
999 pr_debug("\tcannot resolve %" PRIx64 "-%" PRIx64 "\n", start, end);
1003 pr_debug("\tcannot resolve %" PRIx64 "-%" PRIx64 "\n", start, end);
1010 offset = al.map->map_ip(al.map, start);
1012 end - start + MAXINSN);
1017 start, end);
1109 if ((*lastsym) && al.addr >= (*lastsym)->start && al.addr < (*lastsym)->end)
1121 off = al.addr - al.sym->start;
1123 off = al.addr - al.map->start - al.sym->start;
1143 u64 start, end;
1181 start = entries[i + 1].to;
1184 len = grab_bb(buffer, start, end, machine, thread, &x.is64bit, &x.cpumode, false);
1188 pr_debug("\tpatching up to %" PRIx64 "-%" PRIx64 "\n", start, end);
1189 len = grab_bb(buffer, start, end, machine, thread, &x.is64bit, &x.cpumode, false);
1196 uint64_t ip = start + off;
1216 if (off != end - start)
1237 start = entries[0].to;
1239 if (end < start) {
1241 end = start + 128;
1243 len = grab_bb(buffer, start, end, machine, thread, &x.is64bit, &x.cpumode, true);
1244 printed += ip__fprintf_sym(start, thread, x.cpumode, x.cpu, &lastsym, attr, fp);
1257 for (off = 0; off <= end - start; off += ilen) {
1259 printed += fprintf(fp, "\t%016" PRIx64 "\t%s\n", start + off,
1260 dump_insn(&x, start + off, buffer + off, len - off, &ilen));
1263 if (arch_is_branch(buffer + off, len - off, x.is64bit) && start + off != sample->ip) {
1271 print_srccode(thread, x.cpumode, start + off);
3542 OPT_BOOLEAN(0, "reltime", &reltime, "Show time stamps relative to start"),
3583 "Time span of interest (start,stop)"),