[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201020061159.GB2084117@krava>
Date: Tue, 20 Oct 2020 08:11:59 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Leo Yan <leo.yan@...aro.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Namhyung Kim <namhyung@...nel.org>,
Ian Rogers <irogers@...gle.com>,
Remi Bernon <rbernon@...eweavers.com>,
Nick Gasson <nick.gasson@....com>,
Stephane Eranian <eranian@...gle.com>,
Andi Kleen <ak@...ux.intel.com>,
John Garry <john.garry@...wei.com>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 0/2] perf: Make tsc testing as a common testing case
On Mon, Oct 19, 2020 at 06:02:34PM +0800, Leo Yan wrote:
> 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()
Acked-by: Jiri Olsa <jolsa@...hat.com>
thanks,
jirka
>
> 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
>
Powered by blists - more mailing lists