Re: How provoke call stack trace

From: Michael Buesch
Date: Mon Nov 03 2003 - 13:46:08 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 03 November 2003 19:38, 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.

Maybe
dump_stack();
is what you're searching for?

- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/pqI9oxoigfggmSgRAscBAJ4ndlnDWL0557Jv5oE6Iawue4SEZACbBRHU
W3QGnBNgazObL2bEedaEe3A=
=FJMu
-----END PGP SIGNATURE-----

-
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/