All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@didntduck.org>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Simon Turvey <turveysp@ntlworld.com>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: Generating a function call trace
Date: Fri, 30 Nov 2001 13:20:41 -0500	[thread overview]
Message-ID: <3C07CDF9.F1069C71@didntduck.org> (raw)
In-Reply-To: <Pine.LNX.4.40.0111300900050.1600-100000@blue1.dev.mcafeelabs.com>

Davide Libenzi wrote:
> 
> On Fri, 30 Nov 2001, Simon Turvey wrote:
> 
> > Is it possible to arbitrarily generate (in a module say) a function call
> > trace?
> 
> gcc has builtin macros to trace back or ( on x86 ) you can simply chain
> through %esp/%ebp

That only works if you compile with frame pointers, which the kernel
turns off for performance reasons (due to register pressure on the x86).

--

				Brian Gerst

  reply	other threads:[~2001-11-30 18:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30 15:13 Generating a function call trace Simon Turvey
2001-11-30 15:33 ` Martin Dalecki
2001-11-30 16:19   ` Petr Vandrovec
2001-11-30 17:02 ` Davide Libenzi
2001-11-30 18:20   ` Brian Gerst [this message]
2001-11-30 18:39     ` Davide Libenzi
2001-11-30 18:37       ` Martin Dalecki
2001-12-01 19:00     ` Matt D. Robinson

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=3C07CDF9.F1069C71@didntduck.org \
    --to=bgerst@didntduck.org \
    --cc=davidel@xmailserver.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=turveysp@ntlworld.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.