Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Jul 25, 2024
1 parent dc6a345 commit fc80115
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/composite-perf/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ runs:
cd build
wget https://download.falco.org/fixtures/trace-files/traces-positive.zip
unzip traces-positive.zip
df -h | grep tmpfs
mv traces-positive/falco-event-generator.scap /run/user/$(id -u)/falco-event-generator.scap
mkdir /dev/shm/${{ github.run_id }}
mv traces-positive/falco-event-generator.scap /dev/shm/${{ github.run_id }}/falco-event-generator.scap
- name: Run - perf unit tests
shell: bash
Expand All @@ -51,7 +51,7 @@ runs:
shell: bash
run: |
cd build
sudo nice ionice -c 1 -n 0 perf record --call-graph dwarf -o perf_scap.data -q ./libsinsp/examples/sinsp-example -s /run/user/$(id -u)/falco-event-generator.scap
sudo nice ionice -c 1 -n 0 perf record --call-graph dwarf -o perf_scap.data -q ./libsinsp/examples/sinsp-example -s /dev/shm/${{ github.run_id }}/falco-event-generator.scap
- name: Run - heaptrack unit tests
shell: bash
Expand All @@ -63,11 +63,11 @@ runs:
shell: bash
run: |
cd build
sudo nice ionice -c 1 -n 0 heaptrack -o heaptrack_scap.data ./libsinsp/examples/sinsp-example -s /run/user/$(id -u)/falco-event-generator.scap
sudo nice ionice -c 1 -n 0 heaptrack -o heaptrack_scap.data ./libsinsp/examples/sinsp-example -s /dev/shm/${{ github.run_id }}/falco-event-generator.scap
- name: Cleanup tmpfs
shell: bash
run: rm /run/user/$(id -u)/falco-event-generator.scap
run: ls /dev/shm/${{ github.run_id }}/

- name: Set Outputs
id: store-outputs
Expand Down

0 comments on commit fc80115

Please sign in to comment.