Re: [PATCH -tip tracing/kprobes v2] Powerpc port of the kprobe-based event tracer

2010-01-18 Thread Mahesh Jagannath Salgaonkar
Benjamin Herrenschmidt wrote: Hi Mahesh ! Hi Benjamin, +/** + * regs_within_kernel_stack() - check the address in the stack + * @regs: pt_regs which contains kernel stack pointer. + * @addr: address which is checked. + * + * regs_within_kernel_stack() checks @addr is within the kern

Re: [PATCH -tip tracing/kprobes v2] Powerpc port of the kprobe-based event tracer

2010-01-14 Thread Benjamin Herrenschmidt
Hi Mahesh ! > +/** > + * regs_within_kernel_stack() - check the address in the stack > + * @regs: pt_regs which contains kernel stack pointer. > + * @addr: address which is checked. > + * > + * regs_within_kernel_stack() checks @addr is within the kernel stack > page(s). > + * If @addr

[PATCH -tip tracing/kprobes v2] Powerpc port of the kprobe-based event tracer

2010-01-11 Thread Mahesh Salgaonkar
This patch ports the kprobe-based event tracer to powerpc. This patch is based in x86 port. This brings powerpc on par with x86. ChangeLog - v2: - Removed regs_get_argument_nth() API as function argument access syntax is dropped from kprobe-tracer. Please refer to patches below on Linux PPC ma