Re: [PATCH 0/3] perf/x86/rapl: Enable RAPL for AMD Fam17h

2020-05-18 Thread Jiri Olsa
On Fri, May 15, 2020 at 02:57:30PM -0700, Stephane Eranian wrote: > This patch series adds support for AMD Fam17h RAPL counters. As per > AMD PPR, Fam17h support Package RAPL counters to monitor power usage. > The RAPL counter operates as with Intel RAPL. As such, it is beneficial > to share the

Re: [PATCH 0/3] perf/x86/rapl: Enable RAPL for AMD Fam17h

2020-05-16 Thread Alexander Monakov
On Fri, 15 May 2020, Stephane Eranian wrote: > The series first moves the rapl.c file to common perf_events x86 and then > adds the support. > From the user's point of view, the interface is identical with > /sys/devices/power. The energy-pkg event is the only one supported. AMD also has

[PATCH 0/3] perf/x86/rapl: Enable RAPL for AMD Fam17h

2020-05-15 Thread Stephane Eranian
This patch series adds support for AMD Fam17h RAPL counters. As per AMD PPR, Fam17h support Package RAPL counters to monitor power usage. The RAPL counter operates as with Intel RAPL. As such, it is beneficial to share the code. The series first moves the rapl.c file to common perf_events x86 and