Skip to content

Commit

Permalink
Allow non-root users to use perf
Browse files Browse the repository at this point in the history
Currently the TAU tests fail with: # TAU: Error: Counter PAPI_LD_INS is not available!

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Jul 19, 2023
1 parent adb0573 commit 13e43d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
components/perf-tools/likwid/SPECS/likwid.spec
container:
image: docker.io/library/rockylinux:9
options: --privileged
options: --privileged --sysctl kernel.perf_event_paranoid=-1
needs: build_on_rhel
steps:
- name: Install git
Expand Down Expand Up @@ -137,6 +137,7 @@ jobs:
name: Build on openEuler
container:
image: docker.io/openeuler/openeuler:22.03-lts
options: --privileged --sysctl kernel.perf_event_paranoid=-1
steps:
- name: Switch repo
run: sed -i "[email protected]@repo.huaweicloud.com/openeuler@g" /etc/yum.repos.d/openEuler.repo
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
name: Test on openEuler
container:
image: docker.io/openeuler/openeuler:22.03-lts
options: --privileged --sysctl kernel.perf_event_paranoid=-1
needs: build_on_openEuler
steps:
- name: Switch repo
Expand Down Expand Up @@ -228,6 +230,7 @@ jobs:
name: Test on LEAP
container:
image: registry.opensuse.org/opensuse/leap:15.4
options: --privileged --sysctl kernel.perf_event_paranoid=-1
needs: build_on_leap
steps:
- name: Install git
Expand Down

0 comments on commit 13e43d7

Please sign in to comment.