rfmvh / perftool-testsuite Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
We already have some coverage for:
event_analyzing_sample
, syscall-counts
and wakeup-latency
. Please. cover the remaining scripts.
For more information, see upstream linux commit 6ef81c55a2b6584cb642917f5fdf3632ef44b670
. In short, add a testcase that verifies that perf c2c report -input
returns non-zero exit code. This could be probably somehow added into base_c2c/test_basic.sh
.
The --switch-output
command line argument for perf record
allows some external control over the perf recording session. Such a test might contain a crafted tracee, that would signal perf
with SIGUSR
and check the perf.data*
results after, i.e.
signal_perf();
do_some_load();
signal_perf();
do_some_other_load();
signal_perf();
If do_some_load()
would be e.g. one third of do_some_other_load()
, we might compare the records and verify that the second one brings more samples, etc. Please add this as a separate test script under base_record
. TIA.
Currently the perftools testsuite depends on PATH env to find perf command.
However, most possible use case of tests is developing phase, like adding new feature or fixing some bugs. In that case, we usually don't install until it can pass the tests.
Thus, the testsuites must run against pre-installed binaries.
So, please add an option to pass PERF_PATH or something like that to make file or run_all command so that user can give the development kernel tree, e.g.
# make PERF_PATH=$HOME/linux/tools/perf/ check
For more information, please refer to upstream linux commit 8af19d66b956401bab1ef24049eec9421be93862
. In short, perf report --header
takes information about the date/time of the measurement/sampling from the perf.data file timestamp. Before the patch, it used last-modification-time, so any filesystem operation with the perf.data file clobbered the correct timestamp. Now we use creation-time, so activities as tar
/untar
should not affect it. Add a testcase to check that the timestamp is still the same even after tar
/untar
-ing the perf.data
file.
Create some tests for perf buildid-cache
command and its functionality.
How to run individual set of tests with out using run_all
.
My main intention is to run a particular set of tests,
Example:
./run base_mem
I don't see any option with make
either.
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.