Re: What's become with PPC patches?

Sergei Shtylyov <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Organization MontaVista Software Inc.
Message-ID <[email protected]>
Hello.

Mathieu Desnoyers wrote:

>>>> Since we were about to start working on LTTng in arch/powerpc/ tree (at
>>>>last), I've looked thru the current 2.6.18 patches, and was surprised in 
>>>>a bad
>>>>way about PPC patches which only looked like a shadow of what they were
>>>>several months ago, largely reminding the result of a failed rebase with 
>>>>only
>>>>some added lines and braces serving no particular purpose. Looks like that
>>>>disaster (I think it's the right word) happened after 
>>>>2.6.17-lttng-0.5.108.
>>>> Mattieau, could you clarify what happened? The patch has lost a lot of 
>>>>trace points (assmingly borrowed from my last year's LTT work), so it's 
>>>>going to be quite a setback for us, and completely unexpected... :-(

>>>Can you point to some examples of the trace points that went away ? I will
>>>probably be able to explain where they are now : most likely in 
>>>architecture
>>>independant locations.

>>   Look at arch/powerpc/mm/fault.c in your patchset, for example...

> Look at ltt/probes/ltt-probe-ppc.c: probe_mm_handle_fault_entry/exit
> And also at 

> mm/memory.c:       MARK(mm_handle_fault_entry, "%lu %ld", address, 
>                     KSTK_EIP(current));
> [...]
> mm/memory.c:       MARK(mm_handle_fault_exit, MARK_NOARGS);

> Note that there should also be a call to trace_kernel_trap_entry/exit in
> probe_mm_handle_fault_entry/exit in ltt/probes/ltt-probe-ppc.c (see
> ltt-probe-i386.c for an example). I will fix in the next releases.

    Hm, that's all good... but where's the syscall entry/exit hook gone from 
arch/powerpc/kernel/entry_32.S?

> Mathieu

WBR, Sergei
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.