On Sat, March 31, 2007 15:15, Christoph Hellwig wrote: > Currently all avr32 and sparc64 don't support kretprobes unlike all > other kprobes supporting architectures. This is not nice from the > user interface point of view and from the ugly ifdefs point of view. > Is there a reason these ports can't support kretprobes or was this > simply an oversight / lazyness?
Lazyness on my part, I guess. It shouldn't be too hard to implement on avr32; It looks like the generic code sets a breakpoint on function entry, so all I have to do is to set a breakpoint on the return address. And handle the breakpoint somehow. I'll try to implement it when I get back to work in about a week. Haavard - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/