Skip to content

perf: Use LBR for machine/oops debugging

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf, x86: fix __initconst vs constarch/x86/kernel/cpu/perf_event_amd.c arch/x86/kernel/cpu/perf_event_intel.c arch/x86/kernel/cpu/perf_event_p4.c +1 more+11 -110 replies
2/2perf, x86: Utilize the LBRs for machine/oops debuggingarch/x86/include/asm/perf_event.h arch/x86/kernel/cpu/perf_event_intel.c arch/x86/kernel/cpu/perf_event_intel_lbr.c +1 more+95 -86 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchLinus Torvalds
1/2
2/2Requested-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] perf: Use LBR for machine/oops debugging

The LBRs are relatively cheap to keep enabled and provide some history to OOPSen, also some CPUs are reported to keep them over soft-reset, which allows us to use them to debug things like tripple faults.

Therefore introduce a boot option: lbr_debug=on, which always enable the LBRs and will print the LBRs on CPU init and die().