Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-20 Thread Michael Ellerman
On Wed, 2008-05-14 at 23:49 -0400, Steven Rostedt wrote: plain text document attachment (ftrace-powerpc-port.patch) This patch adds full support for ftrace for PowerPC (both 64 and 32 bit). This includes dynamic tracing and function filtering. Hi Steven, Just a few comments inline .. Index:

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-20 Thread Benjamin Herrenschmidt
Why do we not want to trace early boot? Just because it's not useful? Not running at the linked address... might be causing trouble. Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-20 Thread Steven Rostedt
On Wed, 21 May 2008, Michael Ellerman wrote: On Wed, 2008-05-14 at 23:49 -0400, Steven Rostedt wrote: plain text document attachment (ftrace-powerpc-port.patch) This patch adds full support for ftrace for PowerPC (both 64 and 32 bit). This includes dynamic tracing and function filtering.

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-20 Thread Steven Rostedt
On Tue, 20 May 2008, Benjamin Herrenschmidt wrote: Why do we not want to trace early boot? Just because it's not useful? Not running at the linked address... might be causing trouble. I figured it was something like that, so I didn't look too deep into it, and decided that it was best just

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-16 Thread Ingo Molnar
* Steven Rostedt [EMAIL PROTECTED] wrote: This patch adds full support for ftrace for PowerPC (both 64 and 32 bit). This includes dynamic tracing and function filtering. applied, thanks. Nice stuff! :) Ingo ___ Linuxppc-dev mailing list

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-15 Thread Steven Rostedt
On Wed, 14 May 2008, David Miller wrote: From: Steven Rostedt [EMAIL PROTECTED] Date: Wed, 14 May 2008 23:49:44 -0400 +#ifdef CONFIG_FTRACE +#ifdef CONFIG_DYNAMIC_FTRACE +_GLOBAL(mcount) +_GLOBAL(_mcount) + stwur1,-48(r1) + stw r3, 12(r1) + stw r4, 16(r1) +

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-15 Thread Scott Wood
On Wed, May 14, 2008 at 10:28:57PM -0700, David Miller wrote: From: Steven Rostedt [EMAIL PROTECTED] Date: Wed, 14 May 2008 23:49:44 -0400 +#ifdef CONFIG_FTRACE +#ifdef CONFIG_DYNAMIC_FTRACE +_GLOBAL(mcount) +_GLOBAL(_mcount) + stwur1,-48(r1) + stw r3, 12(r1) + stw

[PATCH 2/2] ftrace: support for PowerPC

2008-05-14 Thread Steven Rostedt
This patch adds full support for ftrace for PowerPC (both 64 and 32 bit). This includes dynamic tracing and function filtering. Signed-off-by: Steven Rostedt [EMAIL PROTECTED] --- arch/powerpc/Kconfig |5 arch/powerpc/kernel/Makefile | 14 ++

Re: [PATCH 2/2] ftrace: support for PowerPC

2008-05-14 Thread David Miller
From: Steven Rostedt [EMAIL PROTECTED] Date: Wed, 14 May 2008 23:49:44 -0400 +#ifdef CONFIG_FTRACE +#ifdef CONFIG_DYNAMIC_FTRACE +_GLOBAL(mcount) +_GLOBAL(_mcount) + stwur1,-48(r1) + stw r3, 12(r1) + stw r4, 16(r1) + stw r5, 20(r1) + stw r6, 24(r1)