From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Ingo Molnar <mingo@elte.hu>, Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org, lethal@linux-sh.org
Subject: Re: ftrace: fix depends
Date: Wed, 29 Oct 2008 10:18:57 +0100 [thread overview]
Message-ID: <20081029091857.GA4414@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <200810281802.m9SI2fYX030138@hera.kernel.org>
On Tue, Oct 28, 2008 at 06:02:41PM +0000, Linux Kernel Mailing List wrote:
> Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c2db8054c1eaf99983d8deee347876b01c26c2cf
> Commit: c2db8054c1eaf99983d8deee347876b01c26c2cf
> Parent: bd95b88d9e51fcbf392a7e90338a8fcc3499cbd6
> Author: Steven Rostedt <rostedt@goodmis.org>
> AuthorDate: Mon Oct 6 19:06:11 2008 -0400
> Committer: Ingo Molnar <mingo@elte.hu>
> CommitDate: Mon Oct 20 18:27:02 2008 +0200
>
> ftrace: fix depends
>
> A lot of tracers have HAVE_FTRACE as a dependent config where it
> really should not. The HAVE_FTRACE is a misnomer (soon to be fixed)
> and describes if the architecture has the function tracer (mcount)
> implemented. The ftrace infrastructure is implemented in all archs.
>
> Signed-off-by: Steven Rostedt <srostedt@redhat.com>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Hmm... this is not very true. I count three architectures which have this
implemented plus arm with a 'depends on' plus sh with the broken HAVE_FTRACE
instead of HAVE_FUNCTION_TRACER.
All other architectures will see something like this:
kernel/built-in.o: In function `tracer_alloc_buffers':
trace.c:(.init.text+0x42c2): undefined reference to `nop_trace'
trace.c:(.init.text+0x42ec): undefined reference to `nop_trace'
make: *** [.tmp_vmlinux1] Error 1
next parent reply other threads:[~2008-10-29 9:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200810281802.m9SI2fYX030138@hera.kernel.org>
2008-10-29 9:18 ` Heiko Carstens [this message]
2008-10-29 15:15 ` [PATCH] ftrace: fix trace_nop config select Steven Rostedt
2008-10-29 16:21 ` Ingo Molnar
2008-10-30 1:43 ` [PATCH][RFC] x86: add non x86 build configuration Steven Rostedt
2008-10-30 19:51 ` Ingo Molnar
2008-10-30 20:05 ` Steven Rostedt
2008-10-30 20:57 ` Ingo Molnar
2008-10-30 21:09 ` Steven Rostedt
2008-10-30 20:20 ` Sam Ravnborg
2008-10-30 20:55 ` Ingo Molnar
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=20081029091857.GA4414@osiris.boeblingen.de.ibm.com \
--to=heiko.carstens@de.ibm.com \
--cc=lethal@linux-sh.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
/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
all inboxes | Powered by JetHome®