Age | Commit message (Collapse) | Author |
|
Android enables '-Wall -Werror' compiling parameters by default, as a result
compiling errors are caused in cpuidle and utils, so add '-Wno-error' to disable
this check.
Signed-off-by: Zhengwang Ruan <ruanzw@xiaopeng.com>
|
|
Change-Id: I98a495a9b6750f1ff33b7a6c4c875481e2698070
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|
On glibc, <sys/timex.h> includes <sys/time.h> -- on Bionic, it doesn't,
causing setitimer and gettimeofday to be undeclared
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: Ibc7c1e31720f915be2e3d63ef0e9b7d156bda844
|
|
Current Bionic (including 5.0.x releases) provides timex, but still
not adjtimex
Change-Id: Ice82b5ad98ad94ad8ea241f629944a9e988dffbc
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|
Signed-off-by: Vishal Bhoj <vishal.bhoj@hackbox.linaro.org>
|
|
Signed-off-by: Vishal Bhoj <vishal.bhoj@hackbox.linaro.org>
[Fix minor merge issues so Vishal's patch could apply.]
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
Instead of using a command to check if the user is root,
use the is_root() function to perform that check in the
cpuidle_03.sh script
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
In PM-QA, there are external programs written in C
(e.g. cpuidle_killer, uevent_reader) that run in the background
while some scripts are being executed.
However, remove the extra slash and period when it's not necessary
and create variables to store the path of these programs.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
Remove keywords such as "let", "typeset", and "local" that
are defined in BASH. Also, clean up any unused variables in
the process.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
Remove signals that begin with SIG* since that is considered a
bashism. Use the POSIX-compliant version to list signals to be
used with the trap command.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
'source' is a BASH keyword. Edit the path to the library files by
using the POSIX version of the 'source' keyword.
Also change the interpreter from #!/bin/bash to #!/bin/sh.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
Allow LAVA to record all the skipped test cases including
the ones that will not be executed due to failed
sanity checks. This enhancement will keep the number of PM-QA
results more consistent across multiple platforms.
Fix for Bug #386:
https://bugs.linaro.org/show_bug.cgi?id=386
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
|
|
- execute permission for utils is removed when they are copied to
data/benchmark, moving pmqa to system/bin resolves this issue.
- bug : https://bugs.linaro.org/show_bug.cgi?id=156
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
- fix for bug 152 on Panda, wait for more time for child to finish
- don't wait for child pid for offlined cpus
- bug 152
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
lava searches for result pattern in the same line, adding _Err_
string in timeout case here
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
This reverts commit f698a6736fc105beca5feca8e5f5e4b6c97c41c8.
Removing as this has evolved to idlestat tool
https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/Tools/Idlestat
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
currently percpu process array is set to 2, for cpus >2 test
results in segfault
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
add a basic sanity file which will check for feature support and
will proceed only if feature supported
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
id command option doesn't return same output, as it does for
ubuntu. Add function with will check the system type and return
the userid.
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
use directory test option for cpufreq test and add warning message
for hotplug 07 test
Signed-off-by: Carlos Hernandez <ceh@ti.com>
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
- change the result message for each subtest, so that it won't interfere with lava log
parsing. Report total pass and fail count for tests.
- bug: https://bugs.launchpad.net/linaro-power-qa/+bug/1156614
- change permission in cputopology scripts for execution
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
- pmqa should be on a RW permission partition to function properly. New path
is /data/benchmark/pm-qa
- bug: https://bugs.launchpad.net/linaro-power-qa/+bug/1156610
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
Add functionality to record the current runtime cpuidle statistics
and show the same.
Signed-off-by: Sanjay Singh Rawat <sanjay.rawat@linaro.org>
|
|
run sanity test for each functionality if present.
If functionality enabled, then run all respective
test cases. This patch also adds sanity checks for
cpuidle and sched_mc.
Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
|
|
Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
|
|
Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
|
|
Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
|
|
This patch provides a couple of tests for cpuidle in addition with
a small program which behaves to sollicitate the cpuidle drivers
especially when both cores needs to reach the same C-states.
The program forks as many online processors present on the system
and set the affinity to it. Then it runs, during 120 secs, small
chunks of busy loops and idle loops. When there is something wrong
with the cpuidle driver, this program often triggers the problem which
results in a kernel panic, tasks hung warning or system hang.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
This first test is trivial and check the presence of the cpuidle
files in sysfs.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Add the Makefile rule for cpuidle test cases.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|