Skip to content

Introduce page fault tracepoints

Seiji Aguchi lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 4 repliesIn review
  2. v31 patch 3 repliesSuperseded
  3. v21 patch 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch3 repliesSuperseded

Changes in v4 from the cover letter

- Separate modifications to make review easy.
- Refactor implementations registering exception/irq_vector handers. (Patch 1, 2, 3)

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Move set_intr_gate() into macroarch/x86/include/asm/desc.h+1 -60 replies
2/4Register exception handler to trace IDTarch/x86/include/asm/desc.h arch/x86/include/asm/hw_irq.h arch/x86/include/asm/segment.h +7 more+97 -220 replies
3/4Delete __trace_alloc_intr_gate()arch/x86/include/asm/desc.h+0 -220 replies
4/4Add page fault tracepointsarch/x86/include/asm/trace/exceptions.h arch/x86/mm/Makefile arch/x86/mm/fault.c+67 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] Introduce page fault tracepoints

Change from v3:
- Separate modifications to make review easy.
- Refactor implementations registering exception/irq_vector handers. (Patch 1, 2, 3)

This series introduce page fault tracepoints.

Detailed descriptions are explained in each patch. Any comments are welcome.

Seiji Aguchi (4):
Move set_intr_gate() into macro
Register exception handler to trace IDT
Delete __trace_alloc_intr_gate()
Add page fault tracepoints

 arch/x86/include/asm/desc.h             | 57 ++++++++++++++-------------------
 arch/x86/include/asm/hw_irq.h           |  3 ++
 arch/x86/include/asm/segment.h          |  3 ++
 arch/x86/include/asm/trace/exceptions.h | 52 ++++++++++++++++++++++++++++++
 arch/x86/include/asm/traps.h            | 20 ++++++++++++
 arch/x86/kernel/entry_32.S              | 10 ++++++
 arch/x86/kernel/entry_64.S              | 13 +++++++-
 arch/x86/kernel/head64.c                |  2 +-
 arch/x86/kernel/kvm.c                   |  2 +-
 arch/x86/kernel/traps.c                 | 28 ++++++++--------
 arch/x86/mm/Makefile                    |  2 ++
 arch/x86/mm/fault.c                     | 23 +++++++++++++
 12 files changed, 165 insertions(+), 50 deletions(-)
 create mode 100644 arch/x86/include/asm/trace/exceptions.h
Signature · 1 line
1.8.3.1