Re: Why dump_stack results different so much?

From: bert hubert
Date: Fri Jul 29 2005 - 15:43:20 EST


On Fri, Jul 29, 2005 at 04:27:16PM -0400, Xin Zhao wrote:
> I supprisely noticed that the dump_stack results are quite different!
> Why did I get the calling traces below our_ssy_open() and above
> syscall_call()? Any thought on this? Many thanks!

This might depend on compiling with frame pointers, or not. I recall that at
one point, the kernel did a basic scan of addresses that looked like likely
candidates to have been pointers, and printed those.

Frame pointers are hailed as improving backtraces. They are in the 'kernel
hacking' section of the kernel configuration.

Sorry that I can't be more precise, but try turning on frame pointers.

Good luck!

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://netherlabs.nl Open and Closed source services
-
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/