[PATCHv2 0/2] tracing,mm - add kernel pagefault tracepoint for x86 & x86_64

From: Jiri Olsa
Date: Thu Nov 11 2010 - 04:10:12 EST


This provides a tracepoint to trace kernel pagefault event
for x86 and x86_64 architectures.

There's a problem with this tracepoint when having the
userstacktrace option enabled, since it might generated
the page fault itself. The 1/2 patch address this issue.

v2 changes:
- replaced regs for error_code in page fault trace
- swapped the patch order not to introduce the regression
- minor code style change

attached patches:
1/2 tracing - fix recursive user stack trace
2/2 tracing,mm - add kernel pagefault tracepoint for x86 & x86_64

wbr,
jirka
---
arch/x86/mm/fault.c | 32 +++++++++++++++++++++-----------
include/trace/events/kmem.h | 22 ++++++++++++++++++++++
kernel/trace/trace.c | 17 +++++++++++++++++
3 files changed, 60 insertions(+), 11 deletions(-)
--
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/