Re: What's become with PPC patches?
Mathieu Desnoyers <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <20061109205738.GA25940@Krystal> |
* Sergei Shtylyov ([email protected]) wrote: > Hello. > > Mathieu Desnoyers wrote: > > >You are right, I see no other place to put the trap entry/exit elsewhere > >than in > >arch/*/mm/fault.c. I will leave the new "page_fault" event, which is > >linked to > >the handle_mm_fault function : it makes sense to instrument page faults > >caused > >by get_user_pages too. > > That fix caused warning to be emitted: > > arch/powerpc/mm/fault.c: In function ‘do_page_fault’: > arch/powerpc/mm/fault.c:347: warning: format ‘%d’ expects type > ‘int’, but argument 2 has type ‘long unsigned int’ > > That's poses danger on PPC64 where sizeof(int) == 4 and sizeof(long) == > 8. > Just fixed in LTTng 0.6.30, thanks! Mathieu > WBR, Sergei > OpenPGP public key: http://krystal.dyndns.org:8080/key/compudj.gpg Key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 _______________________________________________ Ltt-dev mailing list [email protected] http://listserv.shafik.org/mailman/listinfo/ltt-dev