Skip to content

PEBS DS bug fix and optimization

[email protected] lkml stable 1 version Applied

Status from this message: The following commit has been merged into the perf/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 0 repliesApplied

Changes in v2 from the cover letter

- Fix a PEBS DS bug which also impacts the existing implementation (new)
- Factor out generic functions for PEBS records processing (Peter)
- Update the description to explain the reason of moving intel_pmu_save_and_restart() related codes to the end and droping the return.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFGarch/x86/events/intel/ds.c+1 -10 replies
2/4perf/x86/intel/ds: Clarify adaptive PEBS processingarch/x86/events/intel/ds.c arch/x86/include/asm/perf_event.h+34 -250 replies
3/4perf/x86/intel/ds: Factor out functions for PEBS records processingarch/x86/events/intel/ds.c+67 -420 replies
4/4perf/x86/intel/ds: Simplify the PEBS records processing for adaptive PEBSarch/x86/events/intel/ds.c+29 -140 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDapeng Mi
1/4
2/4
3/4
4/4R-b

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

Read the v2 thread

Cover letter [PATCH V2 0/4] PEBS DS bug fix and optimization

From: Kan Liang <[email protected]>

Changes since V1:
- Fix a PEBS DS bug which also impacts the existing implementation (new)
- Factor out generic functions for PEBS records processing (Peter)
- Update the description to explain the reason of moving intel_pmu_save_and_restart() related codes to the end and droping the return.

The V1 can be found at
https://lore.kernel.org/lkml/[email protected]/

Kan Liang (4):
perf/x86/intel/ds: Unconditionally drain PEBS DS when changing
PEBS_DATA_CFG
perf/x86/intel/ds: Clarify adaptive PEBS processing perf/x86/intel/ds: Factor out functions for PEBS records processing perf/x86/intel/ds: Simplify the PEBS records processing for adaptive
PEBS

 arch/x86/events/intel/ds.c        | 191 ++++++++++++++++++------------
 arch/x86/include/asm/perf_event.h |  16 ++-
 2 files changed, 128 insertions(+), 79 deletions(-)
Signature · 1 line
2.38.1