Re: Dynamic-ftrace not working in PlayStation3

2009-02-04 Thread Steven Rostedt
On Sat, 31 Jan 2009, Arnd Bergmann wrote: On Saturday 31 January 2009, Geoff Levand wrote: So I take it that the above showed that the code worked for some? In my trials it blows up on the first load_module() call, and for my config that was usbcore: I looked into it some more

Re: Dynamic-ftrace not working in PlayStation3

2009-02-04 Thread Benjamin Herrenschmidt
OK, I've been able to reproduce it. It looks like the assumptions of the trampoline that I've made is not correct if the size of the module is over some limit. I had to make usb-core into a module, and I see the same bug. I'll take a deeper look into it. Thanks ! I've been a bit

Re: Dynamic-ftrace not working in PlayStation3

2009-01-31 Thread Arnd Bergmann
On Saturday 31 January 2009, Geoff Levand wrote: So I take it that the above showed that the code worked for some? In my trials it blows up on the first load_module() call, and for my config that was usbcore: I looked into it some more with Remis yesterday, and we got ftrace working by

Re: Dynamic-ftrace not working in PlayStation3

2009-01-30 Thread Geoff Levand
Hi, I did a bit of work on this today. Steven Rostedt wrote: ip:d0045aec jumps to d0046340 r2: d0050c00 3d82 398c5740 5740 toc: d0046360 c000 7cac ip:d00458d0 jumps to d0046340 r2: d0050c00 3d82 398c5740 5740

Re: Dynamic-ftrace not working in PlayStation3

2009-01-29 Thread Geoff Levand
Hi, Remis Lima Baima wrote: Hi to all. I was tracing a bug in the snd_usb_audio driver (PlayStation 3, Kernel 2.6.29-rc2, git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git) and for that I tried to use the dynamic ftrace to get less debug output. But it did not work at all.

Re: Dynamic-ftrace not working in PlayStation3

2009-01-29 Thread Steven Rostedt
On Thu, 29 Jan 2009, Geoff Levand wrote: //* ip:d0045aec jumps to d0046340 r2: d0050c00 3d82 398c5740 5740 toc:

Re: Dynamic-ftrace not working in PlayStation3

2009-01-29 Thread Michael Ellerman
On Thu, 2009-01-29 at 22:38 -0500, Steven Rostedt wrote: On Thu, 29 Jan 2009, Geoff Levand wrote: //* ip:d0045aec jumps to d0046340 r2:

Dynamic-ftrace not working in PlayStation3

2009-01-26 Thread Remis Lima Baima
Hi to all. I was tracing a bug in the snd_usb_audio driver (PlayStation 3, Kernel 2.6.29-rc2, git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git) and for that I tried to use the dynamic ftrace to get less debug output. But it did not work at all. Ftrace (without the dynamic ftrace