Re: [PATCH 1/2] tracing,mm - add kernel pagefault tracepoint for x86& x86_64

From: Jiri Olsa
Date: Wed Nov 10 2010 - 08:45:08 EST


On Wed, Nov 10, 2010 at 08:29:54AM -0500, Christoph Hellwig wrote:
> On Wed, Nov 10, 2010 at 12:56:11PM +0100, Jiri Olsa wrote:
> > + TP_printk("task=%lx, address=%lx, regs=%lx",
> > + (unsigned long)__entry->task, (unsigned long)__entry->address,
> > + __entry->regs)
>
> How exactly do you use the information in this trace point? Especially
> the undecoded pt_regs doesn't seem very useful to me at all.

agreed, the registers pointer are not very useful in the trace file output,
and could be taken away.. just wanted to be complete I guess

but I believe they are useful when you register the mm_kernel_pagefault
tracepoint and process the information by yourself

wbr,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/