RE: [RFC][PATCH] Introduce page fault tracepoint

2013-08-22 Thread Seiji Aguchi
> Printing the regs pointer is rather useless. This is specific for x86, > why not print the ip of where it happened and the faulting address > itself? Thank you for reviewing. I will change the regs pointer to ip. > Note, you only need to change the TP_printk() to do that. For > efficiency reaso

Re: [RFC][PATCH] Introduce page fault tracepoint

2013-08-22 Thread Steven Rostedt
On Tue, 30 Jul 2013 18:52:33 -0400 Seiji Aguchi wrote: /* IOAPIC */ > #define IO_APIC_IRQ(x) (((x) >= NR_IRQS_LEGACY) || ((1<<(x)) & io_apic_irqs)) > diff --git a/arch/x86/include/asm/trace/exceptions.h > b/arch/x86/include/asm/trace/exceptions.h > new file mode 100644 > index 000..660fcf1

RE: [RFC][PATCH] Introduce page fault tracepoint

2013-08-09 Thread Seiji Aguchi
Any comment? > -Original Message- > From: Seiji Aguchi [mailto:seiji.agu...@hds.com] > Sent: Tuesday, July 30, 2013 6:53 PM > To: linux-kernel@vger.kernel.org; x...@kernel.org > Cc: h...@zytor.com; rost...@goodmis.org; mi...@elte.hu; b...@alien8.de; > t...@linutronix.de; fdesl...@gmail.co