3 ktrace \- interpret kernel stack dumps
17 translates a hexadecimal kernel stack dump
20 commands to show the points in the call trace.
23 argument should be the path of the kernel being debugged,
28 are the PC and SP values given in the stack dump.
29 For MIPS kernels, the contents of the
31 register must also be supplied.
33 A stack trace consists of a
35 command followed by a series of lines containing
37 .IB location = contents \fR:
39 ktrace /kernel/path 80105bc1 8048e174
40 8048e114=80105ac6 8048e120=80140bb4 8048e134=8010031c
41 8048e16c=80137e45 8048e170=80105bc1 8048e178=80137e62
45 The trace can be edited to provide the correct kernel path
46 and then pasted into a shell window.
51 instead prompts for the contents of the memory locations in which it is interested;
52 this is useful when the stack trace is on a screen rather than
53 in a machine readable form.
55 .B /sys/src/cmd/ktrace.c
60 When examining a kernel trace resulting from
61 an interrupt on top of other interrupts,
62 only the topmost call trace is printed.