Skip to content

perf/amd/uncore: Support user core/thread and slice specification

Kim Phillips lkml 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. v1 Latest4 patches 0 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4perf/amd/uncore: Prepare to scale for more attributes that vary per familyarch/x86/events/amd/uncore.c+61 -500 replies
2/4perf/amd/uncore: Allow F17h user threadmask and slicemask specificationarch/x86/events/amd/uncore.c+16 -70 replies
3/4perf/amd/uncore: Allow F19h user coreid, threadmask, and sliceid specificationarch/x86/events/amd/uncore.c+32 -50 replies
4/4perf/amd/uncore: Inform the user how many counters each uncore PMU hasarch/x86/events/amd/uncore.c+7 -60 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/4] perf/amd/uncore: Support user core/thread and slice specification

Add support for AMD's uncore L3 PMUs to count events by core/thread and/or by L3 slice.

The first patch rewrites most of the initial F17h support to enhance readability and to prepare for the new upcoming attributes.

The second patch adds support for F17h's threadmask and slicemask.

The third patch adds support for F19h's threadmask, coreid, sliceid, enallcores, and enallslices. F19h hardware can only count one core or slice, or all of them at one time.

The last patch makes the driver's dmesg output more useful.

Cc Alexander Shishkin <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Michael Petlan <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Thomas Gleixner <[email protected]>

Kim Phillips (4):
perf/amd/uncore: Prepare to scale for more attributes that vary per
family
perf/amd/uncore: Allow F17h user threadmask and slicemask
specification
perf/amd/uncore: Allow F19h user coreid, threadmask, and sliceid
specification
perf/amd/uncore: Inform the user how many counters each uncore PMU has

 arch/x86/events/amd/uncore.c | 174 ++++++++++++++++++++++-------------
 1 file changed, 111 insertions(+), 63 deletions(-)
Signature · 1 line
2.27.0