6d6e96dce2cee6819c86f203ca745dd431ab74fb
[lttng-ci.git] / lava / baremetal-tests / raw-syscall-getpid.yml
1 metadata:
2 format: Lava-Test Test Definition 1.0
3 name: benchmark-raw-syscall-getpid
4 description: "Perform syscall tracing benchmark of the raw syscall getpid"
5 params:
6 JENKINS_JOBNAME: "default jobname"
7
8 install:
9 deps:
10 - python3-pandas
11 - python3-numpy
12 git-repos:
13 - url: https://github.com/frdeso/syscall-bench-it.git
14 destination: /tmp/benchmarks
15 branch: master
16 - url: https://github.com/lttng/lttng-ci
17 destination: ci
18 branch: master
19 steps:
20 - export TMPDIR="/tmp"
21 - ulimit -c unlimited
22 - mkdir -p coredump
23 - echo "$(pwd)/coredump/core.%e.%p.%h.%t" > /proc/sys/kernel/core_pattern
24 run:
25 steps:
26 - source /root/lttngvenv/activate
27 - cd /tmp/benchmarks
28 - lava-test-case build-benchmarks --shell "make"
29 - lava-test-case run-benchmarks --shell "./run.sh raw-syscall-getpid sys_getpid"
30 - lava-test-case-attach run-benchmarks "./results.csv"
31 - cd -
32 - cd ci
33 - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv
34 - mv ./processed_results.csv ../processed_results_raw_syscall_getpid.csv
35 - cd -
36 - tar czf coredump.tar.gz coredump
37 - lava-test-case-attach run-benchmarks coredump.tar.gz
38 - lava-test-case-attach run-benchmarks "./processed_results_raw_syscall_getpid.csv"
This page took 0.03034 seconds and 3 git commands to generate.