[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <200b08cf-bdae-3d14-011e-fe2ae8173926@linux.intel.com>
Date: Fri, 13 May 2022 11:19:24 -0400
From: "Liang, Kan" <kan.liang@...ux.intel.com>
To: Ian Rogers <irogers@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Riccardo Mancini <rickyman7@...il.com>,
Kim Phillips <kim.phillips@....com>,
Madhavan Srinivasan <maddy@...ux.ibm.com>,
Shunsuke Nakamura <nakamura.shun@...itsu.com>,
Florian Fischer <florian.fischer@...q.space>,
Andi Kleen <ak@...ux.intel.com>,
John Garry <john.garry@...wei.com>,
Zhengjun Xing <zhengjun.xing@...ux.intel.com>,
Adrian Hunter <adrian.hunter@...el.com>,
James Clark <james.clark@....com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH v2 0/2] Fix topdown event weak grouping
On 5/13/2022 10:25 AM, Liang, Kan wrote:
>
>
> On 5/12/2022 2:13 AM, Ian Rogers wrote:
>> Keep topdown events within a group when a weak group is broken. This
>> is a requirement as topdown events must form a group.
>>
>> Add perf stat testing including for required topdown event group
>> behaviors.
>>
>> Note: as with existing topdown evsel/evlist code topdown events are
>> assumed to be on the PMU "cpu". On Alderlake the PMU "cpu_core" should
>> also be tested. Future changes can fix Alderlake.
>
> I will send a follow-up patch to fix the weak grouping for the hybrid
> platform shortly.
>
Here it is.
https://lore.kernel.org/all/20220513151554.1054452-1-kan.liang@linux.intel.com/
Thanks,
Kan
> For the non-hybrid platform, the patch set looks good to me.
>
> Reviewed-by: Kan Liang <kan.liang@...ux.intel.com>
>
> Thanks,
> Kan
>
>>
>> v2. Correct behavior wrt pmu prefixed events and avoid the test using
>> deprecated events: Suggested-by: Liang, Kan
>> <kan.liang@...ux.intel.com>
>>
>> Ian Rogers (2):
>> perf evlist: Keep topdown counters in weak group
>> perf test: Add basic stat and topdown group test
>>
>> tools/perf/arch/x86/util/evsel.c | 12 ++++++
>> tools/perf/tests/shell/stat.sh | 67 ++++++++++++++++++++++++++++++++
>> tools/perf/util/evlist.c | 16 +++++++-
>> tools/perf/util/evsel.c | 10 +++++
>> tools/perf/util/evsel.h | 3 ++
>> 5 files changed, 106 insertions(+), 2 deletions(-)
>> create mode 100755 tools/perf/tests/shell/stat.sh
>>
Powered by blists - more mailing lists