All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] perf: Make tsc testing as a common testing case
@ 2020-10-19 10:02 Leo Yan
  2020-10-19 10:02 ` [PATCH v6 1/2] perf tests tsc: Make tsc testing as a common testing Leo Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Leo Yan @ 2020-10-19 10:02 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, Will Deacon, Peter Zijlstra,
	Ingo Molnar, Mark Rutland, Alexander Shishkin, Jiri Olsa,
	Namhyung Kim, Ian Rogers, Remi Bernon, Nick Gasson,
	Stephane Eranian, Andi Kleen, John Garry, Mathieu Poirier,
	linux-kernel
  Cc: Leo Yan

This patch set is to move tsc testing from x86 specific to common
testing case.  Since Arnaldo found the building failure for patch set
v4 [1], the first four patches have been merged but the last two patches
were left out; this patch set is to resend the last two patches with
fixed the building failure (by removing the header "arch-tests.h" from the
testing code).

These two patches have been tested on x86_64 and Arm64.  Though I don't
test them on archs MIPS, PowerPC, etc, I tried to search every header so
ensure included headers are supported for all archs.

These two patches have been rebased on the perf/core branch with its
latest commit 744aec4df2c5 ("perf c2c: Update documentation for metrics
reorganization").

Changes from v5:
* Found the merging confliction on latest perf/core, so rebased it.

[1] https://lore.kernel.org/patchwork/cover/1305382/#1505752


Leo Yan (2):
  perf tests tsc: Make tsc testing as a common testing
  perf tests tsc: Add checking helper is_supported()

 tools/perf/arch/x86/include/arch-tests.h      |  1 -
 tools/perf/arch/x86/tests/Build               |  1 -
 tools/perf/arch/x86/tests/arch-tests.c        |  4 ----
 tools/perf/tests/Build                        |  1 +
 tools/perf/tests/builtin-test.c               |  5 +++++
 .../{arch/x86 => }/tests/perf-time-to-tsc.c   | 19 +++++++++++++++----
 tools/perf/tests/tests.h                      |  2 ++
 7 files changed, 23 insertions(+), 10 deletions(-)
 rename tools/perf/{arch/x86 => }/tests/perf-time-to-tsc.c (92%)

-- 
2.17.1


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

end of thread, other threads:[~2020-10-20 12:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 10:02 [PATCH v6 0/2] perf: Make tsc testing as a common testing case Leo Yan
2020-10-19 10:02 ` [PATCH v6 1/2] perf tests tsc: Make tsc testing as a common testing Leo Yan
2020-10-19 10:02 ` [PATCH v6 2/2] perf tests tsc: Add checking helper is_supported() Leo Yan
2020-10-20  6:11 ` [PATCH v6 0/2] perf: Make tsc testing as a common testing case Jiri Olsa
2020-10-20 12:09   ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.