summaryrefslogtreecommitdiff
path: root/ubuntu/perf.yaml
blob: e8d843862a3d6c1fa9fc87c50c63e9b6a16f7df9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
metadata:
    name: perf
    format: "Lava-Test-Shell Test Definition 1.0"
    description: "Perf is a profiler tool for Linux and is used to collect and analyze performance and trace data.
                  This test runs following perf commands: record(record events for later reporting), report(break
                  down events by process, function, etc), stat(obtain event counts) and test(Run sanity tests)."
    maintainer:
        - milosz.wasilewski@linaro.org
    os:
        - ubuntu
    scope:
        - performance
    devices:
        - panda
        - panda-es
        - vexpress-tc2
        - vexpress-a9
        - beaglebone-black
        - ifc6410
        - juno

install:
    deps:
        - linux-tools-3.16
        # perf complains for missing stress symbols but there is no package available
        - stress
    steps:
        - ln -s /usr/bin/perf_3.16 /usr/bin/perf

run:
    steps:
        - ./common/scripts/run-perf-test.sh

parse:
    pattern: "^(?P<test_case_id>[\\w\\s\\'\\,\\:\\*\\&\\>\\-]+)\\s:\\s(?P<result>pass|fail|skip)$"