- python3-pandas
- python3-numpy
git-repos:
- - url: https://github.com/frdeso/syscall-bench-it.git
- destination: /tmp/benchmarks
- branch: master
- url: https://github.com/lttng/lttng-ci
destination: ci
branch: master
run:
steps:
- source /root/lttngvenv/activate
- - cd /tmp/benchmarks
+ - export BENCHMARK_DIR=$(mktemp --directory)/bm
+ - git clone https://github.com/frdeso/syscall-bench-it.git $BENCHMARK_DIR
+ - cd $BENCHMARK_DIR
- lava-test-case build-benchmarks --shell "make"
- lava-test-case run-benchmarks --shell "./run.sh raw-syscall-getpid sys_getpid"
- lava-test-case-attach run-benchmarks "./results.csv"
- cd -
- cd ci
- - python3 ./scripts/lttng-baremetal-tests/parse-results.py /tmp/benchmarks/results.csv
+ - python3 ./scripts/lttng-baremetal-tests/parse-results.py $BENCHMARK_DIR/results.csv
- mv ./processed_results.csv ../processed_results_raw_syscall_getpid.csv
- cd -
- tar czf coredump.tar.gz coredump