DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

chk_fault - See if processor i has faulted

SYNOPSIS

chk_fault i

DESCRIPTION

The chk_fault macro takes a cpu number as its argument. It is used to show whether a processor has faulted.

Typical output looks like this:

 
S> chk_fault 0
cpuid 0
Trace for stack D1631000
ADDRESS  PID   PPID  UID   FLAGS    K U R WCHAN    ST  COMMAND
D1631000 28752 05085 00000 02102010 - - 0          ONPROC ftpd -l
STKADDR  FRAMEPTR  FUNCTION
E0004BA0 E0004BE4  xcmn_err+1FC(3,E0004BE4,D001C021,D01C41E0,E000563C)
E0004BEC E0004BF4  cmn_err+10(3,E0004C00)
E0004BFC E0004C18  save_locks+A9(3,D01C41E0,D18CDA40)
E0004C20 E0004D24  setjmp+3F(E0005600)
E0004D2C E0004D50  vop_close+29
E0004D58 E0004D84  closef+C9
E0004D8C E0004D9C  closeall+3E(D162D800)
E0004DA4 E0004DDC  exit+5B
E0004DE4 E0004DEC  rexit+10(1,1)
E0004DF4 E0004E28  systrap+269
E0004E30 E0004E34  sys_call+33(E0004E34)
E0004E3C 08047828  80010A0A

eip esp ebp eflags D001BF9C E0004BA0 E0004BE4 00000096 eax ebx ecx edx D024E464 D18CDA40 00000000 00000008 esi edi E0004C04 D01C41E0 cs ss ds es fs gs 0158 0160 0160 0160 0000 0000

xcmn_err+1FC: 83 C4 14 addl $14,%esp

DEFINED IN

trace.k

SEE ALSO

panicregs, trace

APPENDIX A: Alphabetic Index of Macros