[patch 0/4] [RFC] mcount address adjustment
From: rostedt@goodmis.org (Steven Rostedt)
Date: 2011-05-16 14:28:46
Also in:
linux-arch
From: rostedt@goodmis.org (Steven Rostedt)
Date: 2011-05-16 14:28:46
Also in:
linux-arch
On Mon, 2011-05-16 at 13:57 +0100, Dave Martin wrote:
Is there any reason why the recordmcount.pl would ever be used now that the
C implementation exists?
I notice that arch/arm/Kconfig has:
config ARM
...
select HAVE_C_RECORDMCOUNT
so deprecating ARM support from recordmcount.pl seems unlikely to hurt
anyone.
The C implementation seems to have worked fine when I was testing dynamic
ftrace with Thumb-2 recently.It's there only as a backup. But you're right. I may as well start removing the recordmcount.pl support from those that have the HAVE_C_RECORDMCOUNT set, and then all users are gone (which may now be the case) either keep it around as a backup for testing against recordmcount.c, or remove it completely. -- Steve