linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linuxppc-dev@ozlabs.org,
	Remis Lima Baima <remis.developer@googlemail.com>
Subject: Re: Dynamic-ftrace not working in PlayStation3
Date: Fri, 30 Jan 2009 16:44:41 +1100	[thread overview]
Message-ID: <1233294281.8497.9.camel@localhost> (raw)
In-Reply-To: <alpine.DEB.1.10.0901292234520.6222@gandalf.stny.rr.com>

[-- Attachment #1: Type: text/plain, Size: 2114 bytes --]

On Thu, 2009-01-29 at 22:38 -0500, Steven Rostedt wrote:
> On Thu, 29 Jan 2009, Geoff Levand wrote:
> 
> > > 
> > > //*************************************************************************************************************************************
> > > ip:d000000000045aec jumps to d000000000046340 r2: d000000000050c00
> > > 3d82ffff 398c5740 ffff5740 toc: d000000000046360 c0000000 00007cac
> > > ip:d0000000000458d0 jumps to d000000000046340 r2: d000000000050c00
> > > 3d82ffff 398c5740 ffff5740 toc: d000000000046360 c0000000 00007cac
> > > ip:d000000000045838 jumps to d000000000046340 r2: d000000000050c00
> > > 3d82ffff 398c5740 ffff5740 toc: d000000000046360 c0000000 00007cac
> > > ip:d0000000000456dc jumps to d000000000046340 r2: d000000000050c00
> > > 3d82ffff 398c5740 ffff5740 toc: d000000000046360 c0000000 00007cac
> > ...
> 
> So I take it that the above showed that the code worked for some?
> 
> > > ps3_system_bus_match:362: dev=11.0(lpm_01), drv=11.0(ps3-lpm): match
> > > ps3_system_bus_match:362: dev=11.0(lpm_01), drv=11.0(ps3-lpm): match
> > > ps3-lpm lpm_01:  <- ps3_lpm_probe:1245:
> > > ip:d0000000003fe280 jumps to d0000000003ffad8 r2: d000000000422c70
> 
> Could you find out what that function is? Perhaps do a:
> 
> 	printk("ip:%pF\n", ip);
> 
> As long as you have kallsyms on, that should point to the function that's 
> the problem.
> 
> > > 3d82fffe 398cce68 fffece68 toc: d00000000040faf8 6c656400 5f5f6b73
> > > addr does not match
> > > ptr: 6c6564005f5f6b73
> 
> ptr is the same info as the last line above.

6c656400 5f5f6b73 = "led\0__ks"

:)

> > --- a/arch/powerpc/kernel/ftrace.c
> > +++ b/arch/powerpc/kernel/ftrace.c
> > @@ -23,7 +23,7 @@
> >  #if 0
> 
> Heh, I would have just done:
> 
> - #if 0
> + #if 1
> 
> ;-)

Should do s/DEBUGP/pr_debug/g

cheers


-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-01-30  5:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 14:39 Dynamic-ftrace not working in PlayStation3 Remis Lima Baima
2009-01-30  3:12 ` Geoff Levand
2009-01-30  3:38   ` Steven Rostedt
2009-01-30  5:44     ` Michael Ellerman [this message]
2009-01-31  3:04     ` Geoff Levand
2009-01-31  6:20       ` Steven Rostedt
2009-01-31 10:25       ` Arnd Bergmann
2009-02-01 13:28         ` Remis
2009-02-02  8:24           ` Geert Uytterhoeven
2009-02-04 21:52         ` Steven Rostedt
2009-02-04 23:05           ` Benjamin Herrenschmidt

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=1233294281.8497.9.camel@localhost \
    --to=michael@ellerman.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=remis.developer@googlemail.com \
    --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;
as well as URLs for NNTP newsgroup(s).