This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "oprofile-tests".
The branch, master has been updated
via e2156968ff1a31c2c25dbe473e410cdd2acfedb1 (commit)
from 57f9f5d9111647d52e39b077a025fb209a13440b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e2156968ff1a31c2c25dbe473e410cdd2acfedb1
Author: Carl Love <cel@...>
Date: Wed Sep 26 13:19:39 2012 -0500
OProfile testsuite, add operf support to the testsuite
This patch adds support for the basic testing of the new
operf user interface. It leverages the existing event
tables for the various processors. OProfile has its own
kernel support for the names of the processors. This
information is only available when the OProfile kernel
module is loaded. The operf support gets the CPU name from
the ophelp command instead.
The patch also fixes an error in the existing opcontol testsuite.
Specifically, the test for the string "opcontrol error:" will always
fail because the output from the command does not include the word
"opcontrol". Removed "opcontrol" from the test string.
Added commands to the opcontrol testsuite to make sure the
daemonrc file is removed. This is necessary to ensure there are no
extraneous settings, for example filter settings, that will cause errors.
Trailing blanks on five lines in the existing files were removed.
The testsuit for testing OProfile using the opcontrol interface
has been renamed to oprofile-opcontrol. The new testsuite to
test OProfile using operf is called oprofile-operf. To run both
testsuites, use the testsuite oprofile. Specifically the commands
to run the testsuites are:
runtest --tool oprofile-opcontrol // test opcontrol interface
runtest --tool oprofile-operf // test operf interface
runtest --tool oprofile // test both interfaces
Signed-off-by: Carl Love <cel@...>
-----------------------------------------------------------------------
Summary of changes:
testsuite/README | 31 +++-
testsuite/config/unix.exp | 112 +++++++---
testsuite/lib/op_events.exp | 4 +-
testsuite/lib/op_util.exp | 14 ++
testsuite/lib/operf_util.exp | 234 ++++++++++++++++++++
.../oprofile-opcontrol-run.exp} | 31 +++-
testsuite/oprofile-operf/oprofile-operf-run.exp | 181 +++++++++++++++
7 files changed, 560 insertions(+), 47 deletions(-)
create mode 100644 testsuite/lib/operf_util.exp
rename testsuite/{oprofile/oprofile-run.exp => oprofile-opcontrol/oprofile-opcontrol-run.exp} (87%)
create mode 100644 testsuite/oprofile-operf/oprofile-operf-run.exp
hooks/post-receive
--
oprofile-tests