Re: How provoke call stack trace

From: Ihar 'Philips' Filipau
Date: Mon Nov 03 2003 - 14:33:31 EST



Thanks to every one!
Already looking into the source code.

P.S.
But it looks like ppc (as of 2.4.22) doesn't implement it.
But still BUG() on ppc prints stack trace... I'm just no specialist in cpu exception handling. especially on ppc :-(

Ihar 'Philips' Filipau wrote:
Hello All!

[ Simple question. Probably FAQ - but I cannot find it. ]

How can I print call stack trace, just like BUG() does?
But without asm(".long 0") as BUG() does.

Is there any function which can be used by module to just investigate some given call path?


--
Ihar 'Philips' Filipau / with best regards from Saarbruecken.
-- _ _ _
"... and for $64000 question, could you get yourself |_|*|_|
vaguely familiar with the notion of on-topic posting?" |_|_|*|
-- Al Viro @ LKML |*|*|*|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/