Changeset View
Changeset View
Standalone View
Standalone View
head/sys/amd64/amd64/db_trace.c
Show First 20 Lines • Show All 194 Lines • ▼ Show 20 Lines | db_nextframe(struct amd64_frame **fp, db_addr_t *ip, struct thread *td) | ||||
* actually made the call. | * actually made the call. | ||||
*/ | */ | ||||
frame_type = NORMAL; | frame_type = NORMAL; | ||||
sym = db_search_symbol(rip - 1, DB_STGY_ANY, &offset); | sym = db_search_symbol(rip - 1, DB_STGY_ANY, &offset); | ||||
db_symbol_values(sym, &name, NULL); | db_symbol_values(sym, &name, NULL); | ||||
if (name != NULL) { | if (name != NULL) { | ||||
if (strcmp(name, "calltrap") == 0 || | if (strcmp(name, "calltrap") == 0 || | ||||
strcmp(name, "fork_trampoline") == 0 || | strcmp(name, "fork_trampoline") == 0 || | ||||
strcmp(name, "mchk_calltrap") == 0 || | |||||
strcmp(name, "nmi_calltrap") == 0 || | strcmp(name, "nmi_calltrap") == 0 || | ||||
strcmp(name, "Xdblfault") == 0) | strcmp(name, "Xdblfault") == 0) | ||||
frame_type = TRAP; | frame_type = TRAP; | ||||
else if (strncmp(name, "Xatpic_intr", 11) == 0 || | else if (strncmp(name, "Xatpic_intr", 11) == 0 || | ||||
strncmp(name, "Xapic_isr", 9) == 0 || | strncmp(name, "Xapic_isr", 9) == 0 || | ||||
strcmp(name, "Xtimerint") == 0 || | strcmp(name, "Xtimerint") == 0 || | ||||
strcmp(name, "Xipi_intr_bitmap_handler") == 0 || | strcmp(name, "Xipi_intr_bitmap_handler") == 0 || | ||||
strcmp(name, "Xcpustop") == 0 || | strcmp(name, "Xcpustop") == 0 || | ||||
▲ Show 20 Lines • Show All 414 Lines • Show Last 20 Lines |