Re: Dynamic-ftrace not working in PlayStation3
From: Michael Ellerman <hidden>
Date: 2009-01-30 05:44:41
On Thu, 2009-01-29 at 22:38 -0500, Steven Rostedt wrote:
On Thu, 29 Jan 2009, Geoff Levand wrote:quoted
quoted
//************************************************************************************************************************************* 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?quoted
quoted
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: d000000000422c70Could 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.quoted
quoted
3d82fffe 398cce68 fffece68 toc: d00000000040faf8 6c656400 5f5f6b73 addr does not match ptr: 6c6564005f5f6b73ptr is the same info as the last line above.
6c656400 5f5f6b73 = "led\0__ks" :)
quoted
--- a/arch/powerpc/kernel/ftrace.c +++ b/arch/powerpc/kernel/ftrace.c@@ -23,7 +23,7 @@ #if 0Heh, 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
Attachments
- signature.asc [application/pgp-signature] 197 bytes