Messages in this thread | | | Date | Fri, 19 Nov 1999 20:22:47 +0100 | From | Manfred Spraul <> | Subject | Re: 2.2.14pre5: kmem_grow: Called nonatomically from int ... |
| |
"Petr Vandrovec Ing. VTEI" wrote: > > On 19 Nov 99 at 07:32 Manfred wrote: > > > Hmm... nice! Is there a way to get a stacktrace without forcing an oops? > > Several architectures have a 'show_stack()' function (eg > > dik_show_trace() on alpha) > > Unfortunately, i386 doesn't have that function. > Hi, > I missed original posting, so I write it here to the list. > I'm using this patch for matroxfb debugging version - it prints > CPU registers and call stack at the time of call to printstate()
Yes, I use a similar function. But obviously the result is not portable, I always remove these calls before submitting a patch to Linus. IMHO a {printstate(),show_trace(),...} function that is supported by all architectures would be a Good Thing(tm).
-- Manfred
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |