linux-um archives
 help / color / mirror / Atom feed
From: Magotari <magotari@gmail.com>
To: jdike@addtoit.com
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] [PATCH] UML: Gprof needs frame pointers.
Date: Thu, 18 Oct 2007 22:50:05 +0200	[thread overview]
Message-ID: <ea9232d10710181350v1330e008w2b2cd436602025c5@mail.gmail.com> (raw)

This is a short Kconfig fix for a problem in User Mode Linux.
Frame pointers are required for gprof support to work.

Karol Swietlicki

Signed-off-by: Karol Swietlicki <magotari@gmail.com>

---

--- linux-2.6.23-mm1/arch/um/Kconfig.debug	2007-10-18 22:24:13.000000000 +0200
+++ linux-2.6.23-mm1.local/arch/um/Kconfig.debug	2007-10-18
22:04:04.000000000 +0200
@@ -4,7 +4,7 @@

 config GPROF
 	bool "Enable gprof support"
-	depends on DEBUG_INFO
+	depends on DEBUG_INFO && FRAME_POINTER
 	help
 	  This allows profiling of a User-Mode Linux kernel with the gprof
 	  utility.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

             reply	other threads:[~2007-10-18 20:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 20:50 Magotari [this message]
2007-10-19 14:17 ` [uml-devel] [PATCH] UML: Gprof needs frame pointers Jeff Dike

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=ea9232d10710181350v1330e008w2b2cd436602025c5@mail.gmail.com \
    --to=magotari@gmail.com \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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