summaryrefslogtreecommitdiff
path: root/ubuntu
diff options
context:
space:
mode:
authorYogesh Tillu <yogesh.tillu@linaro.org>2015-08-11 18:26:32 +0530
committerYogesh Tillu <yogesh.tillu@linaro.org>2015-09-24 16:46:50 +0530
commit33d4e18e2daff630629aa9e63154182727be4dd7 (patch)
tree876d2fb78692f6a0c19cef518129b6d9deefe6c8 /ubuntu
parent8eb85db968f297f2ec0e212340fbb8d1722f28e6 (diff)
downloadtest-definitions-pipe-33d4e18e2daff630629aa9e63154182727be4dd7.tar.gz
perf-mmap-tests: Added CI test codebase for perf-mmap.
perf-mmap testsuite is consist of two test cases. perf_ev_open: perf hw counters are access/benchmark with open/read syscall. perf_rc_mmap: perf hw counters are access/benchmark with open/mmap way. Change-Id: Ic37a73938aec2d08a3758c3440a9b08978cef507 Signed-off-by: Yogesh Tillu <yogesh.tillu@linaro.org>
Diffstat (limited to 'ubuntu')
-rw-r--r--ubuntu/perf-mmap.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/ubuntu/perf-mmap.yaml b/ubuntu/perf-mmap.yaml
new file mode 100644
index 0000000..391dc6b
--- /dev/null
+++ b/ubuntu/perf-mmap.yaml
@@ -0,0 +1,34 @@
+metadata:
+ name: perf-mmap-test
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Perf-mmap-test is testsuite for showing benchmarks for accessing perf hw counters from userspace with traditional way by using read syscall, and mmap way"
+ maintainer:
+ - yogesh.tillu@linaro.org
+ os:
+ - ubuntu
+ scope:
+ - performance
+ devices:
+ - juno
+
+install:
+ deps:
+ - build-essential
+ - linux-libc-dev
+ git-repos:
+ - url: https://git.linaro.org/qa/perfcounter_access_test.git
+ steps:
+ - "cd perfcounter_access_test"
+ - "make install MAX_DELAY=1"
+
+params:
+ BUSYLOOP: 64
+ COUNTER: "0 1 2 3 5 9"
+ CPU: "0 1"
+
+run:
+ steps:
+ - 'for core in $CPU; do \'
+ - 'echo "Tests Executing on CPU $core"; \'
+ - 'taskset -c $core ./common/scripts/perf-mmaptest.sh ${BUSYLOOP} "$COUNTER" $core; \'
+ - 'done'