This CL adds a bsaic test suite for the perfmon2 API of kernel 2.6.26 and higher
using the perfmon v2.X API (X>=8).
The package includes a snapshot of libfm which is needed by some of the tests. A
s such the suite is self-contained.
If perfmon2 is not present in the test kernel, all tests will be skipped.
The tests must be run as root. All tests are functional tests, they do no try to
verify whether a count is valid for
the workload. The tests are agnostic to the underlying hardware. As such they do
not check model specific features, e.g.,
PEBS on Intel processors. Overall there are about 60 tests in the suite coverin
g most API calls. They check counting,
sampling with and without a kernel buffer, multiplexing, per-thread and system-w
ide contexts.
The suite is entirely contained in the perfmon-tests-0.1.tar.gz tarball.
From: Stephane Eranian <eranian@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@2476 592f7852-d20e-0410-864c-8624ca9c26a4
3 files changed