public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: bert hubert <bert.hubert@netherlabs.nl>
To: Xin Zhao <uszhaoxin@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Why dump_stack results different so much?
Date: Fri, 29 Jul 2005 22:34:04 +0200	[thread overview]
Message-ID: <20050729203403.GA30603@outpost.ds9a.nl> (raw)
In-Reply-To: <4ae3c140507291327143a9d83@mail.gmail.com>

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

  reply	other threads:[~2005-07-29 20:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 20:27 Why dump_stack results different so much? Xin Zhao
2005-07-29 20:34 ` bert hubert [this message]
2005-07-29 21:00   ` Xin Zhao
2005-07-29 21:22     ` bert hubert
2005-07-30  0:10       ` Xin Zhao
2005-07-30 11:52         ` bert hubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050729203403.GA30603@outpost.ds9a.nl \
    --to=bert.hubert@netherlabs.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uszhaoxin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox