1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-07-03 13:43:31 +01:00
Commit Graph

498 Commits

Author SHA1 Message Date
e6ae9ecc51 Merge pull request from ep1cman/bbench_fix
revent: Added record and replay commands
2016-01-22 12:55:16 +00:00
73ddc205fc geekbench: fixing root check
- negating the check (error if *not* rooted)
- do not check for version 2 (results are extracted differently and that
  does not require root).
2016-01-22 10:43:01 +00:00
1e6eaff702 revent: Added record and replay commands
Added two commands to WA to record and replay input events using revent.

As part of this also added the ability to get a device model from
android and linux device. This may need to be improved in the future.
2016-01-22 10:40:03 +00:00
78d49ca8ae Merge pull request from ep1cman/fixes
Fixes
2016-01-22 10:33:41 +00:00
f4c89644ff geekbench: Added check whether device is rooted 2016-01-22 09:39:49 +00:00
798a7befb8 pylint fixes 2016-01-22 09:39:29 +00:00
6a388ffc71 Merge pull request from ep1cman/bbench_fix
bbench fix
2016-01-20 16:57:10 +00:00
82df73278e recentfling: Fixed inequality 2016-01-20 16:31:27 +00:00
68a39d7fa1 bbench: Fix for web browser crash on latest Linaro release
Also fixes browser permissions issues on Android 6+
2016-01-20 16:29:38 +00:00
120f0ff94f Merge pull request from ep1cman/binary_install
BaseLinuxDevice: Tidied up the way binaries are handled
2016-01-19 10:52:54 +00:00
f47ba6fea6 ebizzy: changed os.path to device path 2016-01-19 10:45:09 +00:00
5f8da66322 antutu: Fixed runtime permissions
Antutu 6 lists corse_location as a requirement but also asks for
fine_location at runtime. So it is now manually beign granted.
2016-01-19 10:45:09 +00:00
67213d471b BaseLinuxDevice: documentation update
Added docs explaining how extension developers should deploy binaries.
2016-01-19 10:45:09 +00:00
7c35c604f4 BaseLinuxDevice: Tidied up the way binaries are handled
Added:
get_binary_path: Checks binary_directory for the wanted binary, if
                 if its not there, it will use which to find a
                 system one. returns the full path

install_if_needed: will install a binary only if it is not present.

Changes:
 - Busybox is now deployed to non-rooted devices
 - is_installed has now been removed as the new functions supersede it
 - binaries will now always be installed to `binaries_directory` and
   not system folders.
 - updated workloads to use these new functions
   - rt-app and sysbench might still need work
2016-01-19 10:45:09 +00:00
c11cc7d0d2 trace-cmd: do not error on missing host-side trace-cmd when report_on_target is set
When report_on_target option is set, binary trace will be "reported"
into a text version on the target device. This removes the need for
trace-cmd to be installed on the host, in which case that should not be
reported as an error.
2016-01-18 11:53:06 +00:00
89f1e7b6e5 Merge pull request from chase-qi/add-io-scheduler-test
applaunch: Added support for IO scheduler test
2016-01-15 10:29:07 +00:00
bd826783cc applaunch: Added support for IO scheduler test
When IO is heavily loaded, the impact of IO schedulers on App launch
time varies. To measure the impact, added io_stress and io_scheduler two
parameters and related jinja2 blocks.

Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-01-15 02:16:35 -08:00
0fb867e7c6 Merge pull request from bjackman/apklaunch
workloads: Add apklaunch workload
2016-01-14 16:00:53 +00:00
6b3187c2c9 workloads: Add apklaunch workload
This is a workload to install and run an arbitrary .apk
2016-01-14 15:58:26 +00:00
75ce620e6b Merge pull request from ep1cman/get_pid_fix
AndroidDevice: fixed get_pids_of
2016-01-13 17:15:12 +00:00
d9c4063307 AndroidDevice: fixed get_pids_of
As of Android M ps can no longer filter by process name. This is
now handled using grep from busybox
2016-01-13 17:07:30 +00:00
5f2b25532b Merge pull request from chase-qi/fix-applaunch-cleanup
applaunch: pass cleanup argument to the template
2016-01-13 08:20:53 +00:00
0998c18efd applaunch: pass cleanup argument to the template
Since cleanup test block is defined in the device_script.template, the
value of cleanup is needed to render the template properly.

Signed-off-by: Chase Qi <chase.qi@linaro.org>
2016-01-12 18:20:22 -08:00
9eeeaf02ad Merge pull request from setrofim/master
juno: fixing a stupid error in u-boot boot path
2016-01-12 15:14:14 +00:00
df937dc847 juno: fixing a stupid error in u-boot boot path
Juno's bootargs parameter specifies the kernel boot arguments as a
sigle string. However, when it is passed into _boot_via_uboot, it was
expanded as a mapping, causing an error. This fixes that boneheaded
mistake...
2016-01-12 15:00:25 +00:00
1ef7bb4e93 Merge pull request from ep1cman/ipython4
ipython: Updated to work with the latest ipython version
2016-01-12 14:37:37 +00:00
41890589e1 ipython: Updated to work with the latest ipython version 2016-01-12 10:59:52 +00:00
a0cd66ed45 Merge pull request from setrofim/master
trace_cmd: updated to handle empty CPUs.
2016-01-12 10:16:27 +00:00
b84f97a902 trace_cmd: updated to handle empty CPUs.
Updated trace-cmd parser to handle messages that the trace for a CPU is
empty.
2016-01-12 10:12:00 +00:00
ffc3fcef67 Merge pull request from ep1cman/antutu6
Antutu6
2016-01-11 16:12:40 +00:00
09563bc01e antutu: Updated to support Antutu v6 2016-01-11 14:37:32 +00:00
f1bb44b3e7 ApkWorkload: Added automatic granting of runtime permissions
As of Android 6.0, apps can request permissions at runtime. If the
target device is running Android 6.0+ these permissions are now automatically
granted.
2016-01-11 13:58:38 +00:00
1085c715c2 Merge pull request from setrofim/master
juno_energy: add metrics to results and "strict" parameter
2016-01-07 11:11:58 +00:00
c105e8357c juno_energy: add metrics to results and "strict" parameter
- Summary metrics are now calculated from the contents of energy.csv and
  added to the overall results.
- Added a new "strict" parameter. If this is set to False, the device
  check during validation is omitted.
2016-01-07 11:09:00 +00:00
dc1b0e629e ipynb_exporter: default template no longer shows a blank plot for workloads without summary_metrics 2015-12-15 17:18:25 +00:00
62a0fd70de daq: fixed typo 2015-12-15 09:54:21 +00:00
438e18328d AndroidDevice: remove unnecessary escapes from update locksettings command
The single quotes will be escaped further down the command processing
chain.
2015-12-15 09:52:46 +00:00
57b31149f1 Merge pull request from ep1cman/daq_fix
daq: Fixed bug where an exception would be raised if merge_channles=False
2015-12-15 09:43:23 +00:00
09390e7ffb daq: Fixed bug where an exception would be raised if merge_channles=False 2015-12-15 09:39:28 +00:00
e83d021a5c utils/android: fixed use of variables in as_root=True commands.
In order to execute as root, the command string gets echo'd into so;
previusly, double quotes were used in echo, which caused any veriables
in the command string to be expanded _before_ it was echoed.
2015-12-15 08:34:18 +00:00
bca012fccb csv: handle zero-value classifiers correctly
If the value of a classifier was zero (or any other value that
interprets as boolean False), it used to be coverted to an empty entry.
This makes sure that the value gets correctly ropagated.
2015-12-15 08:30:53 +00:00
bb37c31fed perf: added support for per-cpu statistics
per-cpu statistics now get added as metrics to the results (with
a classifier used to identify the cpu).
2015-12-11 14:01:04 +00:00
0005f927e8 pep8 2015-12-11 14:01:04 +00:00
9222257d79 Merge pull request from ep1cman/recentfling
Recentfling
2015-12-11 11:06:45 +00:00
585d8b2d7d recentfling: Added workload 2015-12-11 11:02:25 +00:00
d3470dca73 AndroidDevice: Fixed swipe_to_unlock
Previously swipe_to_unlock was not used and conflicted with a method
of the same name.

 - swipe_to_unlock() renamed perform_unlock_swipe()
 - swipe_to_unlock parameter now takes a direction, this allows swipe unlocking on Android M devices
 - ensure_screen_is_on() will now also unlock the screen if swipe_to_unlock is set
2015-12-11 10:58:32 +00:00
0f60e9600f trace_cmd: parser for sched_switch events and fixes
- Compiled regular expressions in EVENT_PARSER_MAP now get handled
  correctly.
- regex_body_parser now attemts to convert field values to ints,
  bringing it inline with the default parser behavior.
- There is now a regex for sched_switch events.
2015-12-10 13:41:24 +00:00
6a85dff94f pylint: addtional fix
further to bef8fb40ef
2015-12-10 13:39:28 +00:00
aae88b8be4 Merge pull request from Sticklyman1936/gem5_fixes
gem5 fixes and one AndroidDevice fix
2015-12-10 13:31:57 +00:00
72a617c16d Gem5Device: Remove the rename in pull_file to align with gem5 2015-12-10 11:09:42 +00:00