From: Matt Fleming <matt@codeblueprint.co.uk>
To: Arnaldo Carvalho de Melo <acme@redhat.com>,
Jiri Olsa <jolsa@redhat.com>, Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, Andi Kleen <andi@firstfloor.org>,
Vince Weaver <vince@deater.net>,
Peter Zijlstra <peterz@infradead.org>,
Kanaka Juvva <kanaka.d.juvva@intel.com>,
Vikas Shivappa <vikas.shivappa@intel.com>,
Matt Fleming <matt.fleming@intel.com>
Subject: [PATCH 0/3] perf tests: Add arch tests
Date: Sat, 5 Sep 2015 20:02:19 +0100 [thread overview]
Message-ID: <1441479742-15402-1-git-send-email-matt@codeblueprint.co.uk> (raw)
From: Matt Fleming <matt.fleming@intel.com>
To encourage developers to contribute arch-specific tests without
feeling guilty about messing up the generic perf tests, this patch
series introduces "arch tests" and then adds a test for the Intel CQM
perf code which was used to trigger a WARN_ON_ONCE(), fixed in commit
2c534c0da0a6 ("perf/x86/intel/cqm: Return cached counter value from
IRQ context").
The concept of additional lists of tests, like the arch tests, can be
taken further in the future, for instance Arnaldo has expressed
interest in adding tests that require root permissions, etc.
The patch series is based on tip/perf/core.
The original patch that inspired this series can be found here,
https://lkml.kernel.org/r/1437561539-27939-1-git-send-email-matt@codeblueprint.co.uk
Matt Fleming (3):
perf tests: Introduce iterator function for tests
perf tests: Add arch tests
perf tests: Add Intel CQM test
tools/perf/arch/x86/Build | 2 +-
tools/perf/arch/x86/include/arch-tests.h | 18 +++
tools/perf/arch/x86/tests/Build | 9 +-
tools/perf/arch/x86/tests/arch-tests.c | 28 +++++
tools/perf/arch/x86/tests/dwarf-unwind.c | 1 +
tools/perf/arch/x86/tests/intel-cqm.c | 124 +++++++++++++++++++
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 163 ++++++++++++++++++++++++
tools/perf/arch/x86/tests/rdpmc.c | 174 ++++++++++++++++++++++++++
tools/perf/tests/Build | 3 -
tools/perf/tests/builtin-test.c | 76 ++++++------
tools/perf/tests/dwarf-unwind.c | 4 +
tools/perf/tests/perf-time-to-tsc.c | 162 ------------------------
tools/perf/tests/rdpmc.c | 177 ---------------------------
tools/perf/tests/tests.h | 9 +-
14 files changed, 562 insertions(+), 388 deletions(-)
create mode 100644 tools/perf/arch/x86/include/arch-tests.h
create mode 100644 tools/perf/arch/x86/tests/arch-tests.c
create mode 100644 tools/perf/arch/x86/tests/intel-cqm.c
create mode 100644 tools/perf/arch/x86/tests/perf-time-to-tsc.c
create mode 100644 tools/perf/arch/x86/tests/rdpmc.c
delete mode 100644 tools/perf/tests/perf-time-to-tsc.c
delete mode 100644 tools/perf/tests/rdpmc.c
--
2.1.0
next reply other threads:[~2015-09-05 19:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-05 19:02 Matt Fleming [this message]
2015-09-05 19:02 ` [PATCH 1/3] perf tests: Introduce iterator function for tests Matt Fleming
2015-09-07 12:36 ` Jiri Olsa
2015-09-15 7:00 ` [tip:perf/core] " tip-bot for Matt Fleming
2015-09-05 19:02 ` [PATCH 2/3] perf tests: Add arch tests Matt Fleming
2015-09-07 12:23 ` Jiri Olsa
2015-09-12 11:00 ` Matt Fleming
2015-09-07 12:28 ` Jiri Olsa
2015-09-12 11:03 ` Matt Fleming
2015-09-07 12:29 ` Jiri Olsa
2015-09-12 11:04 ` Matt Fleming
2015-09-05 19:02 ` [PATCH 3/3] perf tests: Add Intel CQM test Matt Fleming
2015-09-07 12:58 ` [PATCH 0/3] perf tests: Add arch tests Jiri Olsa
2015-09-08 14:24 ` Arnaldo Carvalho de Melo
2015-09-12 10:46 ` Matt Fleming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441479742-15402-1-git-send-email-matt@codeblueprint.co.uk \
--to=matt@codeblueprint.co.uk \
--cc=acme@redhat.com \
--cc=andi@firstfloor.org \
--cc=jolsa@redhat.com \
--cc=kanaka.d.juvva@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=vikas.shivappa@intel.com \
--cc=vince@deater.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®