![]() | |||||||||||
Messages in this thread |
Christoph Hellwig <hch@infradead.org> writes: > On Mon, Aug 07, 2006 at 05:30:24PM +0530, Ananth N Mavinakayanahalli wrote: > > From: Ananth N Mavinakayanahalli <ananth@in.ibm.com> > > > > Add the KPROBE_RETVAL macro to help extract the return value on > > different architectures, while using function-return probes. > > Good idea. You should add parentheses around regs, otherwise the C > preprocessor might bite users. Also the shouting name is quite ugly. > In fact it should probably go to asm/system.h or similar The other macros like this (instruction_pointer etc) are in asm/ptrace.h -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2006-08-09 06:41 [from the cache] ©2003-2008 | |||||||||||