From 33d4e18e2daff630629aa9e63154182727be4dd7 Mon Sep 17 00:00:00 2001 From: Yogesh Tillu Date: Tue, 11 Aug 2015 18:26:32 +0530 Subject: 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 --- ubuntu/perf-mmap.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 ubuntu/perf-mmap.yaml (limited to 'ubuntu') 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' -- cgit v1.2.3