login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
20
Re: [PATCH] ftrace: handle weak symbol functions
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Ingo Molnar
Subject:
Re: [PATCH] ftrace: handle weak symbol functions
Date: Wednesday, August 20, 2008 - 7:51 am
* Steven Rostedt <rostedt@goodmis.org> wrote:
quoted text
> During tests and checks, I've discovered that there were failures to > convert mcount callers into nops. Looking deeper into these failures, > code that was attempted to be changed was not an mcount caller. The > current code only updates if the code being changed is what it > expects, but I still investigate any time there is a failure. > > What was happening is that a weak symbol was being used as a reference > for other mcount callers. That weak symbol was also referenced > elsewhere so the offsets were using the strong symbol and not the > function symbol that it was referenced from. > > This patch changes the setting up of the mcount_loc section to search > for a global function that is not weak. It will pick a local over a > weak but if only a weak is found in a section, a warning is printed > and the mcount location is not recorded (just to be safe). > > Signed-off-by: Steven Rostedt <srostedt@redhat.com>
applied to tip/tracing/ftrace, thanks Steve! Ingo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] ftrace: handle weak symbol functions
, Steven Rostedt
, (Wed Aug 20, 7:07 am)
Re: [PATCH] ftrace: handle weak symbol functions
, Ingo Molnar
, (Wed Aug 20, 7:51 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Pekka Enberg
Re: BUG in free_block (tainted)
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
git
:
Junio C Hamano
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Henk
Announcement: Git Extensions stable (windows shell extensions)
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Julius Volz
[PATCH] IRDA: Fix genlmsg_put() return value check.
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
virtio_blk: implement naming for vda-vdz,vdaa-vdzz,vdaaa-vdzzz
Linux Kernel Mailing List
[POWERPC] Use of_register_driver to implement of_register_platform_driver
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Ryan McBride
Re: Packets Per Second Limit?
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
Nick Guenther
Re: Encrypting home partition
nixlists
Re: Openssl patch breaks Tor
Colocation donated by:
Syndicate