Hi all,
On Thu, Jun 11, 2020 at 05:09:51PM +0800, Leo Yan wrote:
We need a simple method to test Perf with Arm CoreSight drivers, this could be used for smoke testing when new patch is coming for perf or CoreSight drivers, and we also can use the test to confirm if the CoreSight has been enabled successfully on new platforms.
Since LKFT is planning to integrate CoreSight testing for mainline kernel, so this patch should be upstreamed to mainline kernel so it will be easier for LKFT related enabling.
This patch is updated to follow up the new CoreSight SysFS layout:
/sys/bus/coresight/devices/etmX/connections/out:X/connections/out:X ...
And this patch is rebased on Mike's patch 'perf: cs-etm: Allow no CoreSight sink to be specified on command line', it uses the default sink for two extra testings: CPU wide and snapshot testing.
After Mike's patch for default sink has been sent to LKML, I will send this patch to LKML (and with explanation to describe its dependency).
Welcome comments and suggestions!
Thanks, Leo