linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* A patch series improving data quality of perf test for CoreSight
@ 2022-07-12 13:57 carsten.haitzler
  2022-07-12 13:57 ` [PATCH 01/14] perf test: Refactor shell tests allowing subdirs carsten.haitzler
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: carsten.haitzler @ 2022-07-12 13:57 UTC (permalink / raw)
  To: linux-kernel
  Cc: coresight, suzuki.poulose, mathieu.poirier, mike.leach, leo.yan,
	linux-perf-users, acme

This is a prelude to adding more tests to shell tests and in order to
support putting those tests into subdirectories, I need to change the
test code that scans/finds and runs them.

To support subdirs I have to recurse so it's time to refactor the code to
allow this and centralize the shell script finding into one location and
only one single scan that builds a list of all the found tests in memory
instead of it being duplicated in 3 places.

This code also optimizes things like knowing the max width of desciption
strings (as we can do that while we scan instead of a whole new pass
of opening files). It also more cleanly filters scripts to see only
*.sh files thus skipping random other files in directories like *~
backup files, other random junk/data files that may appear and the
scripts must be executable to make the cut (this ensures the script
lib dir is not seen as scripts to run). This avoids perf test running
previous older versions of test scripts that are editor backup files
as well as skipping perf.data files that may appear and so on.

Signed-off-by: Carsten Haitzler <carsten.haitzler@arm.com>



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Patch series to add to and imporve tests for CoreSight
@ 2022-07-01 12:07 carsten.haitzler
  2022-07-01 12:07 ` [PATCH 08/14] perf test: Add memcpy thread test shell script carsten.haitzler
  0 siblings, 1 reply; 26+ messages in thread
From: carsten.haitzler @ 2022-07-01 12:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: coresight, suzuki.poulose, mathieu.poirier, mike.leach, leo.yan,
	linux-perf-users, acme

This improves how perf test handles finding shell scripts to run as
part of the testing allowing sub-directories, skipping files that
are not intentional shell script tests and then adds a set of tests
that improve what we cover for Arm CoreSight testing. The goal of
these tests is to expand the scenarios and data traced and examined
to track quality of trace data and improvements to that over time.

Eventually it'd be neater to break up the current Arm CoreSight tests
into smaller focused tests that share the same infrastructure, but
this here would be a first step.



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-07-19  9:07 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 13:57 A patch series improving data quality of perf test for CoreSight carsten.haitzler
2022-07-12 13:57 ` [PATCH 01/14] perf test: Refactor shell tests allowing subdirs carsten.haitzler
2022-07-13  6:53   ` Leo Yan
2022-07-13  6:58     ` Leo Yan
2022-07-12 13:57 ` [PATCH 02/14] perf test: Add CoreSight shell lib shared code for future tests carsten.haitzler
2022-07-13  7:23   ` Leo Yan
2022-07-13 12:49   ` Mike Leach
2022-07-12 13:57 ` [PATCH 03/14] perf test: Add build infra for perf test tools for CoreSight tests carsten.haitzler
2022-07-12 13:57 ` [PATCH 04/14] perf test: Add asm pureloop test tool carsten.haitzler
2022-07-12 13:57 ` [PATCH 05/14] perf test: Add asm pureloop test shell script carsten.haitzler
2022-07-12 13:57 ` [PATCH 06/14] perf test: Add git ignore for perf data generated by the CoreSight tests carsten.haitzler
2022-07-12 13:57 ` [PATCH 07/14] perf test: Add memcpy thread test tool carsten.haitzler
2022-07-12 13:57 ` [PATCH 08/14] perf test: Add memcpy thread test shell script carsten.haitzler
2022-07-12 13:57 ` [PATCH 09/14] perf test: Add thread loop test tool carsten.haitzler
2022-07-12 13:57 ` [PATCH 10/14] perf test: Add thread loop test shell scripts carsten.haitzler
2022-07-12 13:57 ` [PATCH 11/14] perf test: Add unroll thread test tool carsten.haitzler
2022-07-12 13:57 ` [PATCH 12/14] perf test: Add unroll thread test shell script carsten.haitzler
2022-07-12 13:57 ` [PATCH 13/14] perf test: Add git ignore for tmp and output files of CoreSight tests carsten.haitzler
2022-07-12 13:57 ` [PATCH 14/14] perf test: Add relevant documentation about CoreSight testing carsten.haitzler
2022-07-13  5:23 ` A patch series improving data quality of perf test for CoreSight Leo Yan
2022-07-13  8:14 ` Suzuki K Poulose
2022-07-19  9:07 ` James Clark
  -- strict thread matches above, loose matches on Subject: below --
2022-07-01 12:07 Patch series to add to and imporve tests " carsten.haitzler
2022-07-01 12:07 ` [PATCH 08/14] perf test: Add memcpy thread test shell script carsten.haitzler
2022-07-05 14:25   ` James Clark
2022-07-05 14:28     ` James Clark
2022-07-08  9:19     ` Carsten Haitzler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).