Skip to content

Add fault_major, fault_minor page fault trace events

Chris Redmon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tracing: Introduce traces for major and minor page faultsinclude/trace/events/fault.h+87 -00 replies
2/3arm: Utilize trace events for major and minor page faultsarch/arm/mm/fault.c+14 -00 replies
3/3arm64: Utilize trace events for major and minor page faultsarch/arm64/mm/fault.c+14 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Add fault_major, fault_minor page fault trace events

These changes add common trace events for major and minor page faults, as well as adding these traces to the arm and arm64 architectures. These traces offer useful information for determining the source of page faults in realtime systems, as well as the time penalty for taking a major or minor page fault.

I made an attempt to minimize the overhead when these tracepoints are not enabled, but I'm willing to make more changes if desired.

Chris Redmon (3):
tracing: Introduce traces for major and minor page faults
arm: Utilize trace events for major and minor page faults
arm64: Utilize trace events for major and minor page faults

 arch/arm/mm/fault.c          | 14 +++++++
 arch/arm64/mm/fault.c        | 14 +++++++
 include/trace/events/fault.h | 87 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 115 insertions(+)
 create mode 100644 include/trace/events/fault.h
Signature · 1 line
2.12.2.599.gcf11a67