On Wed, 2009-02-11 at 20:10 -0500, Steven Rostedt wrote: > The following set of patches are RFC and not for inclusion > (unless everyone is fine with them as is). > > This is the port to PowerPC of the function graph tracer that was written > by Frederic Weisbecker for the x86 architecture. It is broken up > into a series of logical steps. > > 1) get generic code ready for other archs > 2) get PowerPC 64-bit working with just static function tracing > 3) get PowerPC 64-bit working with dynamic function tracing > 4) get PowerPC 32-bit working with just static function tracing > 5) get PowerPC 32-bit working with dynamic function tracing > > (with some clean ups in between) > > > The function graph tracer not only traces the start of a function > (uses the function tracer part for that) but also uses the kprobes > trick to replace the return address with a hook to trace the exit > of the function.
You use the "kprobes trick", but none of the kprobes code (AFAICS). Couldn't there be some common code between the two? 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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev