[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211111084621.GC106401@leoy-ThinkPad-X240s>
Date: Thu, 11 Nov 2021 16:46:21 +0800
From: Leo Yan <leo.yan@...aro.org>
To: German Gomez <german.gomez@....com>,
Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
John Garry <john.garry@...wei.com>,
Will Deacon <will@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 0/3] perf arm-spe: Add snapshot mode support
Hi Arnaldo,
On Tue, Nov 09, 2021 at 04:30:06PM +0000, German Gomez wrote:
> This patchset adds snapshot mode support for arm-spe.
>
> - [PATCH 1/3] implements the minimal callbacks to support recording in
> snapshot mode.
> - [PATCH 2/3] implements the find_snapshot callback in order to handle
> wrap-arounds in the AUX buffer.
> - [PATCH 3/3] adds a test for spe snapshot mode.
I have verified this patch set on Hisilicon D06 board, please consider
to pick up:
root@...ntu:/home/leoy/linux/tools/perf# ./perf test -v 85
85: Check Arm SPE trace data recording and synthesized samples :
--- start ---
test child forked, pid 17083
Recording trace with snapshot mode /tmp/__perf_test.perf.data.MI2iX
Looking at perf.data file for dumping samples:
Looking at perf.data file for reporting samples:
SPE snapshot testing: PASS
test child finished with 0
---- end ----
Check Arm SPE trace data recording and synthesized samples: Ok
BTW, you could see German has another patch set for enabling pid/tid
for Arm SPE tracing [1]. I confirmed that the pid/tid patch set and
current patch set have no conflit, and don't need worry the dependency
between these two patch sets (so you could apply two patch sets in any
ordering).
Thanks,
Leo
[1] https://lore.kernel.org/lkml/20211111072714.GB102075@leoy-ThinkPad-X240s/T/#m932fd26d54278208331d4e3c32597cf63b6d4341
Powered by blists - more mailing lists