From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@elte.hu>,
linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
Andrew Morton <akpm@linux-foundation.org>,
David Miller <davem@davemloft.net>
Subject: Re: [PATCH] ftrace: powerpc: remove startup functions from tracing
Date: Fri, 17 Oct 2008 11:50:46 +1100 [thread overview]
Message-ID: <1224204646.7654.52.camel@pasglop> (raw)
In-Reply-To: <alpine.DEB.1.10.0810162046570.20570@gandalf.stny.rr.com>
On Thu, 2008-10-16 at 20:48 -0400, Steven Rostedt wrote:
>
> The early init code in PowerPC is not mapped to their final locations
> and all jumps and memory references must be done with relative jumps
> and accesses.
>
> The lib files in the powerpc directory are called in early boot, and
> since mcount will perform direct access to memory, the lib files need
> not be traced.
This is annoying though, because that means things like memcpy,
copy_to_from_user etc... can't be traced. On the other hand a lot
of that is asm and already doesn't call mcount.
Cheers,
Ben.
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>,
Peter Zijlstra <peterz@infradead.org>,
linux-kernel@vger.kernel.org, David Miller <davem@davemloft.net>,
linuxppc-dev@ozlabs.org, Ingo Molnar <mingo@elte.hu>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] ftrace: powerpc: remove startup functions from tracing
Date: Fri, 17 Oct 2008 11:50:46 +1100 [thread overview]
Message-ID: <1224204646.7654.52.camel@pasglop> (raw)
In-Reply-To: <alpine.DEB.1.10.0810162046570.20570@gandalf.stny.rr.com>
On Thu, 2008-10-16 at 20:48 -0400, Steven Rostedt wrote:
>
> The early init code in PowerPC is not mapped to their final locations
> and all jumps and memory references must be done with relative jumps
> and accesses.
>
> The lib files in the powerpc directory are called in early boot, and
> since mcount will perform direct access to memory, the lib files need
> not be traced.
This is annoying though, because that means things like memcpy,
copy_to_from_user etc... can't be traced. On the other hand a lot
of that is asm and already doesn't call mcount.
Cheers,
Ben.
next prev parent reply other threads:[~2008-10-17 0:52 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-06 5:06 [PATCH 0/2] ftrace: fixes for PPC Steven Rostedt
2008-09-06 5:06 ` Steven Rostedt
2008-09-06 5:06 ` [PATCH 1/2] ftrace: use ftrace_release for all dynamic ftrace functions Steven Rostedt
2008-09-06 5:06 ` Steven Rostedt
2008-09-06 5:06 ` [PATCH 2/2] ftrace: fix unlocking of hash Steven Rostedt
2008-09-06 5:06 ` Steven Rostedt
2008-09-06 12:03 ` [PATCH 0/2] ftrace: fixes for PPC Ingo Molnar
2008-09-06 12:03 ` Ingo Molnar
2008-10-16 18:14 ` Josh Boyer
2008-10-16 18:14 ` Josh Boyer
2008-10-16 18:22 ` Steven Rostedt
2008-10-16 18:22 ` Steven Rostedt
2008-10-16 18:35 ` Josh Boyer
2008-10-16 18:35 ` Josh Boyer
2008-10-16 18:42 ` Steven Rostedt
2008-10-16 18:42 ` Steven Rostedt
2008-10-16 18:45 ` Steven Rostedt
2008-10-16 18:45 ` Steven Rostedt
2008-10-16 19:01 ` Josh Boyer
2008-10-16 19:01 ` Josh Boyer
2008-10-20 16:30 ` Steven Rostedt
2008-10-20 16:30 ` Steven Rostedt
2008-10-20 17:08 ` Josh Boyer
2008-10-20 17:08 ` Josh Boyer
2008-10-20 17:28 ` Steven Rostedt
2008-10-20 17:28 ` Steven Rostedt
2008-10-20 17:42 ` Frédéric Weisbecker
2008-10-20 17:42 ` Frédéric Weisbecker
2008-10-20 17:53 ` Steven Rostedt
2008-10-20 17:53 ` Steven Rostedt
2008-10-20 21:47 ` Frédéric Weisbecker
2008-10-20 21:47 ` Frédéric Weisbecker
2008-10-17 0:48 ` [PATCH] ftrace: powerpc: remove startup functions from tracing Steven Rostedt
2008-10-17 0:48 ` Steven Rostedt
2008-10-17 0:50 ` Benjamin Herrenschmidt [this message]
2008-10-17 0:50 ` Benjamin Herrenschmidt
2008-10-17 1:04 ` Steven Rostedt
2008-10-17 1:04 ` Steven Rostedt
2008-10-17 5:37 ` [PATCH 0/2] ftrace: fixes for PPC Chris Friesen
2008-10-17 5:37 ` Chris Friesen
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=1224204646.7654.52.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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.